.pg-root { position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; user-select: none; } .pg-stage { --pg-accent: #ff9f43; --pg-text: #ffffff; position: absolute; left: 50%; top: 50%; overflow: hidden; background: #000; color: var(--pg-text); font-family: "Segoe UI", system-ui, sans-serif; font-size: var(--pg-font); transform-origin: center; cursor: default; } .pg-stage.pg-game-font { font-family: "pg-game-font", "Segoe UI", system-ui, sans-serif; } .pg-stage.pg-game-name-font .pg-namebox { font-family: "pg-game-name-font", "Segoe UI", system-ui, sans-serif; } .pg-layer { position: absolute; inset: 0; } .pg-transition { pointer-events: none; } .pg-transition > .pg-old { position: absolute; inset: 0; background: #000; } .pg-fill { position: absolute; inset: 0; } .pg-image { position: absolute; will-change: transform, opacity; } .pg-show-text { font-size: calc(var(--pg-font) * 1.5); text-shadow: 0 2px 6px #000; white-space: nowrap; } .pg-hidden { display: none !important; } .pg-textbox { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(10, 12, 24, 0.55), rgba(10, 12, 24, 0.92)); border-top: 2px solid rgba(255, 255, 255, 0.12); } .pg-textbox-image { background-color: transparent; background-size: 100% 100%; border: 0; } .pg-textbox.pg-ui-hidden { opacity: 0; } .pg-namebox { position: absolute; top: 0; transform: translateY(-50%); padding: 0.15em 0.8em; font-size: var(--pg-name-font); font-weight: 600; color: var(--pg-accent); background: rgba(10, 12, 24, 0.85); border-radius: 0.3em; text-shadow: 0 1px 2px #000; } .pg-textbox-image .pg-namebox { background: transparent; } .pg-text { position: absolute; line-height: 1.35; white-space: pre-wrap; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); } .pg-ctc { margin-left: 0.3em; font-size: 0.6em; opacity: 0.7; animation: pg-blink 1s infinite; } @keyframes pg-blink { 50% { opacity: 0.1; } } .pg-quick { position: absolute; bottom: 0.35em; left: 50%; transform: translateX(-50%); display: flex; gap: 0.15em; padding: 0.1em 0.3em; border-radius: 99em; background: rgba(8, 10, 20, 0.45); backdrop-filter: blur(6px); opacity: 0.55; transition: opacity 0.2s; } .pg-quick:hover, .pg-quick:focus-within { opacity: 1; } .pg-quick button { background: none; border: 0; border-radius: 99em; color: rgba(255, 255, 255, 0.8); font: inherit; font-size: calc(var(--pg-font) * 0.55); padding: 0.25em 0.75em; cursor: pointer; transition: background 0.15s, color 0.15s; } .pg-quick button:hover { background: rgba(255, 255, 255, 0.12); color: #fff; } .pg-quick button.pg-on { color: #1a1205; background: var(--pg-accent); } .pg-quick button:focus-visible { outline: 2px solid var(--pg-accent); } .pg-menu { position: absolute; inset: 0 0 26% 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5em; } .pg-choice { min-width: 50%; max-width: 75%; padding: 0.45em 1.2em; font: inherit; color: #fff; background: rgba(15, 18, 35, 0.85); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 0.3em; cursor: pointer; transition: background 0.15s, border-color 0.15s; } .pg-choice:hover { background: rgba(40, 45, 80, 0.95); border-color: var(--pg-accent); } .pg-nvl { position: absolute; inset: 0; padding: 5% 15%; background: rgba(0, 0, 0, 0.72) center / cover; display: flex; flex-direction: column; gap: 0.6em; overflow: hidden; } .pg-nvl-name { font-weight: 600; margin-right: 0.6em; } .pg-nvl-what { white-space: pre-wrap; } .pg-centered { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 15%; white-space: pre-wrap; text-shadow: 0 2px 4px #000; } .pg-notify { position: absolute; top: 2%; left: 2%; padding: 0.4em 1em; font-size: calc(var(--pg-font) * 0.7); background: rgba(0, 0, 0, 0.8); border-left: 4px solid var(--pg-accent); } .pg-screen { position: absolute; inset: 0; background: rgba(8, 10, 20, 0.88) center / cover; backdrop-filter: blur(10px); display: flex; flex-direction: column; padding: 3% 6%; font-size: calc(var(--pg-font) * 0.85); z-index: 10; animation: pg-fade 0.15s ease-out; } @keyframes pg-fade { from { opacity: 0; } } .pg-screen-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4em; } .pg-screen-head h2 { margin: 0 0 0.3em; color: #fff; font-weight: 650; font-size: 1.3em; letter-spacing: -0.01em; } .pg-screen-head h2::before { content: ""; display: inline-block; width: 0.2em; height: 0.9em; margin-right: 0.5em; border-radius: 99em; background: var(--pg-accent); vertical-align: -0.1em; } .pg-screen button, .pg-dialog button, .pg-screen select { font: inherit; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 0.5em; padding: 0.5em 1.1em; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; } .pg-screen button:hover:not(:disabled), .pg-dialog button:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--pg-accent); } .pg-screen button:focus-visible, .pg-dialog button:focus-visible, .pg-screen select:focus-visible, .pg-hud-btn:focus-visible { outline: 3px solid var(--pg-accent); outline-offset: 2px; } .pg-screen button:disabled { opacity: 0.35; cursor: default; } .pg-screen option { color: #111; } .pg-close { background: rgba(255, 255, 255, 0.08) !important; width: 2.2em; height: 2.2em; padding: 0 !important; border-radius: 50% !important; font-size: 1em !important; } .pg-screen-body { flex: 1; overflow: auto; padding: 0.2em; } .pg-menu-list { display: flex; flex-direction: column; gap: 0.5em; max-width: min(24em, 100%); } .pg-menu-list button { text-align: left; padding: 0.7em 1.2em; } .pg-history { display: flex; flex-direction: column; gap: 0.8em; max-height: 100%; overflow: auto; max-width: 52em; } .pg-history-row { padding: 0.5em 0.8em; border-left: 3px solid rgba(255, 255, 255, 0.12); } .pg-history-row b { color: var(--pg-accent); margin-right: 0.6em; } .pg-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(11em, 1fr)); gap: 0.7em; } .pg-slot { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25em; text-align: left; min-height: 6em; } .pg-slot b { color: var(--pg-accent); font-weight: 600; } .pg-slot-title { font-size: 0.85em; opacity: 0.9; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .pg-slot small { opacity: 0.55; font-size: 0.7em; margin-top: auto; } .pg-setting { display: grid; grid-template-columns: minmax(8em, 30%) 1fr 9em; align-items: center; gap: 1em; margin-bottom: 0.8em; } .pg-setting input { width: 100%; accent-color: var(--pg-accent); min-height: 1.6em; } .pg-setting-val { opacity: 0.7; } .pg-wide { margin-top: 0.8em; margin-right: 0.6em; } .pg-screen.pg-main { background-color: #000; justify-content: center; } .pg-main-panel { display: flex; flex-direction: column; gap: 0.55em; width: min(26em, 100%); padding: 2em; background: rgba(8, 10, 20, 0.72); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1em; box-shadow: 0 1em 3em rgba(0, 0, 0, 0.5); } .pg-main-panel h1 { margin: 0 0 0.5em; font-size: 1.6em; color: #fff; letter-spacing: -0.01em; } .pg-main-panel button { text-align: left; padding: 0.7em 1.2em; } .pg-main-panel button:first-of-type { background: var(--pg-accent); border-color: var(--pg-accent); color: #1a1205; font-weight: 650; } .pg-main-panel button:first-of-type:hover { filter: brightness(1.1); } /* menu button outside the scaled stage: stays tappable on phones */ .pg-hud-btn { position: absolute; top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); z-index: 20; width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; line-height: 1; color: #fff; background: rgba(8, 10, 20, 0.55); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; cursor: pointer; opacity: 0; transition: opacity 0.2s, background 0.15s; } .pg-root:hover .pg-hud-btn, .pg-hud-btn:focus-visible { opacity: 0.8; } .pg-hud-btn:hover { opacity: 1 !important; background: rgba(8, 10, 20, 0.85); } .pg-root.pg-in-main .pg-hud-btn { display: none; } @media (pointer: coarse) { .pg-hud-btn { opacity: 0.6; } } /* in-player confirmation */ .pg-dialog-back { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(5, 7, 12, 0.7); backdrop-filter: blur(4px); font-family: "Segoe UI", system-ui, sans-serif; } .pg-dialog { width: min(420px, 100%); padding: 22px; color: #eceef5; background: #171b25; border: 1px solid #2a3042; border-radius: 14px; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55); font-size: 16px; } .pg-dialog p { margin: 0 0 18px; line-height: 1.45; } .pg-dialog-row { display: flex; justify-content: flex-end; gap: 10px; } .pg-dialog button { font-size: 15px; padding: 9px 18px; } .pg-dialog .pg-primary { background: #ff9f43; border-color: #ff9f43; color: #1a1205; font-weight: 650; }