:root { --rally: #e8590c; }
.app-header h1 { color: var(--rally); }
.rally-btn { background: var(--rally); border-color: var(--rally); color: #fff; }
.rally-intro h2 { font-size: 1.3rem; }
.goal { background: color-mix(in srgb, var(--rally) 12%, var(--surface)); border-radius: 10px; padding: 8px 10px; }
.progress { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
.progress > div { height: 100%; background: var(--rally); transition: width .4s; }
.count { font-size: 1.6rem; }
.stamp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.stamp { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: .85rem; }
.stamp .ink { width: 74px; height: 74px; border-radius: 50%; border: 3px dashed var(--border); display: grid; place-items: center; font-size: 1.5rem; color: var(--muted); }
.stamp.got .ink { border: 4px solid var(--rally); color: var(--rally); font-size: 2.6rem; transform: rotate(-12deg); }
.stamp.just .ink { animation: stamp-in .35s ease-out; }
.stamp .hint { color: var(--muted); font-size: .72rem; }
@keyframes stamp-in { from { transform: scale(1.8) rotate(-40deg); opacity: 0; } }
.cp-list { padding-left: 1.4em; margin: 0; }
.cp-list li { display: flex; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.cp-list li.empty { display: block; }

/* 達成画面: 背景が流れ、時計が動く（スクリーンショットとの見分け用） */
.complete { text-align: center; color: #fff; border-radius: 22px; padding: 28px 16px; margin-bottom: 14px; background: linear-gradient(120deg, var(--rally), #7950f2, var(--rally), #12b886); background-size: 300% 300%; animation: flow 4s linear infinite; text-shadow: 0 1px 3px rgb(0 0 0 / 30%); }
.complete h2 { font-size: 2.6rem; margin: 0; letter-spacing: .05em; }
.complete-badge { font-size: 4.5rem; margin: 0; animation: bounce 1.2s ease-in-out infinite; }
.complete-title { font-weight: 700; font-size: 1.2rem; }
.live-clock { font-size: 2.4rem; font-weight: 800; font-variant-numeric: tabular-nums; margin: 8px 0; }
.complete .goal { background: rgb(255 255 255 / 20%); color: #fff; }
.staff { opacity: .9; }
@keyframes flow { to { background-position: 300% 0; } }
@keyframes bounce { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .complete, .complete-badge { animation-duration: 8s; } }
.lang-row { display: flex; justify-content: flex-end; margin: -4px 0 4px; }
