:root{font-family:Arial,Apple SD Gothic Neo,sans-serif;background:#141516;color:#f3eee8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #a55c2a;background:#b7652d;color:#fff;border-radius:9px;padding:10px 15px;font-weight:700}button:disabled{opacity:.55;cursor:default}a{color:inherit;text-decoration:none}.wrap{max-width:1240px;margin:auto;padding:0 20px}header{background:#1d1e20;border-bottom:1px solid #393432}.head{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:10px}.logo{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:900}.logo img{height:42px;width:42px;object-fit:contain}.logo span{font-size:11px;color:#e79b57;letter-spacing:1px}.ghost{background:#292a2c;border:1px solid #56504c;color:#eee}.danger{background:#552826;border-color:#8a413d}.hero{padding:42px 0 28px}.eyebrow{color:#e59b58;letter-spacing:2px;font-size:12px;font-weight:800}.hero h1{font-size:38px;margin:12px 0}.hero p,.muted{color:#a9a29d;line-height:1.6}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:10px 0 20px}.toolbar input{width:min(100%,380px)}input,textarea,select{background:#252628;color:#f8f2ed;border:1px solid #49433e;border-radius:9px;padding:11px;width:100%}.count{color:#b7aba0;margin:20px 0 12px}.category-group{margin:24px 0 34px}.category-title{border-bottom:1px solid #504036;padding-bottom:12px;color:#f0a96a;font-size:20px}.category-title small{font-size:13px;color:#a9a29d}.empty-category{color:#88817b;font-size:13px;margin:12px 0 25px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.item,.panel{background:#202123;border:1px solid #4b3d33;border-radius:15px;padding:18px}.item{display:flex;flex-direction:column;gap:12px}.item-top{display:flex;gap:13px;align-items:center}.photo{width:84px;height:84px;flex-shrink:0;background:#303034;border:1px solid #9d622e;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#aaa;font-size:12px}.photo img{width:100%;height:100%;object-fit:contain}.item h3{margin:7px 0;font-size:18px;overflow-wrap:anywhere}.meta{font-size:12px;color:#a7a1a0}.stars{color:#f9b94d;font-weight:800}.stat-row{display:grid;grid-template-columns:85px 1fr;gap:9px;padding:8px 0;border-bottom:1px solid #363638;font-size:13px}.stat-row strong{color:#d9a06d;font-weight:700}.stat-row span{white-space:pre-line;overflow-wrap:anywhere}.price{font-size:18px;font-weight:800}.status{font-size:12px;color:#bfb6ac}.on{color:#82d9a0}.item-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.contact{display:inline-block;border:1px solid #b7652d;color:#f3a56b;border-radius:8px;padding:9px 11px;font-weight:700;font-size:13px}.desc{white-space:pre-wrap;color:#b6aca5;font-size:13px}.empty{color:#aaa;padding:35px 0}.panel{margin:20px 0}.panel h2{margin-top:0}.panel label{display:block;font-size:13px;font-weight:700;margin:12px 0}.panel input,.panel select,.panel textarea{display:block;margin-top:7px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.actions{display:flex;gap:8px;flex-wrap:wrap}.message{color:#f6a474;white-space:pre-wrap}.manage-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #444;padding:12px 0}.manage-row small{display:block;color:#aaa;margin-top:5px}.manage-row button{margin:3px}.category-admin{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.category-admin input{max-width:280px}.category-chip{display:inline-block;border:1px solid #594434;border-radius:8px;padding:7px 9px;background:#292522;margin:3px}.category-chip button{padding:2px 7px;margin-left:7px}.option-section{border:1px solid #493b31;background:#1b1c1e;padding:15px;border-radius:12px;margin:18px 0}.option-section h3{margin:0 0 10px;color:#efad72}.option-section .muted{font-size:12px;margin:0 0 12px}.option-grid{display:grid;gap:9px}.option-line{display:grid;grid-template-columns:minmax(130px,1fr) minmax(125px,1fr);gap:8px;align-items:center}.option-line select,.option-line input{margin:0}.option-line .custom-stat:not([hidden]){grid-column:1/-1}.option-line .custom-stat[hidden]{display:none}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#000d;z-index:20;display:flex;align-items:center;justify-content:center;padding:20px}.modal-content{max-width:900px;max-height:90vh;overflow:auto;background:#252525;padding:16px;border-radius:12px}.modal-content img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}.modal-content button{margin-bottom:10px}.loading{position:fixed;top:0;right:0;bottom:0;left:0;background:#141516dd;display:flex;align-items:center;justify-content:center;z-index:30}.loading img{width:72px;height:72px;object-fit:contain}.loading span{display:block;color:#c4aa93;font-size:12px;margin-top:12px;text-align:center}footer{text-align:center;color:#7e7872;font-size:12px;padding:50px 12px}@media(max-width:950px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.grid,.fields,.option-line{grid-template-columns:1fr}.hero h1{font-size:29px}.logo{font-size:15px}.wrap{padding:0 12px}.item{padding:13px}.stat-row{grid-template-columns:75px 1fr}.head{gap:5px}.head button{padding:8px}}.market-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;align-items:start;margin:8px 0 30px}.market-sidebar{position:sticky;top:20px;background:#202123;border:1px solid #4b3d33;border-radius:14px;padding:14px;max-height:calc(100vh - 40px);overflow-y:auto}.market-sidebar h2{font-size:16px;color:#e7a26a;margin:4px 8px 14px}.category-nav{display:flex;flex-direction:column;gap:5px}.category-nav-button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px;width:100%;padding:11px 10px;background:transparent;border:1px solid transparent;color:#d4cbc4;font-weight:600;font-size:13px;overflow-wrap:anywhere}.category-nav-button:hover{background:#302a26;border-color:#5e4939}.category-nav-button.active{background:#543521;border-color:#c77c3d;color:#ffbc7c}.category-nav-button small{color:#9d9289;font-size:12px;flex-shrink:0}.category-nav-button.active small{color:#f4b47b}.market-content{min-width:0}.market-content .toolbar{margin:0 0 18px}.market-content .toolbar input{width:100%;max-width:460px}.market-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #504036;margin:0 0 18px;padding-bottom:12px}.market-results-heading h2{color:#f0a96a;font-size:20px;margin:0}.market-results-heading span{color:#a9a29d;font-size:13px}.market-empty{border:1px dashed #51463e;border-radius:12px;padding:42px 20px;text-align:center;color:#a9a29d}.price-field{grid-column:1/-1;margin:10px 0}.price-field h3{font-size:15px;margin:0 0 10px;color:#f0a96a}.price-editor{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:12px}.price-unit label{margin:0;font-size:13px;color:#d5c8bc}.price-unit input{margin-top:6px}.price-hint{font-size:12px;margin:8px 0 0}.price-hint strong{display:inline-block;color:#f0a96a;margin-left:7px;font-size:14px}.price{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#f2b47c}@media(max-width:850px){.market-layout{grid-template-columns:180px minmax(0,1fr);gap:14px}.market-sidebar{padding:10px}}@media(max-width:620px){.market-layout{display:block}.market-sidebar{position:static;max-height:none;margin-bottom:18px;padding:12px}.market-sidebar h2{margin-bottom:8px}.category-nav{flex-direction:row;overflow-x:auto;gap:8px;padding-bottom:5px;scrollbar-width:thin}.category-nav-button{width:auto;min-width:max-content;white-space:nowrap}.price-editor{grid-template-columns:1fr 1fr}.price-unit:last-child{grid-column:1/-1}.market-results-heading h2{font-size:18px}}
