*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}:root{--bg: #0a0a0a;--surface: #151515;--accent: #f59e0b;--accent2: #06b6d4;--text: #f1f1f1;--text-muted: #888;--green: #22c55e;--red: #ef4444;--radius: 10px}html{font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent}body{min-height:100dvh;display:flex;justify-content:center}#app{width:100%;max-width:520px;padding:0 16px 40px}header{text-align:center;padding:16px 0 8px}header h1{font-size:1.3rem;font-weight:900;letter-spacing:.02em}header h1 .accent{color:var(--accent)}header p{color:var(--text-muted);font-size:.75rem;margin-top:4px}.about-section{background:var(--surface);border-radius:var(--radius);margin:12px 0;overflow:hidden}.about-section summary{padding:12px 16px;font-size:.85rem;font-weight:700;cursor:pointer;color:var(--accent)}.about-content{padding:0 16px 16px;font-size:.78rem;color:var(--text-muted);line-height:1.7}.about-content strong{color:var(--text)}.about-content a{color:var(--accent);text-decoration:none}.about-content ul{padding-left:18px;margin:8px 0}.about-content li{margin-bottom:4px}.about-disclaimer{margin-top:10px;font-size:.7rem;color:#555;font-style:italic}.status-bar{display:flex;align-items:center;justify-content:space-between;background:var(--surface);border-radius:var(--radius);padding:10px 14px;margin:12px 0;font-size:.75rem}.status-bar .dot{width:8px;height:8px;border-radius:50%;background:var(--green);display:inline-block;margin-right:6px}.status-bar .dot.off{background:var(--red)}.status-bar button{padding:4px 12px;border:1px solid #333;border-radius:6px;background:transparent;color:var(--text-muted);font-size:.7rem;cursor:pointer}.status-bar button:hover{border-color:var(--accent)}.tabs{display:flex;gap:4px;margin:12px 0}.tab-btn{flex:1;padding:10px;border:1px solid #333;border-radius:var(--radius);background:transparent;color:var(--text-muted);font-size:.8rem;font-weight:600;cursor:pointer}.tab-btn.active{background:var(--accent);border-color:var(--accent);color:#000}.listings{display:flex;flex-direction:column;gap:10px}.listing-card{display:flex;gap:12px;background:var(--surface);border-radius:var(--radius);padding:12px;text-decoration:none;color:var(--text);transition:background .15s}.listing-card:hover{background:#1c1c1c}.listing-card img{width:72px;height:72px;border-radius:8px;object-fit:cover;flex-shrink:0}.listing-info{flex:1;overflow:hidden}.listing-name{font-size:.85rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listing-details{font-size:.72rem;color:var(--text-muted);margin-top:4px;line-height:1.5}.listing-price{font-size:1rem;font-weight:800;color:var(--accent);margin-top:6px}.listing-price .price-jpy{font-size:.75rem;font-weight:600;color:var(--text-muted);margin-left:4px}.listing-price .drop{font-size:.7rem;color:var(--green);margin-left:6px}.event-item{display:flex;gap:10px;background:var(--surface);border-radius:var(--radius);padding:12px;margin-bottom:8px}.event-badge{font-size:.6rem;font-weight:700;padding:2px 8px;border-radius:4px;text-transform:uppercase;flex-shrink:0;height:fit-content}.event-badge.listing{background:var(--accent2);color:#000}.event-badge.price_drop{background:var(--green);color:#000}.event-info{flex:1}.event-title{font-size:.82rem;font-weight:600}.event-sub{font-size:.7rem;color:var(--text-muted);margin-top:2px}.event-time{font-size:.65rem;color:#555;margin-top:4px}.status{text-align:center;padding:40px 20px;color:var(--text-muted)}.spinner{width:32px;height:32px;border:3px solid #333;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 16px}@keyframes spin{to{transform:rotate(360deg)}}footer{text-align:center;padding:24px 0;color:var(--text-muted);font-size:.7rem}footer a{color:var(--accent);text-decoration:none}.notify-banner{background:var(--surface);border:1px solid var(--accent);border-radius:var(--radius);padding:14px 16px;margin:12px 0;text-align:center}.notify-banner p{font-size:.8rem;color:var(--text-muted);margin-bottom:10px}.notify-banner button{padding:10px 24px;border:none;border-radius:var(--radius);background:var(--accent);color:#000;font-weight:700;font-size:.85rem;cursor:pointer}
