html, body { margin: 0; overflow: hidden; } .stage { box-sizing: border-box; min-height: 100vh; display: grid; place-items: center; margin: 0; background: #ffffff; font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif; padding: clamp(8px, 4vw, 24px); } .pf { position: relative; width: min(92vw, 160vh - 12.8vw); aspect-ratio: 480/300; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32); background: #17141a; } .pf__fit { position: absolute; left: 0; top: 0; width: 480px; height: 300px; transform-origin: 0 0; background: #17141a; color: #fff7e6; font-size: 11px; line-height: 1.3; } .pf__pad { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 40px 8px 8px; outline: none; } .pf__pad:focus-visible { outline: 3px solid #fff7e6; outline-offset: -3px; } .pf__lane { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 4px; border-radius: 8px; background: rgb(21.7254901961%, 18.8235294118%, 28.1568627451%); box-shadow: inset 0 0 0 2px transparent; } .pf__lane.is-live { box-shadow: inset 0 0 0 2px rgba(255, 247, 230, 0.72); } .pf__tag { display: flex; align-items: center; gap: 4px; margin: 0; height: 16px; font-weight: 700; font-size: 11px; line-height: 16px; white-space: nowrap; } .pf__tag b { display: inline-block; min-width: 16px; border-radius: 4px; background: #fff7e6; color: #17141a; text-align: center; } .pf__tag span { font-family: ui-monospace, "Cascadia Mono", Consolas, "Noto Sans KR", monospace; } .pf__arena { position: relative; width: 100%; height: 140px; overflow: hidden; border-radius: 4px; background: rgb(15.3725490196%, 13.3333333333%, 19.1764705882%); } .pf__box { position: absolute; left: 0; top: 0; display: block; border-radius: 4px; } .pf__c0 { background: #ff9ebb; } .pf__c1 { background: #6ec8ff; } .pf__c2 { background: #4cd4a6; } .pf__c3 { background: #b9a0ff; } .pf__read { margin: 0; height: 14px; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 10px; line-height: 14px; color: #fff7e6; } .pf__read--sub { font-weight: 400; color: rgba(255, 247, 230, 0.78); } .pf__bars { display: grid; gap: 4px; } .pf__bar { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 4px; height: 8px; } .pf__lg { font-size: 9px; line-height: 8px; color: rgba(255, 247, 230, 0.78); white-space: nowrap; overflow: hidden; } .pf__trk { position: relative; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 247, 230, 0.18); } .pf__trk i { display: block; width: 100%; height: 100%; border-radius: 999px; background: #6ec8ff; transform-origin: 0 50%; transform: scaleX(0.02); } .pf__trk--s i { background: #ff9ebb; } .pf__ctrl { position: absolute; right: 8px; top: 8px; display: flex; gap: 8px; } .pf__pause { padding: 0 12px; border: 2px solid #fff7e6; border-radius: 999px; background: #fff7e6; color: #17141a; font-family: inherit; font-weight: 700; font-size: 11px; line-height: 20px; cursor: pointer; box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32); transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); } .pf__pause[aria-pressed=true] { background: #17141a; color: #fff7e6; } .pf__pause:hover { transform: translateY(-2px); } .pf__pause:active { transform: translateY(1px); } .pf__pause:focus-visible { outline: 3px solid #fff7e6; outline-offset: 3px; } .pf__status { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 120px); margin: 0; padding: 0 12px; border-radius: 999px; background: #fff7e6; color: #17141a; font-weight: 700; font-size: 11px; line-height: 24px; white-space: nowrap; overflow: hidden; pointer-events: none; } .pf__done { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .pf__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; align-content: start; } .pf__rt { display: block; height: 4px; border-radius: 4px; background: #b9a0ff; } .pf__rd { display: block; height: 16px; overflow: hidden; border-radius: 4px; background: #6ec8ff; } .pf__cells { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; padding: 4px; } .pf__cell { display: block; flex: 0 0 auto; width: 8px; height: 12px; border-radius: 4px; } .pf__ladder { position: absolute; right: 6px; bottom: 6px; display: flex; align-items: flex-end; gap: 4px; height: 32px; padding: 4px; border-radius: 4px; background: rgba(23, 20, 26, 0.72); } .pf__ladder i { display: block; width: 8px; height: 100%; border-radius: 4px; background: #4cd4a6; transform-origin: 50% 100%; transform: scaleY(0.08); } .pf__ladder i.is-now { background: #fff7e6; } .pf__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; align-content: start; } .pf__card { display: block; height: 14px; border-radius: 4px; background: rgba(255, 247, 230, 0.16); } .pf__in { display: block; width: 20%; height: 8px; margin: 4px 0 0 4px; border-radius: 4px; background: #6ec8ff; } .pf__scroll { position: absolute; inset: 0; overflow: hidden; } .pf__item { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; height: 20px; padding: 4px; box-sizing: border-box; border-bottom: 1px solid rgba(255, 247, 230, 0.12); } .pf__item i { display: block; height: 12px; border-radius: 4px; background: #b9a0ff; } .pf__item i:nth-child(2n) { background: #ff9ebb; } .pf__item i:nth-child(3n) { background: #6ec8ff; } @media (max-width: 340px) { .pf__pause { font-size: 10px; } } @media (prefers-reduced-motion: reduce) { .pf__pause { transition: none !important; } .pf__pause:hover, .pf__pause:active { transform: none !important; } }