/* «Досуг» (GDD tab «Досуг» · Интерфейс): the window «Сцена» — ui/leisure-ui.js. Light, no texture: the ink picture carries the mood, colour only for meaning. */
.card.lzcard{ width:min(1000px, 96vw); height:min(680px, 92vh); max-height:none; padding:0; overflow:hidden; display:flex; }
.lz{ display:grid; grid-template-rows:auto minmax(0, 1fr) auto; width:100%; height:100%; --lv1:var(--echo); --lv2:#6a4f8f; }
.lz__hd{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px 12px; border-bottom:1px solid var(--hair); }
.lz__hd .kicker{ margin:0 0 4px; display:flex; align-items:center; gap:6px; } .lz__hd .kicker .ic{ width:14px; height:14px; }
.lz__hd h2{ margin:0; font-size:24px; font-weight:600; letter-spacing:.2px; }
.lz__facts{ display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; align-items:center; }
.lz__body{ display:grid; grid-template-columns:330px minmax(0, 1fr); min-height:0; }
/* the scene: the picture, the air of the place, its host */
.lz__scene{ display:flex; flex-direction:column; gap:12px; padding:16px 18px; border-right:1px solid var(--hair); background:var(--bg-soft); min-height:0; overflow:auto; }
.lz__art{ position:relative; margin:0; aspect-ratio:5 / 4; border-radius:14px; border:1px solid var(--hair-2); background:var(--bg); display:grid; place-items:center; overflow:hidden; }
.lz__art img{ max-width:90%; max-height:88%; object-fit:contain; animation:lzIn .5s var(--ease-out) both; }
.lz__tint{ position:absolute; inset:0; pointer-events:none; transition:background .6s var(--ease); }
.lz[data-per="evening"] .lz__tint{ background:radial-gradient(circle at 50% 70%, rgba(255,170,70,.20), rgba(255,170,70,0) 70%); }
.lz[data-per="night"] .lz__tint{ background:linear-gradient(rgba(40,60,120,.16), rgba(20,30,70,.24)); }
.lz[data-per="morning"] .lz__tint{ background:linear-gradient(160deg, rgba(255,236,190,.28), rgba(255,236,190,0) 60%); }
.lz__atmo{ margin:0; font-size:14.5px; line-height:1.55; color:var(--ink-soft); font-style:italic; }
.lz__host{ display:flex; align-items:center; gap:10px; padding:8px 10px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); cursor:pointer; text-align:left; font:inherit; color:var(--ink); }
.lz__host:hover{ border-color:var(--ink); } .lz__host > span{ display:flex; flex-direction:column; gap:3px; } .lz__host b{ font-size:14px; font-weight:600; } .lz__host small{ font-size:12px; color:var(--muted); }
/* people: their ink tokens */
.lz__tk{ height:54px; width:auto; display:block; } .lz__tk.ic-tk{ width:44px; height:54px; display:grid; place-items:center; } .lz__tk.ic-tk .ic{ width:34px; height:34px; }
.lz__host .lz__tk{ height:46px; }
.lz__att{ display:inline-flex; gap:3px; } .lz__att i{ width:7px; height:7px; border-radius:50%; background:var(--hair-2); } .lz__att i.on{ background:var(--echo); } .lz__att i.bad{ background:var(--danger); }
/* the right column */
.lz__main{ padding:14px 20px 16px; overflow:auto; min-height:0; }
.lz__sub{ display:flex; align-items:center; gap:6px; margin:14px 0 6px; font-size:11px; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); font-weight:500; }
.lz__sub:first-child{ margin-top:0; } .lz__sub .ic{ width:13px; height:13px; } .lz__sub .bad{ color:var(--danger); letter-spacing:.1em; } .lz__sub .good{ color:#4f8a3a; letter-spacing:.1em; }
.lz__story{ margin:0 0 12px; padding:11px 14px; border-radius:12px; background:#fbf7ee; border-left:3px solid var(--echo); animation:lzIn .4s var(--ease-out) both; }
.lz__story.bad{ background:#fbf1ef; border-left-color:var(--danger); }
.lz__story p{ margin:0 0 6px; font-size:14.5px; line-height:1.55; } .lz__story p:last-child{ margin:0; }
.lz__look{ list-style:none; margin:0; padding:0; }
.lzl{ display:grid; grid-template-columns:22px 1fr; gap:10px; align-items:start; padding:7px 2px; border-bottom:1px dashed var(--hair); font-size:14px; line-height:1.45; animation:lzIn .35s var(--ease-out) both; animation-delay:calc(var(--i, 0) * 40ms); }
.lzl .ic{ width:17px; height:17px; margin-top:2px; color:var(--ink-soft); } .lzl.lv1 .ic{ color:var(--lv1); } .lzl.lv2 .ic{ color:var(--lv2); } .lzl.lv2 span{ color:var(--ink); }
.lzl--hid{ display:block; border-bottom:0; padding-top:8px; } .lzl--hid.off{ display:grid; color:var(--muted); font-style:italic; }
.lz__peek{ width:100%; display:flex; align-items:center; gap:10px; padding:9px 12px; border:1px dashed var(--hair-2); border-radius:12px; background:var(--bg-soft); cursor:pointer; font:inherit; color:var(--ink); text-align:left; }
.lz__peek:hover{ border-color:var(--lv2); border-style:solid; } .lz__peek > .ic{ width:18px; height:18px; color:var(--lv2); } .lz__peek > span:first-of-type{ flex:1; letter-spacing:.2em; color:var(--muted); } .lz__peek small{ letter-spacing:.02em; }
.lz__peek .odds b{ font-size:12px; font-weight:600; } .lz__peek .odds .ic{ width:14px; height:14px; }
.lz__ppl{ display:flex; flex-wrap:wrap; gap:8px; }
.lz__p{ display:flex; flex-direction:column; align-items:center; gap:3px; width:84px; padding:8px 4px 7px; border:1px solid var(--hair); border-radius:12px; background:var(--bg); cursor:pointer; font:inherit; color:var(--ink); }
.lz__p:hover{ border-color:var(--ink); transform:translateY(-1px); } .lz__p b{ font-size:12px; font-weight:500; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lz__none{ margin:0; color:var(--muted); font-size:13px; }
.lz__back{ display:inline-flex; align-items:center; gap:6px; margin:0 0 10px; padding:4px 10px 4px 6px; border:1px solid var(--hair); border-radius:20px; background:var(--bg); cursor:pointer; font:inherit; font-size:12.5px; color:var(--ink-soft); }
.lz__back .ic{ width:13px; height:13px; transform:scaleX(-1); } .lz__back:hover{ color:var(--ink); border-color:var(--ink); }
/* a person */
.lz__ph{ display:flex; align-items:center; gap:14px; margin-bottom:12px; } .lz__ph .lz__tk{ height:76px; } .lz__ph h3{ margin:0 0 2px; font-size:19px; font-weight:600; } .lz__ph small{ display:block; color:var(--muted); font-size:12.5px; margin-bottom:5px; }
.lz__pa{ display:flex; gap:8px; margin-top:12px; }
/* the menu */
.lz__menu{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:8px; }
.lz__dish{ display:flex; flex-direction:column; gap:4px; padding:12px 13px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); cursor:pointer; text-align:left; font:inherit; color:var(--ink); }
.lz__dish:hover{ border-color:var(--ink); } .lz__dish:disabled{ opacity:.4; pointer-events:none; } .lz__dish.gruel{ background:var(--bg-soft); }
.lz__dish b{ font-size:15px; font-weight:600; } .lz__dish small{ color:var(--ink-soft); font-style:italic; font-size:13px; }
.lz__dm{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:4px; } .lz__fans{ display:inline-flex; align-items:center; gap:2px; } .lz__fans .ic{ width:16px; height:16px; } .lz__fans .ic.gold{ color:var(--echo); }
/* the rooms */
.lz__rooms{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; }
.lz__room{ display:flex; flex-direction:column; gap:6px; padding:10px; border:1px solid var(--hair-2); border-radius:14px; background:var(--bg); }
.lz__room figure{ margin:0; height:96px; display:grid; place-items:center; border-radius:10px; background:var(--bg-soft); } .lz__room figure img{ max-height:86px; max-width:92%; object-fit:contain; }
.lz__room b{ font-size:14.5px; font-weight:600; } .lz__room b small{ font-weight:500; font-size:11px; } .lz__room b .gold{ color:var(--echo); }
.lz__room ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; font-size:12.5px; color:var(--ink-soft); flex:1; } .lz__room li{ display:flex; align-items:center; gap:6px; } .lz__room li .ic{ width:13px; height:13px; }
.lz__rp{ display:flex; } .lz__pa{ align-items:center; }
.lz__rb{ display:flex; gap:6px; } .lz__rb .opt{ margin:0; padding:6px 10px; } .lz__rb .opt:last-child{ flex:1; justify-content:center; }
.lz__pips{ display:inline-flex; gap:2px; } .lz__pips i{ display:inline-flex; opacity:.22; } .lz__pips i.on{ opacity:1; color:var(--echo); } .lz__pips .ic{ width:15px; height:15px; }
/* the things to do */
.lz__ft{ display:flex; align-items:stretch; gap:10px; padding:10px 14px 12px; border-top:1px solid var(--hair); background:var(--bg); }
.lz__tiles{ flex:1; display:grid; grid-template-columns:repeat(auto-fill, minmax(86px, 1fr)); gap:6px; }
.lz__t{ display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 4px 7px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); cursor:pointer; font:inherit; color:var(--ink); text-align:center; transition:transform .12s var(--ease), border-color .12s; }
.lz__t:hover{ border-color:var(--ink); transform:translateY(-1px); } .lz__t.off{ opacity:.38; } .lz__t .tile__i .ic{ width:24px; height:24px; } .lz__t b{ font-size:12px; font-weight:500; line-height:1.15; }
.lz__t .tile__c{ justify-content:center; } .lz__t .odds .pbar{ width:34px; } .lz__h{ font-size:11px; }
.lz__out{ align-self:center; margin:0 0 0 6px; padding:5px 12px; white-space:nowrap; font-size:13px; }
@keyframes lzIn{ from{ opacity:0; transform:translateY(4px); } to{ opacity:1; transform:none; } }
/* a narrow screen: the columns stack, the window scrolls inside */
@media (max-width:760px){
  .card.lzcard{ height:auto; max-height:94vh; overflow:auto; display:block; }
  .lz{ display:block; } .lz__facts .chp{ display:none; } .lz__hd{ padding:14px 16px 10px; } .lz__hd h2{ font-size:20px; }
  .lz__body{ display:block; } .lz__scene{ border-right:0; border-bottom:1px solid var(--hair); overflow:visible; display:grid; grid-template-columns:112px 1fr; gap:10px; padding:12px 16px; }
  .lz__art{ width:112px; aspect-ratio:1; grid-row:span 2; } .lz__atmo{ font-size:13.5px; align-self:center; } .lz__host{ grid-column:2; align-self:start; padding:6px 8px; } .lz__host .lz__tk{ height:38px; }
  .lz__main{ overflow:visible; padding:12px 16px; } .lz__rooms{ grid-template-columns:1fr; }
  .lz__ft{ position:sticky; bottom:0; padding:8px 10px 10px; box-shadow:0 -8px 16px rgba(0,0,0,.06); } .lz__tiles{ grid-template-columns:repeat(4, 1fr); gap:5px; }
  .lz__t{ padding:6px 2px; } .lz__t b{ font-size:11px; } .lz__t .tile__c .chp{ font-size:10px; } .lz__t .odds .pbar{ width:24px; }
}
}
/* the dark theme: the ink turns to chalk */
:root[data-theme="dark"] .lz__art img, :root[data-theme="dark"] .lz__room img, :root[data-theme="dark"] img.lz__tk{ filter:invert(.88); }
:root[data-theme="dark"] .lz__story{ background:rgba(178,140,49,.12); } :root[data-theme="dark"] .lz__story.bad{ background:rgba(226,103,90,.12); }
:root[data-theme="dark"] .lz{ --lv2:#b49ad8; }
:root[data-motion="reduce"] .lz *, body.lite .lz *{ animation:none !important; }
/* the camp's place: three spots */
.card.lzcard--spot{ height:auto; max-height:92vh; }
.lz--spot{ grid-template-rows:auto auto auto; }
.lz__spots{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; padding:16px 20px 6px; }
.lz__spot{ display:flex; flex-direction:column; gap:7px; padding:12px; border:1px solid var(--hair-2); border-radius:14px; background:var(--bg); cursor:pointer; text-align:left; font:inherit; color:var(--ink); transition:transform .12s var(--ease), border-color .12s; }
.lz__spot:hover{ border-color:var(--ink); transform:translateY(-2px); }
.lz__spot figure{ position:relative; margin:0; height:150px; display:grid; place-items:center; border-radius:10px; background:var(--bg-soft); overflow:hidden; }
.lz__spot figure::after{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 75%, rgba(255,160,60,.16), rgba(255,160,60,0) 65%); }
.lz__spot figure img{ max-height:136px; max-width:94%; object-fit:contain; } .lz__spot b{ font-size:15.5px; font-weight:600; } .lz__spot b .gold{ color:var(--echo); font-size:11px; font-weight:500; }
.lz__spot ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:4px 10px; font-size:12.5px; } .lz__spot li{ display:flex; align-items:center; gap:4px; } .lz__spot li .ic{ width:13px; height:13px; }
.lz__spot li.good{ color:var(--ink-soft); } .lz__spot li.bad{ color:var(--danger); }
.lz__note{ display:flex; align-items:center; gap:7px; margin:6px 20px 16px; font-size:12.5px; color:var(--muted); } .lz__note .ic{ width:14px; height:14px; color:var(--echo); }
.lz__night{ margin:0 0 8px; padding:8px 12px; border-left:3px solid var(--echo); background:#fbf7ee; border-radius:8px; font-style:italic; }
:root[data-theme="dark"] .lz__spot img{ filter:invert(.88); } :root[data-theme="dark"] .lz__night{ background:rgba(178,140,49,.12); }
@media (max-width:760px){ .lz__spots{ grid-template-columns:1fr; } .lz__spot figure{ height:100px; } }
/* the storyteller: a deed to tell, two ways; the contest; the book */
.lz__deed{ margin:0 0 12px; padding:12px 16px; border-left:3px solid var(--ink); background:var(--bg-soft); border-radius:8px; font-style:italic; font-size:14.5px; line-height:1.55; }
.lz__ch{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
.lz__chb{ display:flex; flex-direction:column; gap:4px; padding:12px 14px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); cursor:pointer; text-align:left; font:inherit; color:var(--ink); }
.lz__chb:hover{ border-color:var(--ink); } .lz__chb b{ font-size:15px; font-weight:600; } .lz__chb small{ color:var(--ink-soft); }
.lz__games{ display:flex; flex-direction:column; gap:8px; }
.lz__game{ display:grid; grid-template-columns:56px 1fr auto; align-items:center; gap:12px; padding:8px 12px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); }
.lz__game .lz__tk{ height:50px; } .lz__game b{ display:block; font-size:14.5px; font-weight:600; } .lz__game small{ display:block; color:var(--muted); font-size:12px; margin:1px 0 4px; }
.lz__stakes{ display:flex; gap:5px; } .lz__stakes .opt{ margin:0; padding:5px 10px; } .lz__stakes .ic{ width:13px; height:13px; }
.lz--book{ grid-template-rows:auto auto minmax(0, 1fr); }
.lz__btabs{ display:flex; gap:4px; padding:10px 20px 0; border-bottom:1px solid var(--hair); overflow-x:auto; }
.lz__btab{ display:flex; align-items:center; gap:6px; padding:8px 12px; border:0; border-bottom:2px solid transparent; background:none; cursor:pointer; font:inherit; font-size:13px; color:var(--ink-soft); white-space:nowrap; }
.lz__btab.on{ color:var(--ink); border-bottom-color:var(--ink); } .lz__btab .ic{ width:16px; height:16px; } .lz__btab b{ font-size:11px; font-weight:600; color:var(--echo); }
.lz__book{ display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; align-content:start; padding:16px 20px; overflow:auto; }
.lz__bc{ display:flex; flex-direction:column; align-items:center; gap:5px; padding:14px 10px; min-height:104px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); text-align:center; animation:lzIn .35s var(--ease-out) both; }
.lz__bc .ic{ width:28px; height:28px; color:var(--echo); } .lz__bc b{ font-size:13.5px; font-weight:600; line-height:1.25; } .lz__bc small{ font-size:11.5px; color:var(--muted); }
.lz__bc.off{ border-style:dashed; background:var(--bg-soft); justify-content:center; } .lz__bc.off span{ font-size:18px; color:var(--faint); font-weight:300; }
@media (max-width:760px){ .lz__ch{ grid-template-columns:1fr; } .lz__game{ grid-template-columns:44px 1fr; } .lz__stakes{ grid-column:1 / -1; } }
.lz__nf{ margin:0 0 10px; height:150px; display:grid; place-items:center; border-radius:12px; background:var(--bg-soft); border:1px solid var(--hair); } .lz__nf img{ max-height:136px; max-width:90%; object-fit:contain; }
:root[data-theme="dark"] .lz__nf img{ filter:invert(.88); }
.lz__more{ display:flex; align-items:center; gap:10px; width:100%; margin-top:10px; padding:10px 14px; border:1px dashed var(--hair-2); border-radius:12px; background:var(--bg-soft); cursor:pointer; font:inherit; color:var(--ink); text-align:left; }
.lz__more:hover{ border-color:var(--ink); } .lz__more .ic{ width:22px; height:22px; } .lz__more span{ display:flex; flex-direction:column; } .lz__more b{ font-size:13.5px; font-weight:500; } .lz__more small{ color:var(--muted); font-size:12px; }
/* wave 2: a word in a manner, a regular's story, the rematch, the callings, how the party is met */
.lz__tones{ display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; }
.lz__tone{ position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 6px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); cursor:pointer; font:inherit; color:var(--ink); }
.lz__tone img{ height:62px; max-width:100%; object-fit:contain; } .lz__tone b{ font-size:12.5px; font-weight:500; } .lz__tone .ic{ position:absolute; top:6px; right:6px; width:14px; height:14px; color:var(--echo); }
.lz__tone.own{ border-color:var(--echo); } .lz__tone:hover{ border-color:var(--ink); } .lz__tone:disabled{ opacity:.4; pointer-events:none; }
.lz__arc{ display:grid; grid-template-columns:120px 1fr; gap:14px; margin:0 0 14px; padding:12px; border:1px solid var(--echo); border-radius:14px; background:#fbf7ee; animation:lzIn .4s var(--ease-out) both; }
.lz__arc figure{ margin:0; display:grid; place-items:center; } .lz__arc figure img{ max-width:100%; max-height:110px; object-fit:contain; } .lz__arc p{ margin:0 0 8px; font-size:14px; line-height:1.5; } .lz__arc .lz__sub{ margin:0 0 4px; }
.lz__arcb{ display:flex; flex-direction:column; gap:6px; } .lz__arcb .lz__chb{ flex-direction:row; justify-content:space-between; align-items:center; padding:8px 12px; } .lz__arcb .lz__chb b{ font-size:13.5px; } .lz__arcb .lz__chb:disabled{ opacity:.4; }
.lz__rm{ display:grid; grid-template-columns:90px 1fr; gap:12px; align-items:center; margin:0 0 12px; padding:10px; border:1px dashed var(--danger); border-radius:12px; }
.lz__rm img{ max-width:100%; max-height:70px; object-fit:contain; } .lz__rm b{ display:block; font-size:14.5px; } .lz__rm small{ display:block; color:var(--muted); margin-bottom:6px; } .lz__rm .opt{ margin:0; padding:5px 12px; }
.lz__host{ position:relative; } .lz__host.need{ border-color:var(--echo); } .lz__host .pc__need{ position:absolute; top:-6px; right:-6px; }
.lz__call{ display:flex; flex-direction:column; gap:6px; padding:12px; border:1px solid var(--hair-2); border-radius:14px; background:var(--bg); } .lz__call.on{ border-color:var(--echo); box-shadow:0 0 0 2px rgba(176,138,46,.18); }
.lz__call figure{ margin:0; height:110px; display:grid; place-items:center; background:var(--bg-soft); border-radius:10px; } .lz__call figure img{ max-height:100px; max-width:92%; object-fit:contain; }
.lz__call b{ display:flex; align-items:center; gap:6px; font-size:15px; } .lz__call b .ic{ width:18px; height:18px; } .lz__call small{ color:var(--ink-soft); font-size:12.5px; line-height:1.4; flex:1; } .lz__call .opt{ margin:0; }
.lz__book:has(.lz__call){ grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); }
:root[data-theme="dark"] .lz__tone img, :root[data-theme="dark"] .lz__arc img, :root[data-theme="dark"] .lz__rm img, :root[data-theme="dark"] .lz__call img{ filter:invert(.88); } :root[data-theme="dark"] .lz__arc{ background:rgba(178,140,49,.10); }
@media (max-width:760px){ .lz__tones{ grid-template-columns:repeat(2, 1fr); } .lz__arc{ grid-template-columns:1fr; } .lz__arc figure img{ max-height:80px; } }
/* the pot (ui/cook-ui): the alchemy kettle, three slots, the dish foreseen, the pantry */
.ck__body{ grid-template-columns:360px minmax(0, 1fr); } .ck__left{ align-items:center; padding-top:34px; }
.ck .alc__pot4{ width:220px; margin:0 auto; }
.ck__slots{ display:flex; gap:10px; justify-content:center; } .ck__slot{ width:58px; height:58px; display:grid; place-items:center; border:1px dashed var(--hair-2); border-radius:50%; background:var(--bg); }
.ck__slot.on{ border-style:solid; border-color:var(--echo); cursor:pointer; } .ck__slot .ic.big{ width:36px; height:36px; }
.ck__fore{ width:100%; display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center; } .ck__fore figure{ margin:0; height:90px; display:grid; place-items:center; } .ck__fore img{ max-height:86px; max-width:90%; object-fit:contain; }
.ck__fore b{ font-size:16px; font-weight:600; } .ck__fore small{ color:var(--ink-soft); font-size:12.5px; } .ck__fore .lz__sub{ align-self:flex-start; }
.ck__hint{ width:100%; display:flex; justify-content:space-between; align-items:center; padding:5px 8px; border-bottom:1px dashed var(--hair); font-size:13px; } .ck__hint span{ display:flex; gap:3px; } .ck__hint .ic{ width:18px; height:18px; }
.ck__go{ width:100%; justify-content:center; margin:4px 0 0; }
.ck__grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(104px, 1fr)); gap:8px; }
.ck__ing{ position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 6px 8px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); cursor:pointer; font:inherit; color:var(--ink); }
.ck__ing:hover{ border-color:var(--ink); transform:translateY(-1px); } .ck__ing:disabled{ opacity:.4; pointer-events:none; } .ck__ing .ic.big{ width:42px; height:42px; } .ck__ing b{ font-size:12.5px; font-weight:500; }
.ck__n{ position:absolute; top:6px; right:8px; font-size:11px; color:var(--muted); font-weight:600; }
.ck__fresh{ display:flex; gap:2px; } .ck__fresh i{ width:6px; height:6px; border-radius:50%; background:var(--hair-2); } .ck__fresh i.on{ background:#6a9a4a; }
.ck__res{ width:100%; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; animation:lzIn .5s var(--ease-out) both; } .ck__res figure{ margin:0; height:200px; display:grid; place-items:center; }
.ck__res img{ max-height:190px; max-width:95%; object-fit:contain; } .ck__res b{ font-size:19px; font-weight:600; } .ck__res p{ margin:0; font-size:14px; line-height:1.5; } .ck__res.bad b{ color:var(--danger); }
.lz__stall{ display:grid; grid-template-columns:repeat(auto-fill, minmax(92px, 1fr)); gap:8px; margin-top:6px; }
.lz__stall button{ display:flex; flex-direction:column; align-items:center; gap:3px; padding:8px 4px; border:1px solid var(--hair-2); border-radius:12px; background:var(--bg); cursor:pointer; font:inherit; color:var(--ink); } .lz__stall button:disabled{ opacity:.4; } .lz__stall .ic.big{ width:34px; height:34px; } .lz__stall b{ font-size:12px; font-weight:500; }
:root[data-theme="dark"] .ck__fore img, :root[data-theme="dark"] .ck__res img{ filter:invert(.88); }
@media (max-width:760px){ .ck__body{ grid-template-columns:1fr; } .ck .alc__pot4{ width:160px; } }
/* the pantry as an inventory: shelves (filters), capacity, spoiling first, in-recipe marks */
.ck__head{ display:flex; align-items:center; justify-content:space-between; } .ck__head .lz__sub{ margin:0; } .ck__cap{ display:flex; align-items:center; gap:6px; } .ck__cap small{ font-size:12px; color:var(--muted); }
.ck__shelves{ display:flex; gap:6px; flex-wrap:wrap; margin:8px 0 10px; }
.ck__shelf{ display:flex; align-items:center; gap:5px; padding:5px 10px; border:1px solid var(--hair-2); border-radius:20px; background:var(--bg); cursor:pointer; font:inherit; font-size:12.5px; color:var(--ink-soft); }
.ck__shelf .ic{ width:15px; height:15px; } .ck__shelf b{ font-size:11px; color:var(--muted); } .ck__shelf.on{ background:var(--ink); color:#fff; border-color:var(--ink); } .ck__shelf.on b{ color:#ddd; } .ck__shelf:disabled{ opacity:.35; }
.ck__ing.soon{ border-color:var(--danger); } .ck__ing.soon::after{ content:""; position:absolute; top:6px; left:8px; width:7px; height:7px; border-radius:50%; background:var(--danger); }
.ck__rec{ position:absolute; bottom:6px; right:8px; width:7px; height:7px; border-radius:50%; background:var(--echo); }
.ck__hi{ display:inline-flex; opacity:.28; } .ck__hi.on{ opacity:1; } .ck__hint.ok b{ color:var(--ink); } .ck__hint .opt{ margin:0 0 0 6px; padding:3px 10px; font-size:12px; }
:root[data-theme="dark"] .ck__shelf.on{ background:var(--ink); color:var(--bg); }
/* the game's inventory (ui/game-ui gearScreen): tabs «Мешок / Кладовая», shelves, the room, the ingredient card */
.gtabs{ display:flex; gap:4px; margin:0 0 8px; border-bottom:1px solid var(--hair); }
.gtab{ display:flex; align-items:center; gap:6px; padding:7px 12px; border:0; border-bottom:2px solid transparent; background:none; cursor:pointer; font:inherit; font-size:13px; color:var(--ink-soft); }
.gtab.on{ color:var(--ink); border-bottom-color:var(--ink); } .gtab .ic{ width:16px; height:16px; } .gtab b{ font-size:11px; color:var(--muted); font-weight:600; }
.gpan{ grid-template-columns:repeat(auto-fill, minmax(92px, 1fr)); } .ck__ing.on{ border-color:var(--echo); box-shadow:0 0 0 2px rgba(176,138,46,.18); }
.gleg.ing .ing__big{ display:grid; place-items:center; height:90px; } .gleg.ing .ing__big .ic.big{ width:72px; height:72px; }
.ck__shelf.ico{ padding:5px 9px; } .ck__shelf.ico .ic{ width:16px; height:16px; }
.lz__p{ position:relative; } .lz__p .pc__need{ position:absolute; top:-6px; right:-6px; } .lz__req{ border-color:var(--echo); }
/* the talk window (ui/talk-ui) with «Досуг»: a closer look, the story, the manner */
.tk__look{ margin-top:10px; } .tk__look .kicker{ margin:0 0 4px; } .tkl__r{ display:grid; grid-template-columns:16px 1fr; gap:6px; margin:0 0 4px; font-size:12.5px; line-height:1.4; color:var(--ink-soft); } .tkl__r .ic{ width:14px; height:14px; margin-top:2px; }
.tkl__r.lv1 .ic{ color:var(--echo); } .tkl__r.lv2 .ic{ color:#6a4f8f; } .tkl__r.off{ color:var(--muted); font-style:italic; }
.tk__peek{ display:flex; align-items:center; gap:6px; width:100%; padding:5px 8px; border:1px dashed var(--hair-2); border-radius:10px; background:var(--bg-soft); cursor:pointer; font:inherit; font-size:12px; color:var(--ink); } .tk__peek .ic{ width:14px; height:14px; } .tk__peek .odds .pbar{ width:40px; }
.tk__story{ display:grid; grid-template-columns:96px 1fr; gap:12px; margin:0 0 12px; padding:10px; border:1px solid var(--echo); border-radius:12px; background:#fbf7ee; } .tk__story img{ max-width:100%; max-height:90px; object-fit:contain; align-self:center; } .tk__story p{ margin:0 0 6px; font-size:13.5px; line-height:1.45; }
.tk__mn{ margin:0 0 10px; } .tk__mnb{ display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.tk__mno{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:5px 4px; border:1px solid var(--hair-2); border-radius:10px; background:var(--bg); cursor:pointer; font:inherit; font-size:11.5px; color:var(--ink-soft); }
.tk__mno img{ height:34px; max-width:100%; object-fit:contain; } .tk__mno.own{ border-color:var(--echo); } .tk__mno.on{ background:var(--ink); color:#fff; border-color:var(--ink); } .tk__mno.on img{ filter:invert(1); }
:root[data-theme="dark"] .tk__story{ background:rgba(178,140,49,.10); } :root[data-theme="dark"] .tk__story img, :root[data-theme="dark"] .tk__mno img{ filter:invert(.88); } :root[data-theme="dark"] .tk__mno.on img{ filter:none; }
.tk__story .tk__tiles{ display:flex; flex-direction:column; gap:5px; } .tk__story .tk__opt{ min-height:0; padding:6px 10px; flex-direction:row; justify-content:space-between; align-items:center; }
/* «Живой разговор»: the manner's mark on its button */
.tk__mno{ position:relative; } .tk__mnk{ position:absolute; top:3px; right:4px; font-style:normal; font-size:10px; font-weight:700; line-height:1; }
.tk__mnk.good{ color:#4f7a3a; } .tk__mnk.bad{ color:#a33a2c; } .tk__mnk.risk{ color:#b0731c; } .tk__mnk.ok, .tk__mnk.q{ color:var(--ink-soft); }
.tk__mno.on .tk__mnk{ color:#fff; }
