:root{color-scheme:dark;--bg:#0b1020;--panel:#141c30;--panel2:#1b2740;--text:#eef3ff;--muted:#9eabc4;--accent:#8db6ff;--green:#69d6a2;--line:#2b3852}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#1d3155 0,transparent 55%),var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}
.wrap{width:min(850px,calc(100% - 32px));margin:54px auto 30px}header{margin-bottom:28px}.eyebrow{font-size:.72rem;letter-spacing:.14em;color:var(--accent);font-weight:700}h1{font-size:clamp(2rem,6vw,3.3rem);line-height:1.1;margin:10px 0}h1 span{color:var(--accent)}.intro,.subtle,.footnote{color:var(--muted)}.intro{max-width:620px;margin:12px 0}
.search{display:flex;gap:10px}.search input{flex:1;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:15px 16px;color:var(--text);font:inherit;outline:none}.search input:focus{border-color:var(--accent)}button{border:0;border-radius:12px;padding:0 23px;background:var(--accent);color:#091326;font-weight:800;font:inherit;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.status{min-height:28px;padding:8px 2px;color:var(--muted)}.error{color:#ff9e9e}
.matches,.result{background:rgba(20,28,48,.88);border:1px solid var(--line);border-radius:18px;padding:22px;margin-top:18px}.hidden{display:none}h2{font-size:1.2rem;margin:0 0 14px}.match{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line)}.match:first-child{border-top:0}.match-name{font-weight:650}.match-meta{font-size:.82rem;color:var(--muted)}.match button{padding:9px 14px;white-space:nowrap}
.product-head,.history-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.product-head h2{margin:5px 0 0}.product-head a{color:var(--accent);font-size:.9rem;text-decoration:none}.price-card{margin:22px 0;padding:22px;background:linear-gradient(130deg,#1d3150,#17243b);border:1px solid #344766;border-radius:15px}.current-price{font-size:clamp(2.5rem,8vw,4rem);font-weight:800;color:var(--green);letter-spacing:-.04em;margin:4px 0}.history-head{margin:28px 0 10px}.history-head h2{margin:0}.history-head p{margin:3px 0}
.chart{height:235px;display:flex;align-items:end;gap:8px;padding:20px 8px 4px;border-bottom:1px solid var(--line);overflow-x:auto}.bar-group{height:100%;min-width:42px;flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:7px}.bar-value{font-size:.72rem;color:var(--muted);white-space:nowrap}.bar{width:min(34px,80%);min-height:3px;background:linear-gradient(180deg,#9fc2ff,#4d7fcb);border-radius:7px 7px 2px 2px}.bar-year{font-size:.76rem;color:var(--muted)}
.table-wrap{overflow-x:auto;margin-top:18px}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:12px 10px;border-bottom:1px solid var(--line)}th{font-size:.78rem;color:var(--muted);font-weight:600}td:nth-child(2){font-weight:700;color:var(--green)}.footnote{font-size:.78rem;margin:13px 0 0}footer{margin:25px 0;color:#77849e;font-size:.78rem;text-align:center}
@media(max-width:560px){.wrap{margin-top:30px}.search{flex-direction:column}.search button{padding:13px}.matches,.result{padding:16px}.product-head{align-items:flex-start;flex-direction:column}.match{align-items:flex-start;flex-direction:column}.match button{width:100%}.chart{gap:4px}}
