:root { color-scheme: dark; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #171510; color: #eee7d8; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
main { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
header { display: flex; justify-content: space-between; gap: 2rem; align-items: end; padding: 1.5rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid #5e594d; background: #211f19; }
h1 { margin: .1rem 0; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: .05em; }
.nadpis { color: #c3a56b; margin: 0; text-transform: uppercase; font-size: .72rem; letter-spacing: .16em; }
.popis { margin: .5rem 0 0; color: #b4ac9e; font-size: .85rem; }
.akce { display: flex; flex-wrap: wrap; gap: .6rem; }
.nahrat, button, select { font: inherit; border: 1px solid #82755f; background: #312d23; color: #f5eddd; padding: .7rem .85rem; cursor: pointer; }
.nahrat { display: inline-block; text-decoration: none; }
.viewer { position: relative; min-height: 68vh; overflow: hidden; background: radial-gradient(circle at 50% 35%, #5f5849, #24221c 68%); }
#platno { display: block; width: 100%; height: 100%; min-height: 68vh; outline: none; }
.panel { position: absolute; top: 1rem; right: 1rem; width: min(17rem, calc(100% - 2rem)); padding: 1rem; background: #1c1a15e8; border: 1px solid #756d5d; box-shadow: 0 8px 30px #0008; }
.panel label { display: block; margin-bottom: .35rem; color: #c3a56b; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.panel select, .panel button { width: 100%; margin-bottom: 1rem; }
.panel p { color: #a9a092; font-size: .7rem; line-height: 1.5; margin: 0; }
.stav { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); padding: .6rem .8rem; background: #171510d9; border: 1px solid #615a4d; font-size: .78rem; }
.stav.chyba { border-color: #c26b5c; color: #ffd7d0; }
@media (max-width: 620px) { header { align-items: stretch; flex-direction: column; } .akce { display: grid; } .panel { top: auto; bottom: 4.2rem; } }
