/* sp_wine.css -- Authentic 1999-2001 MSN Gaming Zone spGame_NewWin chrome & stage framing.
 * Matches original Dynomite / Noah's Ark / Big Money 692px spGame_NewWin white-canvas layout
 * with seamless rounded B_toprt/bottompanel corners, lush 360-degree themed gamebg surround
 * around the 4:3 stage, glossy bottom buttons, and classic Zone right rail.
 * ASCII only, LF line endings.
 */
html, body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #000000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
}

#spZoneFrame {
  position: relative;
  width: 692px;
  min-height: 560px;
  margin: 0 auto;
  background-color: #ffffff;
  overflow: visible;
}

#topLeftBanner {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 552px;
  height: 114px;
  overflow: hidden;
  background-color: #ffffff;
}

#topRightBanner {
  position: absolute;
  left: 552px;
  top: 0px;
  width: 140px;
  height: 114px;
  overflow: hidden;
  background-color: #ffffff;
}

/* Fallback Zone banner only if both archived styles/local and /sp-wine/brand are absent */
.spClassicBannerTbl {
  width: 552px;
  height: 114px;
  background-color: #000000;
  border-bottom: 2px solid #669999;
  border-collapse: collapse;
}

.spClassicTitle {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #ffffcc;
  line-height: 1.15;
}

.spClassicSub {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  color: #99cccc;
  margin-top: 3px;
}

.spClassicTopRt {
  width: 140px;
  height: 114px;
  box-sizing: border-box;
  background-color: #000000;
  border-left: 1px solid #336666;
  border-bottom: 2px solid #669999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gameBackground {
  position: absolute;
  left: 0px;
  top: 114px;
  width: 552px;
  overflow: hidden;
  background-color: #000000;
}

#gameWindow {
  position: absolute;
  left: 0px;
  top: 114px;
  width: 552px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Exact 4:3 stage framed inside 552x400 so 28px left/right & 14px top/bottom of themed gamebg surround show cleanly */
#spWineStage {
  position: relative;
  width: 496px;
  height: 372px;
  background-color: #000000;
  border: 2px solid #181818;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

#spWineStage.spStageExpanded {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 480px;
  z-index: 9999;
  border: 2px solid #ffcc66;
}

#spWineStage:fullscreen {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border: 0;
}

#spWineStage:fullscreen #spWineCanvas {
  width: auto;
  height: 100vh;
  max-width: 100vw;
  aspect-ratio: 4 / 3;
}

#spWineCanvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #000000;
  image-rendering: auto;
  cursor: default;
}

#spWineCanvas.guest-cursor-hidden {
  cursor: none !important;
}

#spWineOverlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  z-index: 5;
}

#spWineOverlay img {
  margin-bottom: 12px;
  max-width: 250px;
  height: auto;
}

#spWineStatus {
  font-size: 11px;
  font-weight: bold;
  color: #ffffcc;
  margin-bottom: 10px;
}

.spProgressTrack {
  width: 270px;
  height: 12px;
  background: #0a181a;
  border: 1px solid #669999;
  padding: 1px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

#spWineProgressFill {
  width: 6%;
  height: 100%;
  background-color: #ffcc66;
  transition: width 0.2s ease;
}

.spOverlayHint {
  max-width: 350px;
  font-size: 10px;
  color: #99cccc;
  line-height: 1.4;
}

#spWineToast {
  display: none;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  background: #0a1a1e;
  border: 1px solid #ffcc66;
  color: #ffffcc;
  font-size: 10px;
  padding: 5px 8px;
  z-index: 10;
  text-align: center;
}

/* Classic Zone beveled button (used by inline Zone Sign-In form) */
.spBarBtn {
  background-color: #336666;
  border-width: 1px;
  border-style: solid;
  border-top-color: #99cccc;
  border-left-color: #99cccc;
  border-right-color: #183636;
  border-bottom-color: #183636;
  color: #ffffff;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  line-height: 1.25;
}

.spBarBtn:hover:not(:disabled) {
  background-color: #669999;
  color: #ffffcc;
}

.spBarBtn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* Compact 1999 Zone right-rail game controls (Mute / Restart / Full) */
.spCtrlRow {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
}

.spCtrlBtn {
  flex: 1 1 0;
  min-width: 0;
  padding: 2px 2px;
  font-size: 9px;
  text-align: center;
  white-space: nowrap;
}

/* Authentic Dynomite / Noah's Ark / Big Money lower bar */
#lowerBanner {
  position: absolute;
  left: 0px;
  width: 552px;
  height: 43px;
  overflow: hidden;
  background-color: #ffffff;
}

#spPopCountBar {
  position: absolute;
  left: 10px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  color: #ffffff;
  text-shadow: 1px 1px 1px #000000;
  z-index: 4;
  white-space: nowrap;
}

.spZoneBtnSlot {
  position: absolute;
  width: 106px;
  height: 27px;
  z-index: 4;
}

.spZoneBtnSlot img {
  position: absolute;
  left: 0;
  top: 0;
  width: 106px;
  height: 27px;
  border: 0;
}

.spZoneBtnFallback {
  display: block;
  width: 106px;
  height: 27px;
  line-height: 23px;
  box-sizing: border-box;
  background-color: #669999;
  border-width: 2px;
  border-style: solid;
  border-top-color: #99cccc;
  border-left-color: #99cccc;
  border-right-color: #336666;
  border-bottom-color: #336666;
  color: #000000;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 11px;
}

.spZoneBtnFallback:hover {
  background-color: #77aaaa;
  color: #ffffcc;
}

.spZoneBtnText {
  position: absolute;
  left: 0;
  top: 0;
  width: 106px;
  height: 27px;
  line-height: 26px;
  text-align: center;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.spZoneBtnText a {
  color: #102a49;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.spZoneBtnText a:hover {
  color: #b84a00;
}

/* Authentic right column matching original Dynomite / Big Money (x=558, w=132 on white canvas) */
#spRightCol {
  position: absolute;
  left: 558px;
  top: 118px;
  width: 132px;
  z-index: 3;
}

.spColCap {
  background-color: #000000;
  color: #ffffff;
  font-family: Verdana, Arial, sans-serif;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 2px 0;
  text-transform: uppercase;
}

.spSideBox {
  background-color: #f4fafa;
  border: 1px solid #669999;
  padding: 0 0 6px 0;
  margin-bottom: 6px;
  font-size: 10px;
  color: #000000;
}

.spSideBoxTitle {
  background-color: #336666;
  border-bottom: 1px solid #669999;
  font-size: 10px;
  font-weight: bold;
  color: #ffffcc;
  padding: 3px 5px;
  margin-bottom: 5px;
}

#spMiniLadderBox {
  padding: 0 5px;
}

.spSideMeta {
  font-size: 9px;
  color: #336666;
  line-height: 1.35;
}

.spMiniLadder {
  margin: 0 0 5px 0;
  padding: 0;
  list-style: none;
  font-size: 9px;
}

.spMiniLadder li {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px dotted #99cccc;
}

.spMiniLadder .spName {
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 72px;
}

.spMiniLadder .spPts {
  color: #336666;
  font-weight: bold;
}

.spSideLink {
  color: #336666;
  text-decoration: underline;
  font-weight: bold;
  font-size: 10px;
}

.spSideBox > .spSideLink {
  display: inline-block;
  margin: 0 5px;
}

.spSideLink:hover {
  color: #669999;
}

.spAuthStatus {
  margin: 5px 5px 0 5px;
  padding-top: 5px;
  border-top: 1px solid #99cccc;
  font-size: 9px;
  color: #222222;
  line-height: 1.35;
}

.spAuthStatus b {
  color: #185c28;
}

.spAuthForm {
  margin-top: 5px;
}

.spAuthInput {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 4px;
  padding: 2px 4px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #669999;
}

.spAuthErr {
  color: #b00000;
  font-size: 9px;
  margin-bottom: 4px;
}

.spLegacyCard {
  width: 450px;
  background: #0a181a;
  border: 2px solid #669999;
  padding: 18px 20px;
  text-align: center;
  color: #dceaea;
}

.spLegacyCard h2 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #ffffcc;
}

.spLegacyCard p {
  margin: 0 0 10px 0;
  font-size: 11px;
  line-height: 1.45;
  color: #cce6e6;
}

.spLegacyCard a {
  color: #ffffcc;
  font-weight: bold;
}

#spMidAdSlot {
  text-align: center;
  margin-bottom: 6px;
}

#spMidAdSlot img {
  display: block;
  margin: 0 auto;
  border: 1px solid #669999;
}

#spBotAdSlot {
  text-align: center;
  margin-top: 2px;
}

#spBotAdSlot img {
  display: block;
  margin: 0 auto;
  max-width: 122px;
  height: auto;
  border: 1px solid #669999;
}
