@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root { color-scheme: light; --bg: #f6f7f9; --ink: #171e2b; --muted: #7c8594; --line: #e5e8ee; --blue: #3766e9; }
* { box-sizing: border-box; }
html { touch-action: manipulation; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; }
.app { max-width: 620px; margin: 0 auto; padding: 0 24px 36px; }
.header { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font: 500 10px 'DM Mono', monospace; letter-spacing: .105em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; background: var(--blue); width: 27px; height: 27px; border-radius: 7px; color: #fff; font: 500 20px 'DM Sans', sans-serif; line-height: 1; }
.brand-separator { color: #bcc3ce; padding: 0 4px; }
.header-tag { display: inline-flex; align-items: center; gap: 7px; color: #606b7b; font: 500 9px 'DM Mono', monospace; letter-spacing: .035em; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #33bd89; box-shadow: 0 0 0 3px #def8ec; }
.intro { padding: 36px 0 31px; }
.eyebrow { margin: 0; color: var(--blue); font: 500 10px 'DM Mono', monospace; letter-spacing: .13em; }
h1 { margin: 12px 0 10px; font-size: clamp(35px, 8vw, 48px); letter-spacing: -.065em; line-height: 1.11; font-weight: 800; }
.title-dot { color: var(--blue); }
.subtitle { margin: 0; max-width: 460px; color: #727d8e; font-size: 13px; line-height: 1.65; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 500 10px 'DM Mono', monospace; letter-spacing: .065em; }
.heading-divider { color: #bec6d1; margin: 0 4px; }
.section-note { color: #a0a9b6; font-size: 9px; }
.test-pad { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 302px; overflow: hidden; border: 1px solid #cbd8fc; border-radius: 14px; background-color: #eef3ff; background-image: radial-gradient(#cdd9f4 1px, transparent 1px); background-size: 19px 19px; box-shadow: 0 5px 15px #385b9b0a; cursor: crosshair; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; transition: border-color .16s, background-color .16s; }
.test-pad:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.test-pad.is-active { border-color: var(--blue); background-color: #e6eeff; }
.pad-top, .pad-bottom { display: flex; align-items: center; justify-content: space-between; padding: 19px 20px; color: #667aa8; font: 500 9px 'DM Mono', monospace; letter-spacing: .055em; }
.pad-label { display: inline-flex; align-items: center; gap: 7px; }
.pad-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.pad-coordinates { color: #96a7cc; }
.pad-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; pointer-events: none; }
.target { position: relative; display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 19px; border: 1px solid #cad9fb; border-radius: 50%; background: #e2ebff; box-shadow: inset 0 0 0 9px #eef3ff, 0 0 0 11px #dce7ff90; color: var(--blue); }
.target::before, .target::after { content: ''; position: absolute; background: #bdcef4; }
.target::before { width: 1px; height: 110px; }
.target::after { width: 110px; height: 1px; }
.target-cross { position: absolute; top: -26px; right: -31px; color: #98afe8; font: 18px 'DM Mono', monospace; }
.target-core { display: grid; place-items: center; position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px #567ac226; }
.target-core svg { width: 25px; height: 25px; }
.pad-center strong { font-size: 18px; letter-spacing: -.035em; }
.pad-center > span:last-child { margin-top: 5px; color: #7f90ae; font-size: 11px; }
.pad-bottom { padding-bottom: 17px; }
.pad-arrow { margin-right: auto; padding-left: 6px; font-size: 13px; line-height: 0; }
.test-hint { display: flex; align-items: baseline; gap: 7px; margin: 13px 0 0; color: #86909f; font-size: 11px; line-height: 1.5; }
.test-hint span { color: #6b82c1; font-size: 14px; }
.activity-section { margin-top: 37px; }
.activity-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
h2 { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 23px; letter-spacing: -.045em; line-height: 1.2; }
.count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 6px; border-radius: 6px; background: #e8edfa; color: var(--blue); font: 500 11px 'DM Mono', monospace; letter-spacing: 0; }
.clear-button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 0 4px 9px; border: 0; background: transparent; color: #747f90; font-size: 11px; cursor: pointer; }
.clear-button:hover:not(:disabled) { color: var(--blue); }
.clear-button:focus-visible { outline: 2px solid var(--blue); border-radius: 4px; }
.clear-button:disabled { opacity: .5; cursor: default; }
.clear-button svg { width: 14px; height: 14px; }
.activity-list { display: flex; flex-direction: column; gap: 0; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 137px; border: 1px dashed #d7dde8; border-radius: 0; text-align: center; background: #fafbfc; }
.empty-icon { color: #aab7ce; font-size: 29px; line-height: 1; margin-bottom: 7px; }
.empty-state strong { font-size: 12px; font-weight: 700; }
.empty-state > span:last-child { margin-top: 4px; color: #9ba4b1; font-size: 10px; }
.event-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 7px 13px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: none; animation: appear .18s ease-out; }
.event-row:first-child { border-top: 1px solid var(--line); }
@keyframes appear { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.event-symbol { display: grid; flex: none; place-items: center; width: 35px; height: 35px; border-radius: 8px; background: #eef3ff; color: var(--blue); font-size: 19px; font-weight: 700; }
.event-symbol.drag { background: #f0ecff; color: #795ac8; }
.event-info { flex: 1; min-width: 0; }
.event-name { display: block; font-size: 12px; font-weight: 700; }
.event-detail { display: block; margin-top: 3px; color: #919cac; font: 10px 'DM Mono', monospace; overflow-wrap: anywhere; }
.event-time { flex: none; align-self: flex-start; padding-top: 2px; color: #a1aab8; font: 9px 'DM Mono', monospace; }
footer { margin: 38px 0 0; color: #a1aab7; font: 9px 'DM Mono', monospace; line-height: 1.7; letter-spacing: .015em; text-align: center; }
footer span { margin: 0 4px; }
@media (max-width: 390px) { .app { padding-left: 19px; padding-right: 19px; } .header { height: 68px; } .intro { padding-top: 31px; } .test-pad { height: 280px; } .pad-top, .pad-bottom { padding-left: 15px; padding-right: 15px; } .section-note { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { .event-row { animation: none; } .test-pad { transition: none; } }
