/* ══════ apps.css — Paint, jAMP, jCQ, Notepad, jSweeper Fenster ══════ */

/* ── Win98 Paint Window ── */
#paint-overlay{display:none}
#paint-overlay.active{display:contents}
#paint-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  width:620px;max-width:92vw;max-height:78vh;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
#paint-menu{
  display:flex;gap:0;padding:1px 0;border-bottom:1px solid #808080;flex-shrink:0;
}
#paint-menu span{padding:1px 8px;cursor:default}
#paint-menu span:hover{background:#00007B;color:#fff}
#paint-body{display:flex;flex:1;overflow:hidden;min-height:0}
#paint-tools{
  width:34px;background:#C0C0C0;border-right:1px solid #808080;
  display:flex;flex-direction:column;gap:1px;padding:2px;flex-shrink:0;
  border:1px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  margin:2px;
}
.paint-tool{
  width:28px;height:22px;display:flex;align-items:center;justify-content:center;
  border:1px solid transparent;font-size:13px;cursor:default;
}
.paint-tool:hover{border-color:#DFDFDF #808080 #808080 #DFDFDF}
.paint-tool.active{border-color:#808080 #DFDFDF #DFDFDF #808080;background:#B0B0B0}
#paint-canvas{
  flex:1;overflow:auto;background:#fff;margin:2px;
  border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
  display:flex;align-items:center;justify-content:center;
}
#paint-canvas img{max-width:100%;max-height:100%;display:block;image-rendering:auto}
#paint-colors{
  display:flex;gap:0;padding:2px 4px;border-top:1px solid #808080;flex-shrink:0;
  align-items:center;
}
#paint-fg{width:18px;height:18px;background:#000;border:2px solid;border-color:#808080 #DFDFDF #DFDFDF #808080}
#paint-palette{display:flex;flex-wrap:wrap;gap:0;margin-left:6px;width:224px}
.pal-color{width:14px;height:14px;border:1px solid #808080;cursor:default}
#paint-status{
  border-top:1px solid #DFDFDF;padding:1px 4px;font-size:10px;color:#000;
  display:flex;gap:12px;flex-shrink:0;
}
#paint-status span{border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;padding:0 6px}

/* ── Win98 jAMP Window ── */
#jamp-overlay{display:none}
#jamp-overlay.active{display:contents}
#jamp-win{
  position:fixed;top:20px;right:20px;
  width:340px;max-width:95vw;height:520px;max-height:80vh;
  background:transparent;display:flex;flex-direction:column;
}
#jamp-drag{
  position:absolute;top:0;left:0;right:30px;height:22px;
  cursor:move;z-index:1;
}
#jamp-frame{flex:1;border:none;width:100%;background:transparent}

/* ── Win98 jCQ Window ── */
#jcq-overlay{display:none}
#jcq-overlay.active{display:contents}
#jcq-win{
  position:fixed;bottom:50px;right:20px;
  width:340px;max-width:95vw;height:540px;max-height:78vh;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
#jcq-frame{flex:1;border:none;width:100%;background:#0D1117}

/* ── Win98 Notepad (LIES_MICH.txt) ── */
#notepad-overlay{display:none}
#notepad-overlay.active{display:contents}
#notepad-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  width:500px;max-width:92vw;height:400px;max-height:75vh;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
.np-menu{display:flex;gap:0;padding:1px 0;border-bottom:1px solid #808080;flex-shrink:0}
.np-menu span{padding:1px 8px;cursor:default}
.np-menu span:hover{background:#00007B;color:#fff}
#notepad-body{
  flex:1;overflow-y:auto;background:#fff;margin:0 2px;
  border:2px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
  padding:4px 6px;font-family:'Courier New',monospace;font-size:12px;
  color:#000;line-height:1.4;white-space:pre-wrap;
}
#notepad-input-row{
  display:flex;gap:4px;padding:4px;align-items:center;border-top:1px solid #808080;
}
#notepad-input{
  flex:1;font-family:'Courier New',monospace;font-size:11px;
  border:2px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;padding:2px 4px;
}
#notepad-send{
  padding:3px 8px;background:#C0C0C0;
  border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;cursor:pointer;
}
#notepad-send:active{border-color:#808080 #DFDFDF #DFDFDF #808080}
#notepad-status{border-top:1px solid #DFDFDF;padding:1px 4px;font-size:10px;color:#000}
#notepad-status span{border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;padding:0 6px}

/* ── Win98 jSweeper ── */
#mine-overlay{display:none}
#mine-overlay.active{display:contents}
#mine-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
.mine-menu{display:flex;gap:0;padding:1px 0;border-bottom:1px solid #808080}
.mine-menu span{padding:1px 8px;cursor:default}
.mine-menu span:hover{background:#00007B;color:#fff}
#mine-header{
  display:flex;justify-content:space-between;align-items:center;
  padding:4px 6px;border:3px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;margin:6px;
}
.mine-lcd{
  width:42px;background:#000;color:#F00;font-family:'Consolas',monospace;
  font-size:18px;font-weight:bold;text-align:center;padding:1px 2px;
  border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
}
#mine-smiley{
  width:26px;height:26px;font-size:16px;line-height:26px;text-align:center;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;cursor:pointer;
}
#mine-smiley:active{border-color:#808080 #DFDFDF #DFDFDF #808080}
#mine-grid{
  display:grid;grid-template-columns:repeat(9,22px);
  border:3px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;margin:0 6px 6px;
}
.mine-cell{
  width:22px;height:22px;background:#C0C0C0;
  border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:bold;cursor:default;user-select:none;
}
.mine-cell.revealed{border:1px solid #808080}
.mine-cell.mine-hit{background:#FF0000}
.m1{color:#0000FF}.m2{color:#008000}.m3{color:#FF0000}.m4{color:#000080}
.m5{color:#800000}.m6{color:#008080}.m7{color:#000}.m8{color:#808080}

/* ── Win98 jDOOM Window ── */
#jdoom-overlay{display:none}
#jdoom-overlay.active{display:contents}
#jdoom-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  width:720px;max-width:95vw;height:580px;max-height:88vh;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
#jdoom-body{
  flex:1;background:#000;overflow:hidden;position:relative;
  border:2px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
  margin:0 2px 2px;
}
/* Force js-dos to fill area — scoped to #jdoom-dos only (not cracktro!) */
#jdoom-dos .sidebar,#jdoom-dos .w-12{display:none!important}
#jdoom-dos .flex-row{display:block!important}
#jdoom-dos .flex-grow,#jdoom-dos .bg-black{width:100%!important;height:100%!important}
#jdoom-dos .background-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
#jdoom-dos canvas{width:100%!important;height:100%!important;left:0!important;top:0!important;position:relative!important;object-fit:fill!important}
/* Maximized state: full height, aspect-ratio centered horizontally */
#jdoom-win.maximized{
  top:0!important;bottom:42px;
  height:calc(100vh - 42px)!important;max-height:none!important;
  /* 4:3 aspect ratio based on available height */
  width:calc((100vh - 42px - 22px - 20px) * 4 / 3)!important;max-width:100%!important;
  left:50%!important;transform:translateX(-50%)!important;
  border-radius:0;box-shadow:none;
}
/* ── Cracktro ── */
#cracktro{
  display:none;
  position:absolute;inset:0;z-index:2;background:#000;overflow:hidden;
  font-family:'Consolas','Courier New',monospace;
  image-rendering:pixelated;-webkit-font-smoothing:none;
}
#ct-stars{position:absolute;inset:0;width:100%;height:100%}
#ct-content{
  position:relative;z-index:1;width:100%;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;padding:10px;
}
#ct-logo{
  font-size:clamp(5px,1.1vw,9px);line-height:1.05;white-space:pre;
  text-align:center;font-weight:bold;
  text-shadow:0 0 8px rgba(255,0,0,0.5),0 0 20px rgba(255,0,0,0.3);
}
#ct-group{
  font-size:clamp(6px,1.2vw,11px);line-height:1.1;white-space:pre;
  text-align:center;color:#00CCFF;margin-top:6px;
  text-shadow:0 0 10px rgba(0,204,255,0.6);
}
#ct-credits{
  font-size:clamp(9px,1.1vw,13px);color:#888;text-align:center;
  margin-top:8px;line-height:1.6;
}
#ct-credits b{color:#FFD700}
#ct-credits em{color:#FF4444;font-style:normal}
#ct-scroller{
  position:absolute;bottom:clamp(24px,4vh,48px);left:0;right:0;
  overflow:hidden;height:clamp(18px,2.5vh,28px);
}
#ct-scroll-text{
  display:inline-block;white-space:nowrap;
  font-size:clamp(14px,2vh,22px);font-weight:bold;
  position:relative;
}
#ct-skip{
  position:absolute;bottom:clamp(4px,1vh,12px);left:0;right:0;
  text-align:center;font-size:clamp(8px,1vw,11px);color:#555;z-index:1;
  animation:ctBlink 1.2s step-end infinite;
}
@keyframes ctBlink{50%{opacity:0}}

#jdoom-loading{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;color:#FF4444;
  font-family:'Consolas',monospace;font-size:14px;gap:12px;
  background:#000;z-index:1;
}
#jdoom-loading .jd-skull{font-size:48px;animation:jdPulse 1.5s ease-in-out infinite}
@keyframes jdPulse{0%,100%{opacity:0.5;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}
#jdoom-status{
  border-top:1px solid #DFDFDF;padding:1px 4px;font-size:10px;color:#000;
  display:flex;justify-content:space-between;flex-shrink:0;
}
#jdoom-status span{border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;padding:0 6px}

/* ── Win98 jSolitaire ── */
#sol-overlay{display:none}
#sol-overlay.active{display:contents}
#sol-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  width:560px;max-width:95vw;height:540px;max-height:85vh;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
.sol-menu{display:flex;gap:0;padding:1px 0;border-bottom:1px solid #808080;flex-shrink:0}
.sol-menu span{padding:1px 8px;cursor:default}
.sol-menu span:hover{background:#00007B;color:#fff}
#sol-body{
  flex:1;overflow:hidden;position:relative;
  border:2px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
  margin:0 2px 0;
}
#sol-canvas{width:100%;height:100%;display:block;cursor:default}
#sol-status{
  border-top:1px solid #DFDFDF;padding:1px 4px;font-size:10px;color:#000;
  display:flex;justify-content:space-between;flex-shrink:0;
}
#sol-status span{border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;padding:0 6px}

/* ── jEtris ── */
#jetris-overlay{display:none}
#jetris-overlay.active{display:contents}
#jetris-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  width:380px;max-width:95vw;height:560px;max-height:88vh;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
.jetris-menu{display:flex;gap:0;padding:1px 0;border-bottom:1px solid #808080;flex-shrink:0}
.jetris-menu span{padding:1px 8px;cursor:default}
.jetris-menu span:hover{background:#00007B;color:#fff}
#jetris-body{
  flex:1;display:flex;gap:4px;padding:4px;overflow:hidden;
  border:2px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
  margin:0 2px 0;background:#000;
}
#jetris-board{flex:0 0 auto;display:flex;align-items:flex-start}
#jetris-canvas{display:block;border:1px solid #333}
#jetris-sidebar{
  flex:1;display:flex;flex-direction:column;gap:6px;padding:4px;
}
.jetris-info-box{
  background:#111;border:1px solid #333;padding:6px;text-align:center;
}
.jetris-info-label{
  color:#888;font-size:9px;font-family:'MS Sans Serif',Tahoma,sans-serif;
  text-transform:uppercase;letter-spacing:1px;margin-bottom:4px;
}
.jetris-info-val{
  color:#0F0;font-size:18px;font-family:'Consolas',monospace;font-weight:bold;
}
#jetris-next{display:block;margin:4px auto 0}
#jetris-status{
  border-top:1px solid #DFDFDF;padding:1px 4px;font-size:10px;color:#000;
  display:flex;justify-content:space-between;flex-shrink:0;
}
#jetris-status span{border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;padding:0 6px}

/* ── Win98 The Legend of Z:\ ── */
#legendz-overlay{display:none}
#legendz-overlay.active{display:contents}
#legendz-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  width:780px;max-width:96vw;height:620px;max-height:90vh;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
#legendz-body{
  flex:1;background:#000;overflow:hidden;display:flex;align-items:center;justify-content:center;
  border:2px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
  margin:0 2px 0;
}
#legendz-canvas{
  display:block;image-rendering:pixelated;image-rendering:crisp-edges;
  cursor:default;
}
#legendz-status{
  border-top:1px solid #DFDFDF;padding:1px 4px;font-size:10px;color:#000;
  display:flex;justify-content:space-between;flex-shrink:0;
}
#legendz-status span{border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;padding:0 6px}

/* ══════ jBound / jVania / jTroid — Game Trilogy Windows ══════ */

/* ── Shared Game Overlay Pattern ── */
#jbound-overlay,#jvania-overlay,#jtroid-overlay{display:none}
#jbound-overlay.active,#jvania-overlay.active,#jtroid-overlay.active{display:contents}

#jbound-win,#jvania-win,#jtroid-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
#jbound-body,#jvania-body,#jtroid-body{
  background:#000;display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
#jbound-canvas,#jvania-canvas,#jtroid-canvas{
  image-rendering:pixelated;image-rendering:crisp-edges;
  display:block;cursor:crosshair;
}
.game-status-bar{
  background:#C0C0C0;border-top:1px solid #808080;padding:2px 6px;
  font-size:10px;color:#000;flex-shrink:0;
  border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
}

/* ── jBound specific ── */
#jbound-win{width:780px;max-width:95vw;}
#jbound-body{height:680px;max-height:80vh;}
#jbound-canvas{width:768px;height:672px;max-width:100%;max-height:100%;}

/* ── jVania specific ── */
#jvania-win{width:780px;max-width:95vw;}
#jvania-body{height:680px;max-height:80vh;}
#jvania-canvas{width:768px;height:672px;max-width:100%;max-height:100%;}

/* ── jTroid specific ── */
#jtroid-win{width:780px;max-width:95vw;}
#jtroid-body{height:680px;max-height:80vh;}
#jtroid-canvas{width:768px;height:672px;max-width:100%;max-height:100%;}

/* ══════ jRetro — Retro Emulator (EmulatorJS) ══════ */
#jretro-overlay{display:none}
#jretro-overlay.active{display:contents}
#jretro-win{
  position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  width:720px;max-width:95vw;height:580px;max-height:88vh;
  background:#C0C0C0;border:2px solid;border-color:#DFDFDF #808080 #808080 #DFDFDF;
  box-shadow:3px 3px 0 #000;display:flex;flex-direction:column;
  font-family:'MS Sans Serif',Tahoma,Arial,sans-serif;font-size:11px;color:#000;
}
#jretro-body{
  flex:1;background:#000;overflow:hidden;position:relative;
  border:2px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;margin:0 2px 2px;
}
#jretro-win.maximized{
  top:0!important;bottom:42px;height:calc(100vh - 42px)!important;
  width:calc((100vh - 42px - 22px - 20px) * 4 / 3)!important;
  left:50%!important;transform:translateX(-50%)!important;
  border-radius:0;box-shadow:none;
}
#jretro-loading{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  height:100%;color:#aaa;font-family:'Consolas',monospace;font-size:13px;
  background:#000;
}
#jretro-status{
  display:flex;justify-content:space-between;padding:2px 6px;
  background:#C0C0C0;font-size:10px;flex-shrink:0;
  border:1px solid;border-color:#808080 #DFDFDF #DFDFDF #808080;
}
/* Force EmulatorJS to fill container */
#jretro-emu{width:100%;height:100%;position:relative}
#jretro-emu>div{width:100%!important;height:100%!important}
#jretro-emu canvas{image-rendering:pixelated!important}

/* ── jRetro ROM Menu ── */
#jretro-menu{
  display:flex;flex-direction:column;width:100%;height:100%;
  background:#0a0e14;color:#ccc;font-family:'Consolas','Courier New',monospace;
  overflow-y:auto;
}
.jretro-menu-header{
  text-align:center;padding:16px 12px 8px;flex-shrink:0;
  border-bottom:1px solid #1a2030;
}
.jretro-menu-title{font-size:18px;color:#00B4D8;font-weight:bold;margin-bottom:4px}
.jretro-menu-sub{font-size:10px;color:#556;margin-bottom:2px}
.jretro-menu-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;
  padding:10px 12px;flex:1;overflow-y:auto;align-content:start;
}
.jretro-rom-card{
  background:#111820;border-radius:4px;padding:10px 12px;cursor:pointer;
  transition:background .15s,transform .1s;border-left:3px solid #444;
}
.jretro-rom-card:hover{background:#1a2535;transform:translateX(3px)}
.jretro-rom-name{font-size:12px;font-weight:bold;color:#e0e8f0;margin-bottom:2px}
.jretro-rom-genre{font-size:9px;font-weight:bold;margin-bottom:4px}
.jretro-rom-desc{font-size:10px;color:#8899aa;margin-bottom:3px;line-height:1.3}
.jretro-rom-author{font-size:9px;color:#556677;font-style:italic}
.jretro-menu-footer{
  text-align:center;padding:8px 12px;flex-shrink:0;
  border-top:1px solid #1a2030;
}
.jretro-drop-zone{
  border:2px dashed #333;border-radius:6px;padding:10px;
  color:#888;font-size:11px;cursor:pointer;transition:all .2s;
}
.jretro-drop-zone:hover{border-color:#00B4D8;color:#00B4D8}

/* ── jRetro Controller Diagram ── */
.jretro-controls{padding:8px 12px;border-top:1px solid #1a2030;border-bottom:1px solid #1a2030;text-align:center}
.jretro-ctrl-title{font-size:10px;color:#00B4D8;font-weight:bold;margin-bottom:6px;text-transform:uppercase;letter-spacing:2px}
.jretro-ctrl-pad{display:inline-flex;flex-direction:column;gap:4px;background:#1a1f2a;border-radius:20px;padding:8px 20px;border:1px solid #2a3040}
.jretro-ctrl-body{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 0}
.jretro-key{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:#2a3040;border:1px solid #3a4050;border-radius:3px;color:#fff;font-size:10px;font-weight:bold;font-family:monospace}
.jretro-key-sm{display:inline-block;padding:1px 5px;background:#2a3040;border:1px solid #3a4050;border-radius:3px;color:#ccc;font-size:8px;font-family:monospace}
.jretro-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;background:#3a2050;border:1px solid #5a3070;border-radius:50%;color:#dda0ff;font-size:9px;font-weight:bold}
.jretro-btn sub{font-size:7px;color:#888;margin-left:1px}
.jretro-label{color:#888;font-size:9px;margin:0 4px}
.jretro-label-sm{color:#666;font-size:7px;display:block;margin-top:1px}
.jretro-ctrl-shoulders,.jretro-ctrl-extra{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#888}
.jretro-spacer{flex:1}
.jretro-dpad-row{display:flex;justify-content:center;gap:1px}
.jretro-dpad-center{width:22px;height:22px}
.jretro-ctrl-center{display:flex;flex-direction:column;align-items:center;gap:2px}
.jretro-ctrl-btns{display:flex;flex-direction:column;align-items:center;gap:1px}
.jretro-btn-row{display:flex;gap:1px}

/* ── Cheat button hover + GOOD STUFF panel ── */
.jretro-cheat{cursor:pointer;transition:background .1s,transform .1s;user-select:none}
.jretro-cheat:hover{background:#3a4a5a!important;transform:scale(1.1)}
.jretro-cheat:active{background:#ff4400!important;transform:scale(0.95)}
.jretro-good-header{
  text-align:center;padding:8px;font-size:13px;font-weight:bold;
  color:#ff4400;letter-spacing:3px;
  background:linear-gradient(90deg,transparent,rgba(255,40,0,0.1),transparent);
  border-top:1px solid #331100;border-bottom:1px solid #331100;
}
.jretro-good-card{background:#1a1010!important;border-left-color:#ff2200!important}
.jretro-good-card:hover{background:#2a1515!important}
@keyframes jretro-shake{
  0%,100%{transform:translateX(0)}
  10%,50%,90%{transform:translateX(-4px)}
  30%,70%{transform:translateX(4px)}
}
@keyframes jretro-reveal{
  0%{opacity:0;transform:translateY(20px)}
  100%{opacity:1;transform:translateY(0)}
}
