@font-face{font-family:'Inter Tight';font-weight:100 900;src:url(/fonts/kh-inter-tight-cyrillic.woff2);unicode-range:U+0400-04FF,U+2116,U+20B4}
@font-face{font-family:'Inter Tight';font-weight:100 900;src:url(/fonts/kh-inter-tight-latin.woff2);unicode-range:U+0000-00FF,U+2000-206F}
:root{
  --ink:#111111;--bone:#F4F4F2;--steel:#8C8C8E;--concrete:#C5C5C5;--mint:#DFF5DF;--white:#FFFFFF;
  --text-2:#444444;--text-3:#6A6A6A;--outline:#D6D6D6;
  --ease-out:cubic-bezier(0.23,1,0.32,1);
  --pxb:polygon(0 8px,4px 8px,4px 4px,8px 4px,8px 0,calc(100% - 8px) 0,calc(100% - 8px) 4px,calc(100% - 4px) 4px,calc(100% - 4px) 8px,100% 8px,100% calc(100% - 8px),calc(100% - 4px) calc(100% - 8px),calc(100% - 4px) calc(100% - 4px),calc(100% - 8px) calc(100% - 4px),calc(100% - 8px) 100%,8px 100%,8px calc(100% - 4px),4px calc(100% - 4px),4px calc(100% - 8px),0 calc(100% - 8px));
  --pxt:polygon(0 4px,2px 4px,2px 2px,4px 2px,4px 0,calc(100% - 4px) 0,calc(100% - 4px) 2px,calc(100% - 2px) 2px,calc(100% - 2px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 2px) calc(100% - 4px),calc(100% - 2px) calc(100% - 2px),calc(100% - 4px) calc(100% - 2px),calc(100% - 4px) 100%,4px 100%,4px calc(100% - 2px),2px calc(100% - 2px),2px calc(100% - 4px),0 calc(100% - 4px));
}

:root{--line:#E3E3E3;--sand:#DDB38D}
*{box-sizing:border-box;margin:0;padding:0}body{font:15px/22px 'Inter Tight',system-ui,sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
button,input{font:inherit;color:inherit;border:0;background:none;border-radius:0}button{cursor:pointer;text-align:left}:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
svg.i{width:18px;height:18px;fill:currentColor;shape-rendering:crispEdges;display:block;flex:none}
.wrap{max-width:1120px;margin:0 auto;padding:0 16px}
header{display:flex;align-items:center;gap:16px;padding:20px 0 12px}.logo{width:264px;max-width:80vw;display:block}
header span{color:var(--text-3)}
nav{display:flex;gap:24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}
nav button{padding:12px 0;min-height:46px;color:var(--text-3);border-bottom:2px solid transparent;font-weight:500}nav [aria-current=page]{color:var(--ink);border-color:var(--ink)}
/* The shop's counter: kh-count as after «Новинки» (theme kh-header: 16 px, 10 px digits, 4 px from the word) */
.count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;margin-left:4px;vertical-align:middle;font-size:10px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);clip-path:var(--pxt)}.count.mint{background:var(--mint)}.count.grey{background:var(--concrete)}
main{padding:32px 0 140px}h1{font-size:28px;line-height:32px;font-weight:600;letter-spacing:-.02em}h2{font-size:18px;line-height:24px;font-weight:600}
.lead{color:var(--text-3);margin:8px 0 24px}.quiet{color:var(--text-3)}
.gifts{display:grid;gap:12px}.gift{background:var(--bone);clip-path:var(--pxb);padding:20px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;transition:background-color 120ms}
.gift:hover{background:#EAEAE7}.gift strong{display:block;font-size:26px;line-height:30px;font-weight:600;letter-spacing:-.02em}.pics{display:grid;grid-template-columns:repeat(6,minmax(0,52px));gap:4px;min-width:0}.pics img{width:48px;height:48px;object-fit:cover}
.pics .no{opacity:.3}.tag{display:inline-block;white-space:nowrap;padding:3px 9px;font-size:14px;line-height:20px;font-weight:500;clip-path:var(--pxt);background:var(--mint)}.tag.warn{background:var(--sand)}
.cols{display:grid;gap:32px}.line{display:grid;grid-template-columns:64px minmax(0,1fr) 44px;gap:0 16px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}
.line>img{width:64px;height:64px;object-fit:cover}.line .x{width:44px;height:44px;display:grid;place-items:center;color:var(--text-3);margin:-8px -12px 0 0}
.name{font-weight:500}.out>img{opacity:.35}.out .name{color:var(--text-3);text-decoration:line-through}
.sizes{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.size{min-width:56px;min-height:48px;padding:5px 10px;background:var(--bone);clip-path:var(--pxt);text-align:center;font-weight:500;line-height:18px}
.size small{display:block;font-weight:400;font-size:12px;color:var(--text-3)}.size.on{background:var(--mint)}.size:disabled{color:var(--steel);cursor:default;background:#fff}
.swap{grid-column:1/-1;margin-top:12px;background:var(--bone);clip-path:var(--pxb);padding:14px 16px}.swap p{font-weight:500;margin-bottom:6px}
.pick{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:56px;padding:6px 0}.pick img{width:44px;height:44px;object-fit:cover}.pick+.pick,.lnk{border-top:1px solid var(--line)}.pick:disabled{opacity:.4;cursor:default}
.lnk{display:flex;align-items:center;gap:8px;min-height:48px;width:100%;font-weight:500}.add{border:0;margin-top:8px}
.btn{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;padding:0 20px;clip-path:var(--pxb);font-weight:600;background:var(--ink);color:#fff}.btn.sec{background:var(--bone);color:var(--ink)}.btn:disabled{background:var(--concrete);color:var(--text-2);cursor:default}
.foot{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);padding:12px 16px 16px;display:grid;gap:8px;z-index:3}.why{background:var(--sand);clip-path:var(--pxt);padding:9px 14px;font-size:14px;line-height:20px}
fieldset{border:0;margin-bottom:28px}legend,.lab{font-weight:600;font-size:17px;margin-bottom:10px;display:block}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:44px;padding:0 16px;background:var(--bone);clip-path:var(--pxt);font-weight:500}.chip.on{background:var(--mint)}
input{width:100%;height:52px;padding:0 16px;background:var(--bone);clip-path:var(--pxb);outline:none;font-size:16px}input:focus{background:#EAEAE7}
dialog{border:0;margin:auto;padding:0;width:min(560px,100vw);max-height:88dvh;background:#fff;clip-path:var(--pxb)}dialog::backdrop{background:rgb(17 17 17/.5)}.dlg{padding:20px;display:grid;gap:14px}.dlg .hd{display:flex;justify-content:space-between;align-items:center}.res{max-height:56dvh;overflow:auto}
.toast{position:fixed;left:50%;top:10px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:12px 18px;clip-path:var(--pxb);z-index:9;width:max-content;max-width:92vw}
.qty{display:inline-flex;align-items:center;margin:8px 0 0 -13px}.qty button{width:44px;height:44px;display:grid;place-items:center}.qty button:disabled{color:var(--concrete);cursor:default}.qty b{min-width:20px;text-align:center}
.cam{height:200px;background:var(--ink);color:#fff;display:grid;place-items:center;align-content:center;gap:16px;text-align:center;clip-path:var(--pxb);padding:16px;font-size:14px}.cam i{width:200px;height:72px;border:2px solid var(--mint)}.un2{min-height:44px;color:var(--text-3);text-decoration:underline;text-underline-offset:3px}
.ok{max-width:520px}.ok .mark{width:64px;height:64px;background:var(--mint);clip-path:var(--pxb);display:grid;place-items:center;margin-bottom:20px}.ok .mark svg{width:36px;height:36px}.ok .btn{margin-top:8px}
@media(max-width:899px){.gift{padding:14px 16px;gap:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center}.gift strong{font-size:22px;line-height:26px}.gift .pics{grid-column:1/-1;grid-row:2}.gifts{gap:8px}.lead{margin-bottom:16px}}
@media(max-width:599px){dialog{margin:auto 0 0;max-width:none;width:100vw}}
.pics img{width:100%!important;height:auto!important;aspect-ratio:1}
@media(min-width:900px){.gifts{grid-template-columns:repeat(3,minmax(0,1fr))}.gift{padding:24px;min-height:300px;align-content:space-between}.cols{grid-template-columns:minmax(0,1fr) 340px;gap:64px}.foot{position:sticky;top:80px;bottom:auto;border:0;padding:0;align-self:start;gap:12px}main{padding:48px 0 80px}h1{font-size:36px;line-height:40px}header{padding:32px 0 16px}.pics img{width:52px;height:52px}}
.lab2{font-size:14px;line-height:20px;color:var(--text-3)}.meta{display:flex;flex-wrap:wrap;gap:0 16px;font-size:14px;line-height:20px;color:var(--text-3)}.meta button{min-height:36px;text-decoration:underline;text-underline-offset:3px}.meta span{padding:8px 0}
.line{grid-template-columns:56px minmax(0,1fr) 44px;gap:0 14px;padding:14px 0}.line>img,.noimg{width:56px;height:56px;object-fit:cover;background:var(--bone)}.part{font-size:18px;font-weight:600;margin:28px 0 4px}.note{font-size:14px;line-height:20px;background:var(--bone);clip-path:var(--pxt);padding:6px 10px;margin:6px 0 2px;display:inline-block}
.size.far{box-shadow:none;background:#fff;border:1px solid var(--outline);clip-path:none}.size.far.on{background:var(--mint)}.swap .sizes{margin:0}

.login{max-width:320px;display:grid;gap:12px;padding-top:8vh}.login h1{margin-bottom:4px}.err{background:var(--sand);clip-path:var(--pxt);padding:10px 14px}
.cam{padding:0;position:relative;overflow:hidden;height:240px}.cam video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cam i{position:relative}.cam p{position:relative;padding:16px}
.busy{opacity:.6;pointer-events:none}.gift:disabled{cursor:default}.refs{overflow-wrap:anywhere}
body{padding-bottom:env(safe-area-inset-bottom)}.foot{padding-bottom:calc(16px + env(safe-area-inset-bottom))}@media(min-width:900px){.foot{padding:0;background:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
.gh{display:flex;justify-content:space-between;align-items:center;gap:12px}
@media(max-width:899px){.gift{grid-template-columns:minmax(0,1fr)}}
/* Card (02.12): level as squares, every thing with its stock, three figures. --low is --neg of shared/kh-dash */
:root{--low:#B8230F}
.level{display:flex;align-items:center;gap:3px;font-size:14px;line-height:20px;font-weight:500}.level i{width:8px;height:8px;background:var(--ink)}.level i.off{background:var(--outline)}.level i:nth-child(3){margin-right:5px}
.left{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 6px;align-content:start;text-align:center;font-size:14px;line-height:20px}.left img,.left .noimg{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block;margin-bottom:2px}.left b{font-weight:500;display:block}
.stats{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;border-top:1px solid var(--outline);padding-top:14px;font-size:14px;line-height:20px;color:var(--text-3)}.stats b{display:block;font-size:20px;line-height:26px;font-weight:600;color:var(--ink)}.stats>:last-child{justify-self:end}.stats small{font-size:12px}
.left b.few,.stats b.few{color:var(--low);font-weight:700}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:900px){.gift{grid-template-rows:auto 1fr auto;align-content:stretch;gap:20px}}
@media(min-width:600px) and (max-width:899px){.left{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px 4px}}
/* One column (phone, tablet): air under the name, the three figures together at the right edge; full width only on a computer */
@media(max-width:899px){.gift{padding:20px 16px;gap:20px}.stats{display:flex;justify-content:flex-end;gap:28px;padding-top:16px}}
.about{display:block;margin-top:2px}
/* One small text on the card: the level's word is the standard (13/18, 500); only the colours differ */
.about,.stats,.stats small{font-size:14px;line-height:20px;font-weight:500}
.mk{min-height:36px;padding:0 12px;margin-top:4px;background:var(--bone);clip-path:var(--pxt);font-size:13px;font-weight:500;white-space:nowrap}
.main{display:flex;flex-wrap:wrap;align-items:center;gap:0 16px;font-size:14px;line-height:20px;margin-top:2px}.main span{display:flex;align-items:center;gap:6px;background:var(--mint);clip-path:var(--pxt);padding:3px 9px}.main svg.i{width:12px;height:12px}.main button{min-height:36px;color:var(--text-3);text-decoration:underline;text-underline-offset:3px}
/* Windows that change while in use keep their size: the search by its results, the scanner by what it found */
dialog.find{height:min(640px,88dvh)}dialog.find .dlg{height:100%;grid-template-rows:auto auto minmax(0,1fr)}dialog.find .res{max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
dialog.scan #hit{height:184px;overflow-y:auto}
/* On a phone the search stands at the top and fills the screen: the keyboard covers only the end of the list */
@media(max-width:599px){dialog.find{margin:0;height:100dvh;max-height:100dvh;clip-path:none}}
/* Adding a thing: two equal buttons, the search first */
.two{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.two .btn{padding:0 12px}
/* Over the button of the next step: how many things are in and what they cost us, in one line */
.now{display:flex;justify-content:space-between;gap:16px;font-size:14px;line-height:20px;color:var(--text-3)}.now div{display:flex;align-items:baseline;gap:6px}.now dd{font-weight:600;color:var(--ink);white-space:nowrap}.now small{font-size:13px}
/* The gift's summary next to «Кому й від кого»: things under the warehouse they are written off from, with air between the
   warehouses. On a computer the buttons stay in sight under it */
.sum{background:var(--bone);clip-path:var(--pxb);padding:16px 20px 18px}.sh{display:flex;justify-content:space-between;align-items:center}.sh button{min-height:36px;font-size:14px;line-height:20px;color:var(--text-3);text-decoration:underline;text-underline-offset:3px}
.from{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:14px;line-height:20px;color:var(--text-3)}.from b{font-weight:600;color:var(--ink)}ul+.from{margin-top:32px}
.sum li{list-style:none;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:6px;font-size:14px;line-height:20px}.sum li span:not(.noimg){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sum li img,.sum li .noimg{width:28px;height:28px;object-fit:cover;display:block}.sum li b{font-weight:500}.sum .now{border-top:1px solid var(--outline);margin-top:20px;padding-top:12px}
@media(min-width:900px){.foot.end{top:auto;bottom:0;background:#fff;padding:12px 0}}
/* On a phone the fixed panel is up to 236 px high: the end of the page scrolls clear of it */
@media(max-width:899px){main:has(.foot){padding-bottom:calc(260px + env(safe-area-inset-bottom))}}
/* A thing of the gift: photo; the name and the actions in one line, centre to centre; under them the chips (warehouse, size).
   36 + 8 + 36 = 80: a name is 36 px in one line or in two (no more), the chips 36, the photo 80 — always level. What has to be done
   with the thing («Обери розмір») is the chip itself, in sand. On a computer «Замінити» and the bin are chips, on a phone — a dropdown */
.ln{display:grid;grid-template-columns:80px minmax(0,1fr);gap:0 18px;padding:18px 0;border-bottom:1px solid var(--line);align-items:start}.ln>img,.ln>.noimg{width:80px;height:80px;object-fit:cover;display:block}.tx{min-width:0}.hd2{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.ln .swap{grid-column:1/-1}.swap .say{font-size:14px;line-height:20px;color:var(--text-3);margin:-4px 0 6px}
.ln .name{display:flex;align-items:center;height:36px;min-width:0;font-size:15px;line-height:18px}.name span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ask>button,.ask>span{background:var(--sand)!important}.ask svg.i{color:var(--ink)!important}.ln>.main,.ln>.mk{grid-column:1/-1;justify-self:start;margin-top:8px}.sub .qty{margin:0;height:36px}.sub .qty button{height:36px;width:40px}.sub .qty b{font-size:14px;font-weight:500}
.sub{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.dd{position:relative;min-width:0}.dd>button,.dd>span{display:flex;align-items:center;gap:6px;height:36px;padding:0 12px;background:var(--bone);clip-path:var(--pxt);font-size:14px;line-height:20px;font-weight:500;white-space:nowrap}.dd>button>svg{margin-left:2px}.dd em{font-style:normal;color:var(--text-3)}.dd b{font-weight:500}.dd small{font-size:inherit;color:var(--text-3)}.dd svg.i{width:10px;height:10px;color:var(--text-3);transition:transform 120ms}.dd.open>button svg.i{transform:rotate(180deg)}
.ra{display:flex;flex:none}.ra button{height:36px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px;line-height:20px;font-weight:500;background:var(--bone);clip-path:var(--pxt)}.ra .sw{padding:0 12px}.ra .rm{width:40px}.ra svg.i{width:12px;height:12px}.mn>div{display:flex;gap:4px}.ra .more,.rm span{display:none}
.pop{display:none;position:absolute;left:0;top:100%;z-index:3;min-width:208px;padding-top:4px;filter:drop-shadow(0 6px 16px rgb(17 17 17/.18)) drop-shadow(0 0 1px rgb(17 17 17/.35))}.open>.pop{display:block}.up>.pop{top:auto;bottom:100%;padding:0 0 4px}.pop>div{background:#fff;clip-path:var(--pxb);padding:4px 0}
.pop button{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;width:100%;min-height:44px;padding:0 16px;font-size:14px;line-height:20px;font-weight:500}.pop button b{font-weight:500;color:var(--text-3)}.pop .far{color:var(--text-3)}.pop button:disabled{color:var(--steel);cursor:default}.dd .pop svg.i{width:12px;height:12px;color:var(--ink);transform:none}
@media(hover:hover){.ra button:hover,.dd>button:hover{background:#EAEAE7}.pop button:not(:disabled):hover{background:var(--bone)}}
@media(max-width:599px){.ln{gap:0 14px;padding:16px 0}.sub em:has(+b+small){display:none}.sub .dd:last-child:not(:first-child) .pop{left:auto;right:0}.ra .mn button{font-size:14px!important}
.ln .ra{position:relative}.ra .more{display:flex;width:44px}.ra.open .more{background:var(--ink);color:#fff}.mn{display:none;position:absolute;right:0;top:100%;z-index:2;width:184px;padding-top:6px;filter:drop-shadow(0 6px 16px rgb(17 17 17/.18)) drop-shadow(0 0 1px rgb(17 17 17/.35))}.mn>div{display:block;background:#fff;clip-path:var(--pxb)}.open .mn{display:block}.up .mn{top:auto;bottom:100%;padding:0 0 6px}
.ra .mn button{width:100%;height:48px;justify-content:flex-start;gap:12px;padding:0 16px;font-size:15px;background:#fff;clip-path:none}.ra .mn button+button{border-top:1px solid var(--line)}.ra .mn button:active{background:var(--bone)}.rm span{display:inline}}
/* The window of a new gift: no logo and tabs; a bar with the kit and «close», then the two steps, big and with air around */
.win header,.win nav{display:none}.win main{padding-top:0}.wh{position:sticky;top:0;z-index:2;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:60px;border-bottom:1px solid var(--line)}.wh h1{font-size:20px;line-height:26px;min-width:0}.wh>button{width:44px;height:44px;display:grid;place-items:center;flex:none;margin-right:-13px}
.prog{display:flex;align-items:center;gap:10px;padding:24px 0 20px}.prog button,.prog span{min-height:44px;font-size:22px;line-height:28px;font-weight:600;letter-spacing:-.02em;white-space:nowrap;color:var(--steel);transition:color 120ms}.prog [aria-current]{color:var(--ink);cursor:default}.prog button:disabled{cursor:default}.prog svg{width:12px;height:12px;transform:scaleX(-1);color:var(--steel)}
@media(hover:hover){.prog button:not(:disabled,[aria-current]):hover{color:var(--ink)}}
@media(max-width:359px){.prog{gap:8px}.prog button,.prog span{font-size:19px}}
@media(min-width:900px){.wh{min-height:76px}.wh h1{font-size:24px;line-height:30px}.prog{gap:16px;padding:44px 0 36px}.prog button,.prog span{font-size:32px;line-height:40px}.prog svg{width:18px;height:18px}}
.win .ok{padding-top:64px}
.tw{text-align:center;padding:9px 16px}.tw small{display:block;font-size:14px;line-height:20px;font-weight:400}
.draft{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:var(--mint);clip-path:var(--pxb);padding:14px 16px;margin-bottom:28px}.draft span{flex:1 1 180px}.draft b{display:block;font-weight:600}.draft small{font-size:14px;line-height:20px}.draft .btn{width:auto;min-height:44px;flex:0 1 auto}.draft .sec{background:#fff}
@media(min-width:900px){.win .foot:not(.end){top:124px}}
@media(max-width:599px){.draft .btn{flex:1}}
/* «Свій подарунок»: a computer — at the right of the title; a phone — at the bottom of the screen, under the thumb */
.hh{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.own .btn{width:auto;min-height:48px;white-space:nowrap}
@media(max-width:899px){.own{position:fixed;left:0;right:0;bottom:0;z-index:3;background:#fff;border-top:1px solid var(--line);padding:12px 16px calc(16px + env(safe-area-inset-bottom))}.own .btn{width:100%;min-height:52px}main:has(.own){padding-bottom:calc(112px + env(safe-area-inset-bottom))}}
/* One small text everywhere (02.12): 14/20, 500, as «Замінити»; grey is the only difference. Names 16/22, 500; titles and main buttons 600 */
.about,.stats,.stats small,.level,.now,.now dd,.now small,.from,.from b,.sh button,.sum li,.sum li b,.draft small,.tw small,.why,.pick,.swap .say,.main,.mk,.lead{font-size:14px;line-height:20px;font-weight:500}.sum small{font-size:14px}.left b{font-size:14px}.left b.few,.stats b.few{font-weight:600}
/* «До видачі»: the kits' cards — a gift opens in a window; collected things have a tick over the photo */
.open strong{font-size:20px!important;line-height:26px!important;overflow-wrap:anywhere}.open .gh{align-items:flex-start}.open .level{padding-top:3px;white-space:nowrap}.ph{position:relative;display:block}.bd{position:absolute;top:-7px;right:-7px;width:22px;height:22px;display:grid;place-items:center;z-index:1;background:var(--mint);color:var(--ink);clip-path:var(--pxt)}.got{position:relative;z-index:1}.bd svg.i{width:12px;height:12px}
.grp{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:12px;border-bottom:1px solid var(--line)}.tk+.grp{margin-top:36px}.grp small,.gv small{font-size:14px;line-height:20px;font-weight:500;color:var(--text-3)}
/* A thing to collect: 36 (a name, up to two lines) + 20 (its size) = 56, the photo */
.tk{display:flex;align-items:center;gap:4px;padding:12px 0;border-bottom:1px solid var(--line)}.what{flex:1;min-width:0;display:grid;grid-template-columns:24px 56px minmax(0,1fr);gap:16px;align-items:center;padding-right:10px}.tk img,.tk .noimg{width:56px;height:56px;object-fit:cover;display:block}.two-l{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:15px;line-height:18px;font-weight:500}.what small{display:block;font-size:14px;line-height:20px;font-weight:500;color:var(--text-3)}
.chp{flex:none;display:flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 12px;background:var(--bone);clip-path:var(--pxt);font-size:14px;line-height:20px;font-weight:500}.chp svg.i{width:12px;height:12px}.tk.on img{opacity:.45}.tk.on .two-l{color:var(--text-3)}
.facts{display:grid;gap:6px;margin-top:6px;font-size:14px;line-height:20px;font-weight:500}.facts div{display:flex;justify-content:space-between;gap:16px}.facts dt{color:var(--text-3);flex:none}.facts dd{text-align:right;overflow-wrap:anywhere}
/* «Видані»: one line a gift, its things inside */
.gv{border-top:1px solid var(--line)}.gv:last-child{border-bottom:1px solid var(--line)}.gv summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) 284px 150px 12px;gap:24px;align-items:center;padding:14px 0}.gv summary::-webkit-details-marker{display:none}.gv .tx b,.gv .tx small{display:block}.gv .tx b{font-size:16px;line-height:22px;font-weight:500;overflow-wrap:anywhere}.strip{display:flex;gap:4px;align-items:center}.strip img,.strip .noimg{width:40px;height:40px;object-fit:cover;background:var(--bone);display:block}.when{text-align:right}.gv summary>svg.i{width:12px;height:12px;color:var(--text-3)}.gv[open] summary>svg.i{transform:rotate(180deg)}
.gvb{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px 64px;padding:4px 0 24px}.gvb li{list-style:none;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:6px;font-size:14px;line-height:20px;font-weight:500}.gvb li img,.gvb li .noimg{width:28px;height:28px;object-fit:cover}.gvb li b{font-weight:500}.gvb li span:not(.noimg){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(hover:hover){.chp:hover{background:#EAEAE7}.what:hover .cb{background:var(--ink)}}
@media(max-width:899px){.gv summary{grid-template-columns:minmax(0,1fr) auto 12px;gap:8px 12px}.strip{grid-column:1/-1;grid-row:2}.gvb{grid-template-columns:minmax(0,1fr)}}
@media(max-width:599px){.what{gap:12px;padding-right:6px}.chp{width:40px;padding:0}.chp span{display:none}}
.prog span{display:flex;align-items:center}
/* The tick box: a pixel-cornered frame, 2 px; collected — solid ink with a white tick */
.cb{position:relative;width:24px;height:24px;display:grid;place-items:center;background:var(--steel);clip-path:var(--pxt);transition:background-color 120ms}.cb:before{content:'';position:absolute;inset:2px;background:#fff;clip-path:polygon(0 2px,2px 2px,2px 0,calc(100% - 2px) 0,calc(100% - 2px) 2px,100% 2px,100% calc(100% - 2px),calc(100% - 2px) calc(100% - 2px),calc(100% - 2px) 100%,2px 100%,2px calc(100% - 2px),0 calc(100% - 2px))}.on .cb{background:var(--ink);color:#fff}.on .cb:before{display:none}.cb svg.i{width:12px;height:12px;position:relative}
/* The question before goods move: the things are seen, not told */
dialog.review .dlg{padding:24px;gap:20px}.rv small{display:block;font-size:14px;line-height:20px;font-weight:500;color:var(--text-3)}.rv b{font-size:24px;line-height:30px;font-weight:600;letter-spacing:-.02em;overflow-wrap:anywhere}
.rvp{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px 6px;max-height:34dvh;overflow:auto}.rvp img,.rvp .noimg{width:100%;aspect-ratio:1;object-fit:cover;display:block;background:var(--bone)}.rvp small{display:block;text-align:center;font-size:14px;line-height:20px;font-weight:500;margin-top:2px}.review .why{margin-top:-4px}
.rvb{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.rvb .sec{padding:0 24px}
@media(max-width:599px){.rvp{grid-template-columns:repeat(5,minmax(0,1fr))}dialog.review .dlg{padding:20px 16px calc(16px + env(safe-area-inset-bottom))}.rvb .sec{padding:0 18px}.rvb .btn{font-size:15px}}
.go{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--mint);clip-path:var(--pxt);font-size:14px;line-height:20px;font-weight:500}.go svg.i{width:12px;height:12px}@media(min-width:900px){.gift:has(.go){grid-template-rows:auto 1fr auto auto}}
dialog{outline:none}/* From where and how many: the pattern of «Для кого» and of the kits' cards — a grey label, the figure under it — on the window's left edge */
.mv{display:flex;flex-wrap:wrap;gap:16px 40px;border-top:1px solid var(--line);margin:4px 0;padding-top:24px}.mv dt{font-size:14px;line-height:20px;font-weight:500;color:var(--text-3)}.mv dd{font-size:20px;line-height:26px;font-weight:600;letter-spacing:-.01em}.rvp{padding:7px 7px 0 0;margin-top:-7px}
textarea{display:block;width:100%;min-height:52px;padding:15px 16px;border:0;border-radius:0;resize:none;field-sizing:content;background:var(--bone);color:inherit;clip-path:var(--pxb);outline:none;font:inherit;font-size:16px;line-height:22px}textarea:focus{background:#EAEAE7}
/* A long recipient: smaller, at most three lines on a card, one in the bar; in full in the summary and in the question */
.open strong{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.open strong.long{font-size:16px!important;line-height:22px!important;letter-spacing:0;font-weight:500;-webkit-line-clamp:3}.cut{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rv.long b{display:block;font-size:16px;line-height:22px;font-weight:500;letter-spacing:0}.sum .rv{margin:4px 0 12px}.sum .rv b{display:block;font-size:16px;line-height:22px;font-weight:500;letter-spacing:0}.gv .tx b.two-l{display:-webkit-box}
/* Demo: writing is off on the server */
#demo{background:var(--sand);font-size:14px;line-height:20px;font-weight:500}#demo>div{max-width:1120px;margin:0 auto;padding:6px 16px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:0 16px}#demo button{text-decoration:underline;text-underline-offset:3px;min-height:24px}
