:root{color-scheme:light;--red:#ec1b25;--pressed:#c80d18;--ink:#201c20;--muted:#64616a;--edge:#e6e3e6;--surface:#fff;--pale:#fcf9fa;--wash:#fff1f1;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;min-height:100%;min-width:0}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.65}
button:focus-visible,input:focus-visible{outline:3px solid #f79095;outline-offset:3px}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block}
.symbols{position:absolute;width:0;height:0}
.gate{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 0%,#fff0f1 0%,transparent 60%),#f9f7f7}
.login{width:min(100%,464px);padding:42px;background:#fff;border:1px solid #f0e5e6;border-top:4px solid var(--red);border-radius:24px;box-shadow:0 22px 65px #41111814}
.brand{text-align:center;margin:0 0 35px}
.brand img{display:block;width:100%;max-width:310px;margin:auto;background:#000;padding:11px 9px;border-radius:12px}
.brand h1{font-size:clamp(24px,6vw,32px);letter-spacing:-.055em;line-height:1.1;margin:18px 0 0;font-weight:850}
.brand span,.logo-button b{color:var(--red)}
label:not(.searchbox){display:block;font-size:.92rem;font-weight:650;margin-bottom:18px}
label small{font-size:.8em;color:var(--muted);font-weight:500;margin-left:4px}
label:not(.searchbox) input{width:100%;height:52px;margin-top:8px;padding:0 14px;border:1px solid var(--edge);border-radius:12px;color:var(--ink);background:white;font-size:1rem;font-weight:450}
.password{display:block;position:relative}
.password input{padding-right:52px!important}
.password button{position:absolute;bottom:4px;right:5px;color:var(--muted)}
.primary{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:47px;padding:0 17px;border:0;border-radius:11px;background:var(--red);color:#fff;font-weight:700;text-align:center}
.primary:hover{background:var(--pressed)}
.login-button,.full{width:100%;min-height:54px;margin-top:8px}
.icon-button{border:0;background:transparent;color:var(--ink);width:44px;height:44px;border-radius:11px;display:inline-grid;place-items:center;flex:none}
.icon-button:hover{background:var(--wash)}
.message{margin:14px 0 0;color:#a0121d;font-size:.9rem;overflow-wrap:anywhere}
.message.ok{color:#1d6945}
header{border-bottom:1px solid #f2eeee;background:#fff}
.header-inner{max-width:1080px;height:68px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:0 24px}
.logo-button{display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;font-size:15px;font-weight:850;letter-spacing:-.03em;color:var(--ink)}
.logo-button img,.drawer-head img{width:34px;height:34px;object-fit:contain;background:#000;border-radius:8px;padding:4px}
.menu-button{color:var(--red);background:var(--wash)}
main{max-width:960px;margin:0 auto;padding:30px 24px 48px}
.searchbox{display:flex;align-items:center;gap:13px;border:1px solid #dedde0;border-radius:15px;padding:0 17px;min-height:61px;color:#6b6c76;background:#fff}
.searchbox:focus-within{border-color:var(--red);box-shadow:0 0 0 3px var(--wash)}
.searchbox input{min-width:0;width:100%;border:0;outline:0;min-height:58px;background:transparent;color:var(--ink)}
.searchbox input:focus-visible{outline:0}
.searchbox input::placeholder{color:#6d6d77;opacity:1}
.results,.users{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:15px;margin-top:20px}
.result,.user-card{appearance:none;background:#fff;border:1px solid var(--edge);color:var(--ink);border-radius:15px;text-align:left;overflow:hidden;padding:0}
.result:hover,.user-card:hover{border-color:#e88890;box-shadow:0 6px 18px #58111b0e}
.thumb,.photo-stage{aspect-ratio:1;background:#f8f6f7;display:grid;place-items:center;position:relative;overflow:hidden}
.thumb img,.photo-stage img{display:block;width:64%;border-radius:7px;background:#000}
.thumb img.real,.photo-stage img.real{width:100%;height:100%;object-fit:cover;border-radius:0}
.result-meta{display:flex;flex-direction:column;gap:4px;padding:13px 14px}
.result-meta strong,.user-card strong{overflow-wrap:anywhere}
.result-meta span,.product-price{color:#b9111b;font-weight:800;font-variant-numeric:tabular-nums}
.product-price{font-size:1.4rem;margin:17px 0 0}
.photo-stage{border-radius:14px}
.photo-button{position:absolute;top:11px;right:11px;background:var(--red);color:white}
.photo-button svg{width:15px;height:15px}
.photo-button:hover{background:var(--pressed)}
dialog{color:var(--ink);background:#fff;border:1px solid var(--edge);padding:0}
dialog::backdrop{background:#20121a66}
.drawer{height:100dvh;max-height:100dvh;width:min(330px,91vw);max-width:100%;margin:0 0 0 auto;inset:0 0 0 auto;padding:21px}
.drawer[open]{display:flex;flex-direction:column}
.drawer-head,.dialog-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.drawer-head img{width:130px;height:auto;padding:6px}
nav{margin-top:24px;display:grid;gap:6px}
nav button,.signout{display:flex;align-items:center;gap:13px;text-align:left;min-height:49px;padding:0 12px;border:0;border-radius:10px;background:white;color:var(--ink);font-weight:670}
nav button[aria-current],nav button:hover,.signout:hover{background:var(--wash);color:#b9111b}
.signout{margin-top:auto}
.modal{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border-radius:19px;padding:22px;box-shadow:0 18px 70px #24141938}
.dialog-head{margin-bottom:17px}
.dialog-head h2{font-size:1.3rem;margin:0;overflow-wrap:anywhere}
main h1{font-size:1.8rem;letter-spacing:-.04em;margin:0 0 19px}
.section-head{margin-bottom:18px}
.section-head h1{margin:0}
.panel{border:1px solid var(--edge);border-radius:15px;background:white;padding:18px}
.list-panel{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.list-icon{width:46px;height:46px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--wash);color:var(--red)}
.list-info{display:grid;gap:4px;flex:1;min-width:160px;overflow-wrap:anywhere}
.list-info span,.user-card span{font-size:.9rem;color:var(--muted)}
.users{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.user-card{padding:16px;display:grid;gap:4px}
.user-card span{overflow-wrap:anywhere}
@media(max-width:560px){
.gate{padding:18px}.login{padding:30px 23px;border-radius:19px}.header-inner{padding:0 16px;height:60px}
main{padding:20px 16px 35px}.searchbox{min-height:55px;padding:0 13px}.searchbox input{min-height:53px}
.results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.result-meta{padding:10px}
.list-panel>.primary{width:100%}
}
.brand img{width:124px;max-width:42%;background:transparent;padding:0;border-radius:0}
.logo-button img{background:white;padding:0}
.drawer-head img{width:46px;background:white;padding:5px}
.thumb img,.photo-stage img{width:39%;background:transparent;border-radius:0}

#profile-form{max-width:480px}

#query::-webkit-search-cancel-button{display:none}
#clear-query{color:var(--muted);margin-right:-8px}
