
:root{--bg:#f4f5f7;--card:#fff;--ink:#17191d;--muted:#6f7680;--line:#e4e7eb;--brand:#ff5a36;--brand2:#df4324;--green:#167846;--greenbg:#e9f7ef;--red:#b42318;--shadow:0 16px 44px rgba(20,24,32,.09);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.topbar{height:70px;padding:0 max(18px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.96);backdrop-filter:blur(15px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:8px;color:var(--ink);text-decoration:none;font-size:20px;font-weight:900}.brand span{font-size:27px}.top-actions{display:flex;gap:8px;align-items:center}
.btn,.iconbtn,.vote-btn,.comment-btn,.report-btn,.go-btn,.chip,.tab{border:0;border-radius:10px;font-weight:800}.btn{padding:11px 16px}.primary{background:var(--brand);color:#fff}.primary:hover,.go-btn:hover{background:var(--brand2)}.ghost{background:#fff;border:1px solid var(--line);color:var(--ink)}.danger{color:var(--red)}.full{width:100%}.avatar{width:40px;height:40px;border-radius:50%;border:0;background:#17191d;color:#fff;font-weight:900}
.hero{padding:48px max(18px,calc((100vw - 1180px)/2));background:radial-gradient(circle at 87% 9%,rgba(255,90,54,.18),transparent 29%),linear-gradient(135deg,#15171b,#282d36);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,390px);gap:42px;align-items:center}.kicker{font-size:11px;letter-spacing:.16em;color:var(--brand);font-weight:900}.hero h1{font-size:clamp(42px,5.25vw,64px);line-height:1.01;letter-spacing:-.04em;max-width:760px;margin:10px 0 15px}.hero h1 em{font-style:normal;color:#ff8b71}.hero p{max-width:650px;font-size:16px;line-height:1.58;color:#cbd0d7}.hero-buttons{display:flex;gap:9px;margin-top:24px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}.stats div{min-width:0;min-height:86px;padding:16px 14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.11);border-radius:14px;display:flex;flex-direction:column;justify-content:center}.stats strong,.stats span{display:block}.stats strong{font-size:24px;line-height:1}.stats span{font-size:11px;color:#c3c9d1;margin-top:6px;line-height:1.2}
.shell{width:min(1180px,calc(100% - 36px));margin:auto;padding:26px 0 60px}.toolbar{display:flex;gap:10px}.search{flex:1;height:50px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 14px}.search input{width:100%;border:0;outline:0;background:transparent}.toolbar select{border:1px solid var(--line);background:#fff;border-radius:12px;padding:0 13px}.chips{display:flex;gap:8px;overflow:auto;padding:15px 0}.chip{white-space:nowrap;border:1px solid var(--line);background:#fff;padding:8px 13px}.chip.active{background:#17191d;color:#fff;border-color:#17191d}.canary-strip{display:flex;justify-content:space-between;align-items:center;background:var(--greenbg);border:1px solid #c9e8d5;border-radius:14px;padding:14px 17px;margin-bottom:24px}.canary-strip>div{display:flex;align-items:center;gap:11px}.palm{font-size:28px}.canary-strip small{display:block;color:#53705e;margin-top:3px}.canary-strip label{font-size:12px;font-weight:800}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:13px}.section-head h2{margin:4px 0 0;font-size:27px}.textbtn{border:0;background:transparent;color:var(--muted);font-weight:750}.deals{display:grid;gap:13px}.deal{display:grid;grid-template-columns:185px minmax(0,1fr);background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;min-height:210px;transition:.18s}.deal:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.imgbox{position:relative;background:#eef0f2;min-height:210px}.imgbox img{width:100%;height:100%;object-fit:cover;display:block}.fallback{height:100%;display:grid;place-items:center;font-size:46px}.badge{position:absolute;z-index:2;top:10px;left:10px;background:#fff;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850;box-shadow:0 3px 12px rgba(0,0,0,.08)}.dealbody{padding:17px;display:flex;flex-direction:column;min-width:0}.meta{font-size:11px;color:var(--muted);font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deal h3{font-size:20px;line-height:1.25;margin:7px 0 9px}.prices{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.price{font-size:24px}.old{color:#969ca5}.discount{background:#e9f7ef;color:var(--green);border-radius:7px;padding:4px 7px;font-size:11px;font-weight:900}.desc{color:var(--muted);font-size:13px;line-height:1.5;margin:8px 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.deal-actions{margin-top:auto;display:flex;align-items:center;gap:8px}.vote-box{display:flex;align-items:center;border:1px solid var(--line);background:#f7f8f9;border-radius:10px;overflow:hidden}.vote-btn{background:transparent;padding:8px 9px;color:#6f7680;border-radius:0}.vote-btn:hover{background:#eceef1}.temp{min-width:52px;text-align:center;color:var(--brand);font-weight:900}.comment-btn,.report-btn{background:#f7f8f9;border:1px solid var(--line);padding:9px 10px;color:#5f6670}.report-btn{padding:9px}.go-btn{margin-left:auto;background:var(--brand);color:#fff;padding:11px 14px}.sidecard{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;margin-bottom:13px}.sidecard.dark{background:#17191d;color:#fff;border-color:#17191d}.sidecard h3{margin:6px 0 9px;line-height:1.3}.sidecard p,.sidecard li{font-size:13px;line-height:1.55;color:var(--muted)}.sidecard.dark li{color:#bec4cd}.sidecard ol{padding-left:20px}.empty,.loading{text-align:center;background:#fff;border:1px dashed #cfd3d8;border-radius:15px;padding:45px 20px;color:var(--muted)}.empty-icon{font-size:42px}.empty h3{color:var(--ink);margin-bottom:5px}
footer{width:min(1180px,calc(100% - 36px));margin:auto;padding:28px 0 45px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:12px}
dialog{width:min(680px,calc(100% - 22px));border:0;border-radius:18px;padding:0;box-shadow:0 35px 100px rgba(0,0,0,.3)}dialog::backdrop{background:rgba(9,11,14,.64);backdrop-filter:blur(3px)}.modal{padding:23px}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:17px}.modal-head h2{margin:4px 0}.iconbtn{width:37px;height:37px;border-radius:50%;font-size:22px;background:#f0f1f3}.tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f2f4;border-radius:11px;padding:4px;margin-bottom:15px}.tab{background:transparent;padding:9px}.tab.active{background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.07)}.modal label{display:grid;gap:6px;font-size:12px;font-weight:800;margin-bottom:12px}.modal input,.modal select,.modal textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;outline:0;background:#fff}.modal input:focus,.modal textarea:focus,.modal select:focus{border-color:#f59a83;box-shadow:0 0 0 3px rgba(255,90,54,.09)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.wide{grid-column:span 2}.check{display:flex!important;grid-template-columns:auto 1fr;align-items:center}.check input{width:auto}.message{font-size:12px;color:var(--brand2);min-height:18px}.hint{font-size:11px;color:var(--muted);font-weight:500}.comments-list{display:grid;gap:9px;max-height:390px;overflow:auto;margin:4px 0 14px}.comment{background:#f6f7f8;border-radius:11px;padding:11px}.comment-head{display:flex;justify-content:space-between;gap:10px}.comment b{font-size:12px}.comment time{font-size:10px;color:var(--muted)}.comment p{font-size:13px;line-height:1.48;margin:5px 0 0;white-space:pre-wrap}.comment-form{display:grid;grid-template-columns:1fr auto;gap:8px}.profile-card{display:flex;align-items:center;gap:12px;padding:14px;background:#f6f7f8;border-radius:13px;margin-bottom:14px}.profile-big{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#17191d;color:#fff;font-size:20px;font-weight:900}.profile-card strong,.profile-card span{display:block}.profile-card span{font-size:12px;color:var(--muted);margin-top:2px}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0 16px}.profile-stats div{background:#f6f7f8;border-radius:12px;padding:13px}.profile-stats strong,.profile-stats span{display:block}.profile-stats strong{font-size:22px}.profile-stats span{font-size:10px;color:var(--muted);margin-top:2px}.my-deals{display:grid;gap:7px;max-height:220px;overflow:auto}.mydeal{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--line);border-radius:10px}.mydeal span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mydeal button{border:0;background:#fff;color:var(--red);font-weight:800;font-size:11px}.upload-preview{width:100%;max-height:190px;object-fit:cover;border-radius:10px;border:1px solid var(--line);margin-top:6px}.report-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.report-option{border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff;text-align:left}.report-option.active{border-color:var(--brand);background:#fff5f2}.toast{position:fixed;right:20px;bottom:20px;background:#17191d;color:#fff;border-radius:11px;padding:12px 15px;font-size:13px;box-shadow:var(--shadow);z-index:50;max-width:330px}
@media(max-width:900px){.hero{grid-template-columns:1fr}.stats{width:max-content}.layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.sidecard{margin:0}}
@media(max-width:680px){.topbar{height:63px}.brand{font-size:16px}.brand span{font-size:23px}.top-actions>.ghost{display:none}.hero{padding-top:44px;padding-bottom:44px}.hero p{font-size:15px}.stats{width:100%}.stats div{min-width:0;padding:13px 9px}.stats strong{font-size:17px}.toolbar{display:grid}.toolbar select{height:46px}.deal{grid-template-columns:1fr}.imgbox{height:190px;min-height:190px}.sidebar{grid-template-columns:1fr}.deal-actions{flex-wrap:wrap}.go-btn{flex:1;text-align:center}.form-grid{grid-template-columns:1fr}.wide{grid-column:span 1}.comment-form{grid-template-columns:1fr}.profile-stats{grid-template-columns:repeat(3,1fr)}footer{flex-direction:column;gap:7px}}

.favorite-btn,.detail-btn,.bell{background:#f7f8f9;border:1px solid var(--line);padding:9px 10px;color:#5f6670;border-radius:10px;font-weight:800}
.favorite-btn.on{color:#d92d20;background:#fff1f0;border-color:#fecaca}
.level-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#fff3ef;color:#b9381b;font-size:11px;font-weight:900}
.alert-list{display:grid;gap:8px;max-height:280px;overflow:auto;margin-top:12px}
.alert-item{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px}
.alert-item small{display:block;color:var(--muted);margin-top:3px}
.alert-item button{border:0;background:#fff;color:var(--red);font-weight:800}
.detail-grid{display:grid;grid-template-columns:220px 1fr;gap:18px}
.detail-image{width:100%;height:220px;object-fit:cover;border-radius:12px;background:#eef0f2}
.detail-price{font-size:30px;font-weight:900}
.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.share-link{font-size:12px;color:var(--muted);word-break:break-all}
.notification-dot{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--brand);color:#fff;font-size:10px;font-weight:900;margin-left:4px}
@media(max-width:680px){.detail-grid{grid-template-columns:1fr}.detail-image{height:190px}}

@media(max-width:980px){.hero{grid-template-columns:1fr;padding-top:42px;padding-bottom:42px}.stats{max-width:620px}.hero h1{max-width:820px}}
.favorite-filter{border-color:#ffd7cf;background:#fff7f5}
.favorite-filter.active{background:#d92d20!important;border-color:#d92d20!important;color:#fff!important}
.alert-item em{display:block;font-style:normal;font-size:10px;color:var(--muted);margin-top:4px;line-height:1.35}
