* {
    font-family: "HelveticaNeue-CondensedBold", "HelveticaNeueBoldCondensed", "HelveticaNeue-Bold-Condensed", "Helvetica Neue Bold Condensed", "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosCnBold', "Helvetica", "Tahoma", "Geneva", "Arial Narrow", "Arial", sans-serif; font-weight:600; font-stretch:condensed;
}

html {
    height: 100%;
    width: 100%;
    clip: auto;
    position: absolute;
    overflow: hidden;
    background-image: url("/static/swccg/Test1background.1851c208b5fb.png");
}
#deckBuild {
  width: 66vw;
}

#searchResults {
    display: flex;
    flex-wrap: wrap;
    width: 30vw;
    height: 55vh;
    overflow: auto;
    flex-direction: row;
    align-content: flex-start;
}

.floating-card-panel {
    position: fixed;
    display: none;
    flex-direction: column;
    z-index: 90;
    border: 2px solid #444;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    --card-width: 90px;
    --card-height: 125.5px;
    --card-overlap: 10px;
    --card-container-height: 126px;
}

.panel-drag-handle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px 36px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: move;
    user-select: none;
    border-bottom: 1px solid #444;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.panel-drag-title {
    pointer-events: none;
}

.panel-close-btn {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.panel-close-btn:hover {
    background: rgba(220, 80, 80, 0.85);
}

.floating-card-content {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    min-height: 0;
    overflow: auto;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
    padding: 16px;
    gap: 4px;
}

#sixtyFirst {
    z-index: 95;
    max-height: calc(100vh - 32px);
    background: rgba(0, 0, 0, 0.94);
}

#sixtyFirst .floating-card-content {
    padding: 12px;
}

#cardsOutsideDeck {
    width: 75vw;
    height: 60vh;
    min-height: 320px;
    background: rgba(0, 0, 0, 0.92);
}

#randomHand {
    width: 65vw;
    height: auto;
    max-height: 80vh;
    z-index: 100;
    background-color: #000;
}

#randomHand .floating-card-content {
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px 36px;
    gap: 8px;
}

#randomHand .cardContainer {
    margin-right: 0;
}

#deckBuilder {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    overflow: auto;
    width: 65vw;
    height: 80vh;
    background-color: transparent;
    position: relative;
    --card-width: 90px;
    --card-height: 125.5px;
    --card-overlap: 10px;
    --card-container-height: 126px;
}

#deckStats {
    display: flex;
    width: 30vw;
    height: 20vh;
    text-align: center;
    color: white;
}
#search {
    position: relative;
    width: 30vw;
    padding-left: 0pt;
    bottom: 0;
}

.collapsible {
    align-items: center;
    justify-content: center;
    display: flex;
    /* padding: 12px; */
    cursor: pointer;
    width: 200px;
    height: 45px;
    font-size: 18px;
}

.active, .collapsible:hover {
    background-color:aliceblue;
}

.card {
    display: flex;
    flex-basis: auto;
    --search-card-width: 100px;
    --search-card-height: calc(var(--search-card-width) * 125.5 / 90);
    height: var(--search-card-height);
    width: var(--search-card-width);
    background-color: transparent;
    flex-shrink: 0;
}

.card > img {
    width: 100%;
    height: auto;
}

.site-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.site {
  display: block;
  transform-origin: 0 0;
  transform: rotate(.25turn);
  margin-left: 100%;
  max-width: none;
  width: var(--search-card-height);
  height: auto;
}

.cardContainer {
  display: flex;
  position: relative;
  height: var(--card-container-height, 126px);
  flex-shrink: 0;
  margin-right: 4px;
  margin-bottom: 4px;
}

.deckCard {
    height: var(--card-height, 125.5px);
    width: var(--card-width, 90px);
}

.deckCard > img {
    width: 100%;
    height: auto;
}

#parameterDiv {
    height: 100px;
    border: 3px solid #C7C7C7;

}
.searchBar {
    background-image: url("/static/swccg/Sketch002.81e482926a4c.png");
    background-position: center;
    width: 200px;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: 5px;
}

.random-hand-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.hand-size-toggle {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    overflow: hidden;
}

.hand-size-btn {
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.hand-size-btn:last-child {
    border-right: none;
}

.hand-size-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hand-size-btn.active {
    background: papayawhip;
    color: #1a1a1a;
}

#randomHandButton {
    background-color: papayawhip;
    border-radius: 5px;
    padding: 4px 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

#randomHandButton:hover {
    background-color: #ffe4b5;
}


.focusCardDiv {
    position: absolute; 
    /* right: 165px;
    bottom: 132px; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    cursor: move;
    border-radius: 20px;
}

.focusSite {
    position: absolute;
    z-index: 9;
    cursor: move;
    top: 50%;
    left: 50%;
    border-radius:12px;
    transform-origin: 0 0;
    transform: rotate(.25turn) translate(-50%, -50%);
    margin-left: 100%;
    width: calc(20vw * 125.5 / 90);
    max-width: none;
}
.focusCard {
    width: 20vw;
    border-radius: 12px;

    /* height: 498px;   */
}

.deckCard .site-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.deckSite {
    display: block;
    transform-origin: 0 0;
    transform: rotate(.25turn);
    margin-left: 100%;
    max-width: none;
    width: var(--card-height, 125.5px);
    height: auto;
}

.cardStack {
    transform: translate(10px);
}

.child {
    position: absolute;
  }

  .import:hover {
    cursor: pointer;
  }

  #lsShields {
    /* background-image: url("/static/swccg/image.77b178ff9dc6.jpg"); */
    background-position: center;
    background-color: #42ADC7;
    border-radius: 10px;
    border: 1px solid black;
  }

  #shieldButton {
    background-color: #1DACD0;
    border-radius: 10px;
  }

  #sixtyFirstButton{
    background-color: orange;
    border-radius: 10px;
  }

  #clearSixtyFirst{
    background-color: orange;
    border-radius: 10px;
    border: 1px solid black;
    width: 200px;
  }
  
  #outsideDecks{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    width: 65vw;
  }

  .opaque {
    background-color: green;
  }

  #sortButtons {
    margin-left: auto;
    display:flex;
    flex-direction: column;
  }
  #sortDeckByType {
    background-color: greenyellow;
    border-radius: 10px;
    width: 150px;
    margin-bottom: 1px;
    /* align-self: flex-end; */
  }
  #sortDeckByDestiny {
    background-color: greenyellow;
    border-radius: 10px;
    width: 150px;
    margin-bottom: 1px;
    /* align-self: flex-end; */
  }
  #sortDeckByName {
    background-color: greenyellow;
    border-radius: 10px;
    width: 150px;
    margin-bottom: 1px;
    /* align-self: flex-end; */
  }

  #clearDeck{
    background-color: rgb(205,92,92);
    border-radius: 10px;
  }

  #outsideButtons {
    display: flex;
    flex-direction: column;
  }

  /* .starting {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 3px solid red;
    margin: 2px;
  } */

  /* .starting {
    box-shadow:inset 0px 0px 0px 10px rgb(170, 96, 96);
    -webkit-box-shadow:inset 0px 0px 0px 10px rgb(209, 134, 134);
    -moz-box-shadow:inset 0px 0px 0px 10px rgb(170, 101, 101);
    box-sizing: border-box;
  } */
  .starting {
    outline: 3px solid red;
    outline-offset: -3px;
  }
