/* Tkanie šichty – celá stránka bez posúvania: ovládanie okolo kresby (web 0.3.7) */
body:has(.tk-full){height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}
body:has(.tk-full) main{flex:1;min-height:0}
body:has(.tk-full) .foot,body:has(.tk-full) .skip{display:none}
.tk-full{height:100%;box-sizing:border-box;display:grid;grid-template-columns:250px minmax(0,1fr) 250px;gap:14px;padding:12px 16px;max-width:1500px;margin:0 auto}
.tk-panel{background:rgba(255,255,255,.95);border-radius:12px;box-shadow:0 10px 30px rgba(20,20,19,.08);padding:14px 16px;overflow:hidden;align-self:center;box-sizing:border-box}
.tk-panel h3{font:700 15px 'Barlow Condensed',system-ui,sans-serif;text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px;display:flex;align-items:center;gap:6px}
.tk-panel h3::before{content:'•';color:#e5850a}
.tk-panel h3:not(:first-child){margin-top:14px}
.tk-g{margin-bottom:9px}.tk-g label{display:flex;justify-content:space-between;font-size:13px;font-weight:500;margin-bottom:2px}
.tk-g input{width:100%;accent-color:#e5850a;margin:0}
.tk-v{font:12px ui-monospace,Consolas,monospace;color:#6f6d66}
.tk-c{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:13px}.tk-c label{flex:1}.tk-c input{width:30px;height:26px;border:0;padding:0;background:none;cursor:pointer}
.tk-leg{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;font-size:12px;color:#6f6d66}
.tk-leg span{display:flex;align-items:center;gap:5px}.tk-leg i{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.tk-leg .u1{background:#1f6fb8}.tk-leg .u2{background:#2d7a4b}.tk-leg .u3{background:#13807a}.tk-leg .u4{background:#d9731a}
.tk-leg .u5{background:#c0392b}.tk-leg .u6{background:#2f5d7c}.tk-leg .u7{background:#6b4fb3}.tk-leg .u8{background:#a8780a}
.tk-2{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:6px}
.tk-btn{width:100%;border:0;border-radius:6px;padding:9px 10px;font:600 14px 'Barlow',system-ui,sans-serif;color:#fff;background:#23292e;cursor:pointer}
.tk-btn:hover{filter:brightness(1.12)}.tk-btn.b{background:#2f5d7c}.tk-btn.g{background:#1d8a4a}.tk-btn.o{background:#e5850a}
.tk-btn:focus-visible,.tk-ar:focus-visible{outline:2px solid #e5850a;outline-offset:2px}
.tk-mid{min-height:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.tk-art{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}
#canvas-container{border-radius:12px;overflow:hidden;box-shadow:0 20px 40px rgba(20,20,19,.1);background:#f6f7f5;line-height:0}
#canvas-container canvas{display:block}
.tk-load{display:flex;align-items:center;justify-content:center;width:300px;height:300px;color:#6f6d66;font-size:18px;line-height:1.2}
.tk-seedrow{display:flex;align-items:center;gap:8px}
.tk-ar{width:40px;height:38px;border:0;border-radius:8px;background:#2f5d7c;color:#fff;font:700 20px/1 system-ui,sans-serif;cursor:pointer}.tk-ar.g{background:#1d8a4a}
.tk-seed{width:120px;height:38px;padding:0 8px;border-radius:8px;border:1px solid #d9dcd7;background:#fff;font:15px ui-monospace,Consolas,monospace;text-align:center;box-sizing:border-box}
.tk-desc{text-align:center;max-width:720px}
.tk-desc h1{font:700 22px/1.1 'Barlow Condensed',system-ui,sans-serif;margin:0 0 2px}
.tk-desc p{margin:0;font-size:13px;line-height:1.4;color:#6f6d66}
.tk-mobtabs{display:none}
@media (max-height:760px){.tk-desc p{display:none}.tk-g{margin-bottom:6px}.tk-panel h3:not(:first-child){margin-top:10px}}
/* mobil a úzke okno: kresba + seed + popis, panely sa otvárajú cez kresbu */
@media (max-width:900px){
  .tk-full{grid-template-columns:1fr;padding:8px 10px;gap:0}
  .tk-panel{position:fixed;left:10px;right:10px;bottom:10px;z-index:30;max-height:75dvh;overflow:auto;display:none;box-shadow:0 10px 40px rgba(0,0,0,.35)}
  .tk-panel.on{display:block}
  .tk-mobtabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}
  .tk-desc p{font-size:12px}
}
