
  :root{ --bg:#050508; --yel:#ffc800; --red:#ff2a6d; --pc: #00ff9d; --grn:#00ff9d; --blu:#05d9e8; --hc: var(--yel); --ac:var(--yel); }
  body{ font-family:'Montserrat',sans-serif; background:var(--bg); color:#fff; margin:0; padding:20px; padding-bottom:120px; display:flex; justify-content:center; }
  .app-wrap { width:100%; max-width:600px; }
  .nav{ display:flex; justify-content:space-between; margin-bottom:20px; } 
.head { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding-bottom: 15px; 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
  margin-bottom: 20px; 
  height: 60px; 
}

.head-l { 
  display: flex; 
  align-items: center; 
  gap: 5px; 
}

.head-r {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-box { 
  display: flex; 
  align-items: center; 
  gap: 1px; 
}

.logo-txt { 
  font-family: 'Rajdhani', sans-serif; 
  font-weight: 800; 
  font-size: 16px; 
  color: #ccc; 
  letter-spacing: 2px; 
  line-height: 1; 
  position: relative;
  top: -2px; 
}
.ico { 
  width: 34px; 
  height: 34px; 
  border: 1px solid #333; 
  border-radius: 50%; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  color: #fff; 
  text-decoration: none; 
  background: transparent; 
  cursor: pointer; 
  transition: 0.2s;
}

.ico:hover { 
  border-color: #fff; 
  background: rgba(255,255,255,0.1); 
}

.btn-back {
  font-size: 36px;
  color: #666;
  text-decoration: none;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 30px;
  margin-right: 5px;
  position: relative;
  top: -5px;
  line-height: 0;
  padding-bottom: 4px;
}
.btn-back:hover { color: #fff; }
  
  .head{ text-align:center; margin-bottom:20px; border-bottom:1px dashed #444; padding-bottom:10px; }
  
  .ebox{ background:#111; border:1px solid #333; padding:10px; border-radius:8px; margin-bottom:20px; transition:0.3s; }
  .emeta{ display:flex; justify-content:space-between; font-size:10px; font-weight:bold; margin-bottom:5px; font-family:'Rajdhani'; }
  .ebg{ width:100%; height:6px; background:#222; border-radius:3px; overflow:hidden; } .efill{ height:100%; width:0%; background:var(--yel); transition:0.3s; box-shadow:0 0 10px var(--yel); }
  .ebox.ovr{ border-color:var(--red); box-shadow:0 0 15px rgba(255,42,109,0.2); } .ebox.ovr .efill{ background:var(--red); box-shadow:0 0 10px var(--red); }
  .omsg{ display:none; color:var(--red); font-size:10px; text-align:center; margin-top:5px; font-weight:bold; animation:p 1s infinite; }
  
  .cp{ background:rgba(18,18,26,0.8); border:1px solid #333; padding:15px; border-radius:12px; margin-bottom:15px; }
  .sr{ display:flex; justify-content:space-between; font-size:12px; margin-bottom:5px; }
  .gbadge{ background:#333; padding:2px 6px; border-radius:4px; font-size:10px; color:#aaa; transition:0.3s; } 
  .g-alert{ background:var(--yel); color:#000; font-weight:bold; }
  
.ds-con {
  position: relative;
  height: 36px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.ds-vis {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  left: 0; width: 100%;
  height: 4px;
  background: #333;
  border-radius: 2px;
  z-index: 0;
}

.ds-fill {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  height: 4px;
  background: var(--yel);
  box-shadow: 0 0 10px var(--yel);
  z-index: 1;
  transition: width 0.1s;
}

input[type=range] {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  left: 0; width: 100%;
  -webkit-appearance: none;
  background: transparent;
  margin: 0;
  pointer-events: none;
  z-index: 5;
  touch-action: pan-y;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px; 
  width: 12px;
  background: #000;
  border: 2px solid var(--yel);
  transform: skewX(-15deg);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 5px var(--yel);
  transition: 0.2s;
  pointer-events: auto;
}

input[type=range].ig::-webkit-slider-thumb {
  background: var(--yel);
  border-color: #fff;
  z-index: 10;
  width: 16px;
  height: 24px;
  margin-top: -10px;
}

input[type=range].rng-now::-webkit-slider-thumb {
  background: #222;
  border-color: #555;
  box-shadow: none;
  opacity: 0.8;
}
.ds-con.limit-hit input[type=range].ig::-webkit-slider-thumb {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 15px var(--red);
}
  .rng-now::-webkit-slider-thumb{ background:#444; border:1px solid #888; z-index:1; transform:scale(0.8); box-shadow:none; }

  .btn{ width:100%; padding:15px; background:var(--yel); color:#000; font-weight:bold; border:none; font-family:'Rajdhani'; font-size:16px; margin-top:10px; cursor:pointer; clip-path:polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition:0.3s; }
  .btn:hover { box-shadow:0 0 20px var(--yel); transform:translateY(-2px); }
  .btn.dis{ background:#333; color:#666; pointer-events:none; box-shadow:none; transform:none; }

  .blueprint-card { display: none; background: #12121a; border: 2px solid var(--yel); padding: 25px; margin-top: 20px; position: relative; box-shadow: 0 0 40px rgba(255, 200, 0, 0.1); animation: drawIn 1s ease-out; }
  .blueprint-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 15px; }
  .bp-icon { font-size: 30px; }
  .bp-phase { font-size: 10px; color: var(--yel); border: 1px solid var(--yel); padding: 2px 6px; text-transform: uppercase; margin-bottom: 5px; display:inline-block; }
  .bp-title { font-family: 'Rajdhani'; font-weight: bold; font-size: 22px; color: #fff; margin:0; line-height:1; }
  
  .step-item { display: flex; gap: 10px; margin-bottom: 15px; font-size: 13px; line-height: 1.5; color: #ccc; }
  .step-num { font-family: 'Rajdhani'; color: var(--yel); font-weight: bold; font-size: 16px; }

  .neural-link { margin-top: 20px; background: #080808; border: 1px solid #333; padding: 15px; display: flex; align-items: center; justify-content: space-between; border-left: 3px solid var(--yel); cursor:pointer; }
  .neural-title { color: var(--yel); font-family: 'Rajdhani'; font-weight: bold; font-size: 12px; letter-spacing:1px; }
  .neural-sub { color: #888; font-size: 10px; text-transform: uppercase; }
  
.field-data { 
  margin-top: 20px; 
  background: rgba(5, 217, 232, 0.05);
  border: 1px solid var(--blu);
  border-left: 4px solid var(--blu);
  padding: 15px; 
  border-radius: 6px; 
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 0 20px rgba(5, 217, 232, 0.1);
}

.field-hl { 
  color: var(--blu); 
  font-family: 'Rajdhani'; 
  font-weight: 800; 
  font-size: 14px; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  display: block; 
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(5, 217, 232, 0.3);
}
  .field-hl { color:var(--blu); font-weight:bold; }

  .btn-ref { background:transparent; border:1px dashed #666; color:#888; width:100%; padding:10px; margin-top:15px; font-size:10px; cursor:pointer; }
  .btn-ref:hover { color:#fff; border-color:#fff; }

.wallpaper-card {
  display: none;
  flex-direction: column;
  position: relative;
  
  width: 100%;
  max-width: 400px;
  min-height: 700px;
  margin: 30px auto;
  
  background: #050505;
  border: 4px solid var(--yel);
  padding: 30px 25px;
  box-sizing: border-box;
  overflow: hidden;
  
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
}

.wall-corner { position: absolute; width: 20px; height: 20px; border-color: var(--yel); border-style: solid; z-index: 2; }
.wall-corner.tl { top: 0; left: 0; border-width: 0 0 4px 0; background: var(--yel); width: 60px; height: 10px; }
.wall-corner.tr { top: 0; right: 0; border-width: 0 0 4px 0; background: var(--yel); width: 60px; height: 10px; }
.wall-corner.bl { bottom: 20px; left: 20px; border-width: 0 0 2px 2px; opacity: 0.5; }
.wall-corner.br { bottom: 20px; right: 20px; border-width: 0 2px 2px 0; opacity: 0.5; }

.wall-scanlines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.1;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, var(--yel) 3px);
}
.wall-noise {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
}

.wall-top {
  display: flex; justify-content: space-between; border-bottom: 1px solid #333;
  padding-bottom: 10px; margin-bottom: 25px; opacity: 0.7; font-size: 10px; letter-spacing: 2px;
}

.wall-hero {
  display: flex; align-items: center; gap: 20px; margin-bottom: 30px;
}

.wall-icon-circle {
  width: 70px; height: 70px;
  background: rgba(255, 200, 0, 0.1);
  border: 1px solid var(--yel);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(255, 200, 0, 0.1);
}
.w-ico { font-size: 32px; filter: drop-shadow(0 0 10px var(--yel)); }

.wall-meta { display: flex; flex-direction: column; justify-content: center; }
.wall-tag { 
  font-size: 12px; color: var(--yel); font-weight: bold; letter-spacing: 3px; 
  text-transform: uppercase; margin-bottom: 5px; 
  display: inline-block; background: rgba(255,200,0,0.1); padding: 2px 6px; border-radius: 4px; width: fit-content;
}
.wall-title {
  font-size: 28px; line-height: 1; margin: 0; text-transform: uppercase; font-weight: 800;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.wall-desc-box {
  background: #111;
  border-left: 4px solid var(--yel);
  padding: 15px;
  margin-bottom: 30px;
}
.wall-desc {
  font-family: 'Montserrat', sans-serif; font-size: 13px; line-height: 1.5; color: #ddd; font-style: italic;
}

.wall-grid {
  display: flex; flex-direction: column; gap: 15px; flex-grow: 1;
}

.w-step-row {
  display: flex; gap: 12px; align-items: flex-start;
}
.w-check {
  min-width: 18px; height: 18px; border: 1px solid #555; border-radius: 3px; margin-top: 3px;
  position: relative;
}

.w-step-txt {
  font-family: 'Montserrat', sans-serif; font-size: 12px; color: #ccc; line-height: 1.4;
}
.w-step-txt strong { color: #fff; font-family: 'Rajdhani'; letter-spacing: 0.5px; }

.wall-footer {
  margin-top: 40px; padding-top: 20px; border-top: 2px dashed #333;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.wall-brand { font-size: 24px; font-weight: 800; letter-spacing: 2px; color: #fff; opacity: 0.5; }
.wall-code { text-align: right; }
.wall-code span { display: block; font-size: 9px; color: #555; margin-bottom: 2px; }
.barcode {
  height: 20px; width: 80px;
  background: repeating-linear-gradient(90deg, #333 0, #333 2px, transparent 2px, transparent 4px, #333 4px, #333 5px);
}
  @keyframes p{ 0%{opacity:1} 50%{opacity:0.5} 100%{opacity:1} }
  @keyframes drawIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
#toast { 
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(50px); 
  background: #111; border: 1px solid var(--yel); color: #fff; 
  padding: 12px 25px; border-radius: 50px; 
  font-family: 'Rajdhani'; font-weight: bold; font-size: 13px; 
  z-index: 10000; opacity: 0; pointer-events: none; 
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  box-shadow: 0 5px 20px rgba(0,0,0,0.8); text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mod { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.95); z-index:999; align-items:center; justify-content:center; padding:20px; }
.box { background:#12121a; border:1px solid var(--yel); padding:25px; width:100%; max-width:400px; border-radius:16px; text-align:center; box-shadow:0 0 30px rgba(255,200,0,0.1); }
.tut-needed { border-color:var(--yel)!important; animation:p 1.5s infinite; }
.hero-box { 
  text-align: center; 
  margin-top: 10px; 
  margin-bottom: 30px; 
  animation: fadeInTitle 1s ease-out;
}

.hero-title { 
  font-family: 'Rajdhani', sans-serif; 
  font-weight: 800; 
  font-size: 42px;
  line-height: 1; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  color: #fff;
  
  text-shadow: 0 0 10px var(--hc), 0 0 20px var(--hc);
}

.hero-sub { 
  font-size: 10px; 
  color: var(--hc); 
  letter-spacing: 4px; 
  text-transform: uppercase; 
  font-weight: bold; 
  margin-top: 5px; 
  opacity: 0.8;
}

@keyframes fadeInTitle { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.smart-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(5, 217, 232, 0.1); 
  border: 1px solid var(--blu); 
  color: var(--blu);
  padding: 2px 8px; 
  border-radius: 4px; 
  cursor: pointer; 
  font-weight: bold; 
  font-size: 11px;
  transition: 0.2s;
  margin-top: 5px;
}
.smart-tag:hover { background: var(--blu); color: #000; box-shadow: 0 0 10px var(--blu); }

#mem-mod { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(3px); }
.mem-card { 
  background: #12121a; border-left: 4px solid var(--blu); 
  padding: 20px; width: 85%; max-width: 350px; 
  border-radius: 8px; position: relative; 
  box-shadow: 0 0 30px rgba(5, 217, 232, 0.2); 
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mem-icon { font-size: 30px; margin-bottom: 10px; display: block; }
.mem-title { font-family: 'Rajdhani'; font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 5px; text-transform: uppercase; }
.mem-desc { font-size: 13px; color: #ccc; line-height: 1.5; }
.mem-close { position: absolute; top: 10px; right: 10px; background: none; border: none; color: #666; font-size: 20px; cursor: pointer; }

@keyframes popIn { from{transform:scale(0.8);opacity:0} to{transform:scale(1);opacity:1} }
.audio-chip {
  margin-top: 25px;
  margin-bottom: 25px;
  background: rgba(255, 200, 0, 0.05); /* Jemný žlutý glow */
  border: 1px solid rgba(255, 200, 0, 0.3); /* Zvýrazněný rámeček */
  border-left: 4px solid var(--yel);
  border-radius: 6px;
  padding: 15px; /* Více prostoru */
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; position: relative; overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.audio-chip:hover { 
  border-color: var(--yel); 
  background: rgba(255, 200, 0, 0.1); 
  transform: translateY(-2px);
}
.audio-chip.playing { 
  border-color: var(--yel); 
  box-shadow: 0 0 25px rgba(255, 200, 0, 0.15); 
  background: rgba(0,0,0,0.8); 
}

.ac-info { z-index: 2; display:flex; flex-direction:column; }
.ac-title { font-family: 'Rajdhani'; font-weight: 800; font-size: 12px; color: #fff; letter-spacing: 1px; }
.ac-status { font-size: 9px; color: var(--yel); font-weight: bold; margin-top: 2px; text-transform: uppercase; }

.ac-control {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--yel);
  display: flex; justify-content: center; align-items: center; font-size: 10px;
  color: var(--yel); background: #000; z-index: 2; transition: 0.2s;
}
.audio-chip.playing .ac-control { background: var(--yel); color: #000; transform: scale(1.1); }

.waveform {
  position: absolute; right: 50px; bottom: 10px; display: flex; align-items: flex-end; gap: 2px; height: 15px; opacity: 0; transition:0.3s;
}
.audio-chip.playing .waveform { opacity: 0.6; }
.bar { width: 3px; background: var(--yel); animation: eq 0.5s infinite ease-in-out; }
.bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.bar:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 30%; animation-delay: 0.4s; }

@keyframes eq { 0%{height:20%} 50%{height:100%} 100%{height:20%} }
.brief-box { display: flex; gap: 10px; background: rgba(255, 200, 0, 0.05); border: 1px solid var(--yel); padding: 12px; border-radius: 8px; margin-bottom: 20px; align-items: center; }
.bb-ico { font-size: 20px; }
.bb-txt { font-size: 11px; color: #ccc; line-height: 1.4; }
.bb-txt strong { color: var(--yel); font-family: 'Rajdhani'; letter-spacing: 1px; }
.lock-wrap { 
  margin-top: 20px; 
  padding-top: 15px;
  border-top: 1px solid #333;
}
.hold-btn { 
  width: 100%; height: 50px; background: #000; border: 1px solid var(--yel); 
  border-radius: 6px; position: relative; overflow: hidden; cursor: pointer;
  transition: 0.2s;
}
.hold-btn:active { transform: scale(0.98); }
.hb-fill { 
  position: absolute; top: 0; left: 0; bottom: 0; width: 0%; 
  background: var(--yel); transition: width 0.05s linear; z-index: 1;
}
.hb-txt { 
  position: relative; z-index: 2; font-family: 'Rajdhani'; font-weight: 800; 
  color: var(--yel); letter-spacing: 2px; font-size: 14px; 
  mix-blend-mode: difference;
}
.hb-done .hb-fill { width: 100% !important; background: var(--grn); }
.hb-done .hb-txt { color: #000; mix-blend-mode: normal; content: "MISE PŘIJATA"; }
.active-mode { animation: slideUp 0.5s ease-out; }

.mission-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; padding-bottom:10px; border-bottom:1px solid #333; }
.m-day { font-family:'Rajdhani'; font-weight:800; font-size:24px; color:#fff; }
.m-status { font-size:10px; background:rgba(0,255,157,0.1); color:var(--grn); padding:4px 8px; border-radius:4px; font-weight:bold; letter-spacing:1px; animation:p 2s infinite; }

.check-row { display:flex; gap:10px; margin-top:20px; }
.btn-chk { flex:1; padding:15px; border:none; border-radius:6px; font-family:'Rajdhani'; font-weight:bold; font-size:14px; cursor:pointer; transition:0.2s; color:#000; }
.btn-chk.ok { background:var(--grn); color:#000;}
.btn-chk.fail { background:#333; color:#aaa; border:1px solid #444; }
.btn-chk:active { transform:scale(0.95); }

.mission-done { background:#111; border:1px solid var(--grn); color:var(--grn); padding:15px; text-align:center; font-weight:bold; border-radius:6px; margin-top:20px; }

.btn-abort { 
  width: 100%; 
  margin-top: 30px; 
  background: rgba(255, 42, 109, 0.05);
  border: 1px dashed var(--red);
  color: var(--red); 
  font-size: 11px; 
  padding: 12px;
  cursor: pointer; 
  text-decoration: none; 
  font-weight: bold; 
  font-family: 'Rajdhani';
  letter-spacing: 1px;
  border-radius: 6px;
  transition: 0.3s;
  text-transform: uppercase;
}
.btn-abort:hover { 
  background: var(--red); 
  color: #000; 
  box-shadow: 0 0 15px var(--red);
}

.box h3 { font-size: 20px; letter-spacing: 1px; margin-bottom: 10px; }

@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.active-mode {
  background: #050a08 !important;
  border: 1px solid var(--grn) !important;
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.05) !important;
}

.mission-header {
  border-bottom: 1px solid #222;
}

.m-day {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.m-status {
  font-size: 10px; background: var(--grn); color: #333;
  padding: 4px 10px; border-radius: 4px; font-weight: 800;
  letter-spacing: 1px; animation: p 3s infinite;
}

.check-row { display: flex; gap: 10px; margin-top: 25px; }



.mission-done {
  background: rgba(0,255,157,0.05); 
  border: 1px solid var(--grn); 
  color: var(--grn); 
  padding: 20px; 
  text-align: center; 
  font-weight: 800; 
  font-family: 'Rajdhani';
  letter-spacing: 2px;
  border-radius: 8px; margin-top: 20px;
}
.report-card {
  text-align: center;
  padding: 30px 10px;
  background: radial-gradient(circle at center, rgba(0,255,157,0.05) 0%, transparent 70%);
}
.rep-score-box {
  margin: 20px 0;
  position: relative;
  display: inline-block;
}
.rep-score {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.rep-total {
  font-size: 24px;
  color: #666;
  vertical-align: top;
  margin-left: 5px;
}
.rep-rank {
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 10px;
  padding: 5px 15px;
  border-radius: 4px;
  display: inline-block;
}
.rank-s { color: var(--grn); border: 1px solid var(--grn); box-shadow: 0 0 15px rgba(0,255,157,0.2); }
.rank-b { color: var(--yel); border: 1px solid var(--yel); }
.rank-f { color: var(--red); border: 1px solid var(--red); }

.reward-box {
  background: #111;
  border: 1px solid #333;
  padding: 15px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
}
.ebox.full { 
    border-color: var(--grn); 
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2); 
}
.ebox.full .efill { 
    background: var(--grn); 
    box-shadow: 0 0 15px var(--grn); 
}
.ebox.full #lval { 
    color: var(--grn); 
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}
.rew-val { font-family: 'Rajdhani'; font-weight: bold; font-size: 18px; color: var(--yel); }
.prog-track {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  background: #080808;
  padding: 10px;
  border-radius: 50px;
  border: 1px solid #333;
}
.prog-node {
  width: 100%;
  height: 8px;
  background: #222;
  margin: 0 2px;
  border-radius: 4px;
  position: relative;
}
.prog-node.done { background: var(--grn); box-shadow: 0 0 5px var(--grn); }
.prog-node.fail { background: var(--red); }
.prog-node.active { background: #fff; animation: pulseNode 1.5s infinite; }

@keyframes pulseNode { 0%{opacity:0.3} 50%{opacity:1} 100%{opacity:0.3} }
.dock {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; 
  gap: 6px;
  background: rgba(10, 10, 15, 0.95);
  padding: 10px 12px; 
  border-radius: 50px; 
  border: 1px solid #333;
  backdrop-filter: blur(10px); 
  z-index: 9000; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  width: max-content;
  max-width: 95%;
}

.dock-item {
  width: 38px; 
  height: 38px; 
  border-radius: 50%;
  display: flex; 
  justify-content: center; 
  align-items: center;
  text-decoration: none; 
  font-size: 16px; 
    background: #1a1a1a; 
  border: 1px solid rgba(255,255,255,0.1); 
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex-shrink: 0;
    color: var(--ac); 
}


.dock-item svg {
  stroke: var(--ac);
  transition: 0.3s;
  filter: drop-shadow(0 0 3px var(--ac));
}


.dock-item:hover, .dock-item.active {
 
  background: var(--ac); 
  filter: none;
  box-shadow: 0 0 15px var(--ac); 
  border-color: var(--ac);
  
  transform: translateY(-5px) scale(1.1);
}


.dock-item:hover svg, .dock-item.active svg {
  stroke: #000000;
}

body { padding-bottom: 100px; }
.sq-box {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed #444;
  border-radius: 8px;
  padding: 12px;
}

.sq-title {
  font-size: 10px;
  color: #888;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 1px solid #333;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #ccc;
  cursor: pointer;
  transition: 0.2s;
}

.sq-item:hover {
  border-color: var(--blu);
  color: #fff;
  transform: translateX(5px);
}
.ins-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--yel);
  padding: 10px 15px;
  margin: 0 auto 20px auto;
  border-radius: 6px;
  max-width: 100%;
  transition: 0.3s;
}

.ins-icon {
  font-size: 16px;
  opacity: 0.8;
  animation: pulse-slow 3s infinite;
}

.ins-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #ccc;
  line-height: 1.4;
  text-align: left;
}

.ins-text strong {
  color: #fff;
  font-family: 'Rajdhani';
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.amb {
  position: fixed;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: radial-gradient(circle at 50% 30%, var(--yel), transparent 60%);
  opacity: 0.1;
  z-index: -1;
  animation: amb-pulse 5s infinite alternate;
  pointer-events: none;
}

@keyframes amb-pulse {
  0% { opacity: 0.08; transform: scale(1); }
  100% { opacity: 0.15; transform: scale(1.1); }
}
.data-uplink {
  background: linear-gradient(90deg, rgba(5, 217, 232, 0.05) 0%, rgba(5, 217, 232, 0.15) 100%);
  border: 1px solid rgba(5, 217, 232, 0.3);
  border-left: 4px solid var(--blu);
  border-radius: 0 4px 4px 0;
  
  padding: 15px 20px;
  margin-bottom: 25px;
  
  display: flex;
  align-items: center;
  gap: 15px;
  
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.data-uplink:hover {
  background: rgba(5, 217, 232, 0.2);
  box-shadow: 0 0 25px rgba(5, 217, 232, 0.25);
  transform: translateX(5px);
  border-color: var(--blu);
}

.data-uplink::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  animation: uplink-scan 3s infinite;
  pointer-events: none;
}

@keyframes uplink-scan {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.du-icon {
  font-size: 24px;
  color: var(--blu);
  filter: drop-shadow(0 0 8px var(--blu));
  animation: du-pulse 2s infinite ease-in-out;
}

@keyframes du-pulse {
  0% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.6; transform: scale(1); }
}

.du-content { flex: 1; display:flex; flex-direction:column; align-items:flex-start; }

.du-head {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 10px;
  color: var(--blu);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.du-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.du-arrow {
  color: var(--blu);
  font-size: 18px;
  font-weight: bold;
  opacity: 0.7;
}
.du-cta {
  font-size: 10px;
  color: #fff;
  background: rgba(5, 217, 232, 0.2);
  border: 1px solid var(--blu);
  padding: 2px 6px;
  border-radius: 3px;
  
  display: inline-block;
  margin-top: 5px;
  
  font-family: 'Rajdhani', sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  
  animation: cta-blink 1.5s infinite;
}

@keyframes cta-blink {
  0%, 100% { opacity: 1; border-color: var(--blu); }
  50% { opacity: 0.6; border-color: transparent; }
}
.act-grid {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btn-act {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #444;
  color: #ccc;
  
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  font-family: 'Rajdhani', sans-serif;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
}

.btn-act-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.btn-act:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-act:active {
  transform: scale(0.98);
}
#sys-tut-layer { display:none; position:fixed; inset:0; z-index:10000; pointer-events:none; }

#sys-tut-mask { 
  position:absolute; inset:0; 
  background: rgba(0,0,0,0.85); 
  transition: 0.4s ease;
  clip-path: polygon(0% 0%, 0% 100%, 0% 100%, 0% 0%);
}

#sys-tut-focus {
  position: fixed; 
  border: 2px solid var(--yel);
  box-shadow: 0 0 30px var(--yel), inset 0 0 20px rgba(255, 200, 0, 0.2);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
  z-index: 10002;
  opacity: 0;
}

#sys-tut-msg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: #0a0a0e;
  border: 1px solid var(--yel);
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  z-index: 10003;
  pointer-events: auto;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  transition: opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
  opacity: 0;
}

.t-bot { bottom: 100px; top: auto; }
.t-top { top: 100px; bottom: auto; }

.tut-head { color: var(--yel); font-family: 'Rajdhani'; font-weight: 800; font-size: 18px; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }
.tut-controls { display: flex; gap: 10px; margin-top: 20px; justify-content: center; }

.btn-tut { padding: 10px 20px; border: none; border-radius: 6px; font-family: 'Rajdhani'; font-weight: bold; cursor: pointer; font-size: 14px; }
.btn-tut-next { background: var(--yel); color: #000; flex: 2; }
.btn-tut-skip { background: transparent; border: 1px solid #444; color: #888; flex: 1; }

@keyframes slideUpTut { from{opacity:0; transform:translate(-50%, 20px)} to{opacity:1; transform:translate(-50%, 0)} }

/* --- NÁSTROJE: AUDIO PŘEPÍNAČ & ARCHIV --- */


.audio-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.audio-toggle input { display: none; }
.toggle-slider { 
  width: 34px; height: 18px; background: #333; border-radius: 10px; 
  position: relative; transition: 0.3s; flex-shrink: 0; 
}
.toggle-slider::after { 
  content: ''; position: absolute; top: 2px; left: 2px; 
  width: 14px; height: 14px; background: #888; border-radius: 50%; transition: 0.3s; 
}
.audio-toggle input:checked + .toggle-slider { background: var(--yel); }
.audio-toggle input:checked + .toggle-slider::after { left: 18px; background: #000; }
.toggle-label { font-size: 10px; font-weight: bold; letter-spacing: 1px; color: #ccc; }

/* --- PILL TLAČÍTKA (Archiv) --- */
.data-pill {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 8px 16px;
    border-radius: 50px; /* Kulatý vzhled */
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.data-pill:hover {
    border-color: var(--blu);
    color: #fff;
    background: rgba(5, 217, 232, 0.05);
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.1);
}
.data-pill svg {
    color: var(--blu); /* Ikonka chytne tvou neonově modrou */
}

/* --- POLOŽKY V ARCHIVU --- */
.arch-item { 
  background: #111; border: 1px solid #333; border-left: 3px solid var(--blu); 
  padding: 15px; margin-bottom: 10px; border-radius: 4px; cursor: pointer; transition: 0.2s; 
}
.arch-item:hover { 
  background: #1a1a1a; border-color: var(--blu); transform: translateX(3px); 
}
.arch-head { display: flex; justify-content: space-between; margin-bottom: 8px; align-items: flex-start; gap: 10px; }
.arch-title { font-family: 'Rajdhani', sans-serif; font-weight: bold; font-size: 16px; color: #fff; line-height: 1.1; }
.arch-date { font-size: 10px; color: #666; white-space: nowrap; }
.arch-meta { display: flex; gap: 12px; font-size: 10px; color: #aaa; }

/* --- OVERCLOCK MÓD --- */
.blueprint-card.overclock {
    border-color: var(--blu) !important;
    box-shadow: 0 0 40px rgba(5, 217, 232, 0.15) !important;
}
.blueprint-card.overclock .m-status {
    background: rgba(5, 217, 232, 0.1);
    color: var(--blu);
    text-shadow: 0 0 10px rgba(5, 217, 232, 0.5);
    border: 1px solid var(--blu);
}
.blueprint-card.overclock .prog-node.done {
    background: var(--blu);
    box-shadow: 0 0 12px var(--blu);
}

/* --- EXPORTOVACÍ TLAČÍTKO V ARCHIVU --- */
.btn-export {
    background: rgba(5, 217, 232, 0.1);
    border: 1px solid var(--blu);
    color: var(--blu);
    padding: 10px 15px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    margin-top: 15px;
    text-transform: uppercase;
}
.btn-export:hover {
    background: var(--blu);
    color: #000;
    box-shadow: 0 0 20px var(--blu);
}