/* liss.dk: the game frame and its dialogs. Written for liss.dk (30 Nov 2026) with the look of the old site's arcade
   plugin: the frame centred in its wrapper, a dialog over the game on a grey layer, green buttons (the pages'
   g_szCtlArcadeColor). Only what the site's pages and commons.js use. */
.ctl-fixed { position: fixed !important; }

.ctl-arcade-game-iframe-wrapper { position: relative; margin-bottom: 15px !important; text-align: center; line-height: 0 !important; }
.ctl-arcade-game-iframe { margin-bottom: 0 !important; background-color: #fff; }

.ctl-arcade-btn {
  display: inline-block; margin-bottom: 10px; padding: 8px 18px; border: 2px solid #00815e; border-radius: 4px;
  background: #00815e; color: #fff !important; font-size: 16px; font-weight: bold; text-transform: uppercase;
  text-decoration: none; text-shadow: 1px 1px 1px #000; box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5); cursor: pointer;
  -webkit-user-select: none; user-select: none;
}
.ctl-arcade-btn:hover { background: #009970; border-color: #009970; text-decoration: none; }
.ctl-arcade-btn:active, .ctl-arcade-btn:focus { position: relative; top: 1px; border-color: #00815e; text-shadow: 0 0 1px #000; }
.ctl-arcade-btn-mini { padding: 2px 10px; font-size: 13px; line-height: 13px !important; }
.ctl-arcade-btn-green { background: #00815e; border-color: #00815e; }
.ctl-arcade-btn-green:hover { background: #009970; border-color: #009970; }
.ctl-arcade-btn-green:active, .ctl-arcade-btn-green:focus { border-color: #00815e; }

.ctl-arcade-dlg-wrapper, .ctl-arcade-share-dlg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ctl-arcade-dlg-block {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); cursor: pointer;
}
.ctl-arcade-dlg-content {
  position: absolute; top: 50%; left: 50%; display: block; margin: 0 auto; padding: 15px; min-width: 200px;
  min-height: 100px; border-radius: 4px; background-color: #fff; box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%); transform-style: preserve-3d;
}
.ctl-arcade-dlg-close { position: absolute; top: 5px; right: 5px; padding: 2px; font-size: 18px; cursor: pointer; }
.ctl-arcade-dlg-close:hover { top: 6px; color: #666; }
.ctl-arcade-dlg-content h2 {
  margin-top: 5px !important; margin-bottom: 16px !important; padding: 5px; font-size: 20px !important;
  text-align: center; text-transform: uppercase;
}
.ctl-arcade-dlg-content p { padding: 10px; border-radius: 4px; background-color: #efefef; font-size: 14px; line-height: 14px; }
.ctl-arcade-dlg-footer { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ccc; text-align: right; }
.ctl-arcade-dlg-footer .ctl-arcade-btn { margin-left: 5px; font-weight: bold; }
.ctl-arcade-dlg-fixed { position: fixed !important; top: 0 !important; left: 0 !important; z-index: 99999999 !important; }

@media (max-width: 349px) {
  .ctl-arcade-share-dlg-wrapper .ctl-arcade-dlg-content, .ctl-arcade-dlg-wrapper .ctl-arcade-dlg-content {
    left: 0; width: calc(100% - 60px); min-width: 0; margin-left: 15px; margin-right: 15px; transform: translate(0, -50%);
  }
}
