@font-face{font-family:"TikTok Sans";src:url("fonts/TikTokSans-Variable.woff2") format("woff2");font-weight:300 900;font-display:swap}
:root{--ink:#141414;--muted:#767676;--line:#ededed;--pink:#f72650;--pink-dark:#bd1644;--edge:15px}
*{box-sizing:border-box}body{margin:0;background:#f5f5f5;color:var(--ink);font:14px/1.3 "TikTok Sans",system-ui,sans-serif}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible{outline:2px solid #b81746;outline-offset:2px}[hidden]{display:none!important}
svg{width:22px;height:22px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:none}.sprite{position:absolute;width:0;height:0}.star{color:#fab90b}
.app{max-width:520px;min-height:100vh;margin:auto;background:white;padding-bottom:69px}
.top{height:58px;position:sticky;top:0;z-index:4;background:white;display:grid;grid-template-columns:40px minmax(0,1fr) 40px 40px;align-items:center;padding-inline:5px}
.top h1{display:flex;align-items:center;justify-content:center;gap:4px;margin:0;font-size:clamp(12px,3.75vw,16px);white-space:nowrap;font-weight:650}
.top h1 .star{width:17px;height:17px}
.icon-button{display:inline-grid;place-items:center;min-width:40px;min-height:42px;padding:0;border:0;background:transparent}
.filters{position:sticky;top:58px;z-index:3;background:white;padding:7px 8px 8px 14px;display:flex;align-items:end;gap:4px}
.chips{display:flex;flex-wrap:wrap;gap:6px;min-width:0;flex:1}
.chips button{display:flex;align-items:center;gap:4px;min-height:27px;border:1px solid transparent;border-radius:16px;padding:3px 7px;background:#f1f1f1;font-size:11px;white-space:nowrap}
.chips button[aria-pressed=true]{background:#fff0f3;border-color:#ed6b8d;color:#a71941}
.chips small{font-size:inherit;color:#666}.chips svg{width:15px;height:15px}.expand{border:0;border-radius:50%;padding:0;min-width:22px;min-height:22px;background:#f6f6f6}
.expand svg{width:12px;height:12px;transform:rotate(-90deg)}.collapsed .expand svg{transform:rotate(90deg)}
.collapsed .chips{flex-wrap:nowrap;overflow:auto;scrollbar-width:none}
main{padding:7px var(--edge) 12px}
.sort-row{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#737373;font-size:10px;margin:0 0 7px}
.sort-row span svg{width:10px;height:10px}.sort-row button{font-size:11px;min-height:28px;border:0;background:white;padding:0;color:#222}
.review{padding:9px 0 11px;border-bottom:1px solid var(--line)}
.author{display:flex;align-items:center;gap:6px}.avatar{width:24px;height:24px;color:#d3d3d3}
.author p{margin:0;font-size:12px;font-weight:650}.review-rating{display:flex;align-items:center;gap:2px}.review-rating svg{width:13px;height:13px}.review-variant{font-size:11px;color:#777;margin-left:4px}
.review-text{margin:6px 0;white-space:pre-line;line-height:1.3;font-size:14px}.review-details{margin:-2px 0 6px;color:#555;font-size:12px}
.more{border:0;background:none;font-weight:700;padding:0}
.photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.photo{display:block;position:relative;aspect-ratio:1;border:0;border-radius:8px;overflow:hidden;background:#f1f1f1;padding:0}
.photo img{display:block;width:100%;height:100%;object-fit:cover}
.media-badge{position:absolute;left:5px;top:5px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#0006;color:white;font-size:11px}
.review-foot{display:flex;align-items:center;gap:15px;min-height:25px;margin-top:8px;color:#737373;font-size:11px}
.review-foot time{margin-right:auto}.review-foot button{display:flex;align-items:center;gap:3px;padding:2px;border:0;background:white;color:#666;font-size:11px;min-height:25px}.review-foot button[aria-pressed=true]{color:var(--pink-dark)}
.review-foot svg{width:18px;height:18px}.source-note,.empty{color:#666;font-size:12px;padding:8px 0}
.purchase{position:fixed;z-index:5;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,520px);display:flex;gap:7px;align-items:center;background:white;border-top:1px solid var(--line);padding:8px 8px max(8px,env(safe-area-inset-bottom))}
.shortcut{display:grid;justify-items:center;gap:2px;border:0;background:white;min-width:30px;font-size:10px;padding:0}.shortcut svg{width:22px;height:22px}
.add,.buy{min-height:43px;border:0;border-radius:26px}.add{width:55px;background:#fff0f3;color:#ba1644}.buy{flex:1;background:var(--pink);color:white;display:grid;place-content:center;text-align:center;line-height:1.16;padding:4px 9px}
.buy strong{font-size:16px;letter-spacing:.2px}.buy small{font-size:12px;font-variant-numeric:tabular-nums}
.scroll-top{position:fixed;bottom:75px;right:max(12px, calc((100vw - 500px)/2));z-index:3;border:1px solid #eee;background:white;border-radius:50%;box-shadow:0 2px 5px #0001;width:34px;height:34px;font-size:19px}
dialog{width:min(100%,505px);max-height:86dvh;max-width:none;border:0;border-radius:12px;padding:9px 13px;color:var(--ink)}dialog::backdrop{background:#0009}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head svg{width:17px;height:17px}
#dialogBody img{display:block;max-width:100%;max-height:62dvh;margin:auto;border-radius:6px}#dialogBody .sort-option{display:block;width:100%;text-align:left;border:0;background:white;padding:10px;border-top:1px solid var(--line)}
.gallery-controls{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.gallery-controls button{border:0;background:#f4f4f4;border-radius:7px;padding:6px 12px}
@media(max-width:355px){:root{--edge:10px}.top{grid-template-columns:32px minmax(0,1fr) 32px 32px}.top .icon-button{min-width:32px}.top h1{font-size:12px}}
