@import url('https://yarnpkg.com/en/package/destyle.css');

/* @import url('https://cdn.jsdelivr.net/npm/tent-css@1.4.3/dist/tent.min.css'); */

/* ! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

:root {
  --gray: #333;
  --blue1: #2D728F;
  --blue2: #3B8EA5;
  --yellow: #F5EE9E;
  --orange: #F49E4C;
  --red1: #FF605C;
  --red2: #991f1f;
  --red3: #F6214D;
  --red4: #2f0e12;
  --red5: #ffdbdb;
  --red6: #ff5f5f;
  --bg: white;
  --dark-bg: var(--red4);
  --orange: #f66c0d;
  --green: #237e35;
  --pink: #eb89c6;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.container {
  max-width: 1100px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--red2);
  color: white;
  a, a:visited {
    color: var(--yellow);
    text-decoration: none;
  }
  a:hover{
    --tw-brightness: brightness(1.25);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  ul {
    display: flex;
    list-style-type: none;
    li {
      position: relative;
      margin-right: 0.25rem;
      cursor: pointer;
      a {
        display: block;
        padding: 1rem;
      }
      &:hover {
        ul {
          display: block;
        }
      }
    }
    ul {
      display: none;
      position: absolute;
      top: 56px;
      left: 0;
      background-color: var(--red2);
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      box-shadow: 0 0 0 1px var(--red1);
      z-index: 1;
      min-width: 200px;
      li {
        padding: 0;
        a {
          padding: 8px;
          display: block;
        }
      }
    }
  }
}

body {
  /* font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif; */
  font-family: "Josefin Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: var(--gray);
  background-color: #eddade;
}

h1,h2,h3,h4,h5,h6 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

h1 {
  font-size: 3.4em
}

h2 {
  font-size: 2.7em
}

h3 {
  font-size: 2.3em
}

h4 {
  font-size: 2.0em
}

h5 {
  font-size: 1.4em
}

h6 {
  font-weight: 800;
}

a, a:visited {
  color: var(--red1);
  text-decoration: none;
}

a:hover{
  --tw-brightness: brightness(1.25);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.container{
  width: 100%;
}

@media (min-width: 640px){
  .container{
    max-width: 640px;
  }
}

@media (min-width: 768px){
  .container{
    max-width: 768px;
  }
}

@media (min-width: 1024px){
  .container{
    max-width: 1024px;
  }
}

@media (min-width: 1280px){
  .container{
    max-width: 1280px;
  }
}

@media (min-width: 1536px){
  .container{
    max-width: 1536px;
  }
}

.container {
  margin: 0 auto;
}

/* sticky footer */

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main.layout--main {
  flex: 1 0 auto;
  width: 100%;
}

footer.layout--footer {
  flex-shrink: 0;
}

[class*="layout--"] {
  > .container {
    padding: 0 1rem;
  }
}

.layout--header,
  .layout--footer {
  text-align: center;
  background-color: var(--red2);
  padding: 0 1rem;
  color: white;
  a, a:visited {
    color: var(--yellow);
    text-decoration: none;
  }
  a:hover{
    --tw-brightness: brightness(1.25);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
}

.layout--header {
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: right;
  position: relative;
  .logo {
    position: relative;
    z-index: 1;
  }
  .logo a {
    display: block;
  }
  .logo img {
    cursor: pointer;
    position: absolute;
    top: -6px;
    left: 0;
    max-width: 160px;
  }
}

.layout--main {
  margin: 0 auto;
}

.layout--footer .container {
  max-width: 1200px;
}

.game-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2.5em;
  position: relative;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  &.game-indicator--top {
    .game-indicator__color {
      border-top-right-radius: 8px;
    }
  }
  &.game-indicator--bottom {
    .game-indicator__color {
      border-bottom-right-radius: 8px;
    }
  }
}

.game-indicator__slug {
  position: relative;
  top: 2px;
  margin-right: 8px;
}

.game-indicator__color {
  width: 100%;
  height: 28px;
}

@media (max-width: 768px) {
  body {
    font-size: 0.75em;
  }

  .game-indicator {
    font-size: 4.5em;
  }
}

@media (max-width: 640px) {
  .game-indicator__color {
    display: none;
  }

  .game-indicator__slug {
    position: absolute;
    top: -14px;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .layout--header::after {
    display: block;
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 53%;
    height: 4px;
    z-index: 0;
    border-top-left-radius: 8px;
  }

  .board {
    margin-top: 0.5rem;
  }
}

input[type="text"],
  input[type="email"],
  input[type="password"] {
  padding: 0.3rem 0.6rem;
  border: 0;
  border-radius: 6px;
  margin-bottom: 8px;
  width: 100%;
}

input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="password"]:focus {
  outline: none;
  background-color: #424141;
}

label {
  display: block;
  margin-bottom: 2px;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  color: var(--gray);
}

.input-pair {
  display: flex;
}

.input-pair input,
  .input-pair button {
  min-height: 30px;
  margin: 0;
}

.input-pair input:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.input-pair button:last-child,
  .input-pair input:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.join-aside {
  background: rgba(30, 30, 30, 0.8);
  padding: 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .join-aside {
    float: right;
    margin: 0 0 1rem 2rem;
    max-width: 320px;
  }

  .join-aside input:first-child {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
  }
}

.section {
  padding: 2rem 0;
  &.section--red {
    background-color: var(--red1);
    color: white;
  }
}

.notice {
  border: 1px solid var(--gray);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 12px;
  &.notice--orange {
    border: 1px solid var(--orange);
    background-color: var(--orange);
    color: white;
  }
  &.notice--green {
    border: 1px solid var(--green);
    background-color: var(--green);
    color: white;
  }
}

.deck img {
  border-radius: 4px;
}

.playing-card {
  max-width: 240px;
  border-radius: 4px;
  box-shadow: 1px 0.5px 0 2px #00000010;
  &.playing-card--red {
    background-color: var(--red1);
    color: white;
  }
  /* reset the default anchor hover */
  a:hover{
    --tw-brightness: brightness(1);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
}

.playing-card.playing-card--inline {
  display: inline-block;
}

/* TODO: should be card--deck */

.playing-card.playing-card--face {
  border-radius: 8px;
}

.playing-card.playing-card--placeholder {
  opacity: 0.1;
}

.playing-card.playing-card--back {
  position: relative;
  box-shadow: unset;
}

/* .playing-card.playing-card--back.playing-card--animated { */

/*   position: absolute; */

/*   top: 3px; */

/*   left: 3px; */

/*   max-width: 280px; */

/* } */

.playing-card.playing-card--back:before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  display: inline-block;
  background-image: var(--bg-image);
  background-size: cover;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  rotate: 0.2deg;
  z-index: -1;
  box-shadow: -1.5px -2.9px 0 3px #00000010;
}

.playing-card.playing-card--back:after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  display: inline-block;
  background-image: var(--bg-image);
  background-size: cover;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  rotate: 0.7deg;
  z-index: -1;
  box-shadow: -0.1px -0.2px 0 1px #00000030;
}

.playing-card img {
  width: 100%;
  display: block;
}

.community-cards .playing-card {
  max-width: 19%;
  margin-left: 1%;
}

/* the individual player's cards */

.hole_cards {
  position: relative;
  left: -2%;
  right: 0;
  max-width: 300px;
  min-height: 420px;
  margin: 16px auto 0;
  a {
    display: block;
  }
}

.hole_cards .player-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  /* reset the default anchor hover */
  a:hover{
    --tw-brightness: brightness(1);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  img {
    width: 100%;
  }
}

.hole_cards .player-card + .player-card {
  top: 12px;
  left: 12%;
  transform: rotate(10deg);
}

.game-root .board {
  justify-content: center;
  .playing-card {
    max-width: 64px;
  }
}

.button,
  a.button,
  a.button:visited,
  input.button[type="submit"] {
  display: inline-block;
  padding: 0.3rem 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--red2);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  &.button--hero {
    padding: 0.7rem 1.3rem;
    font-size: 2em;
  }
  &.button--large {
    padding: 0.5rem 1rem;
    font-size: 1.4em;
  }
  &.button--success {
    background-color: var(--green);
  }
  &.button--secondary {
    background-color: var(--orange);
  }
  &:hover{
    --tw-brightness: brightness(1.25);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
}

.menu {
  width: 100%;
  border-radius: 6px;
  background-color: var(--gray);
  color: white;
  overflow: hidden;
}

.menu__item {
  padding: 0.15rem 0.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
  &.menu__item--header {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
  }
  &.menu__item--header {
    font-size: 1.2em;
  }
}

a.menu__item {
  color: var(--yellow);
  background-color: var(--red2);
  &:hover {
    background-color: var(--red1);
    cursor: pointer;
  }
}

.menu__item + .menu__item {
  border-top: 1px solid #999;
}

.menu__item--primary {
  font-weight: bold;
  color: #72f5ff;
}

@media (prefers-color-scheme: dark) {
  .menu__item + .menu__item {
    border-color: var(--red4);
  }

  body {
    background-color: var(--dark-bg);
    color: white;
  }

  a.menu__item {
    color: white;
  }

  h1,h2,h3,h4,h5,h6,label {
    color: white;
  }

  input, select, textarea {
    background-color: var(--gray);
    color: white;
  }
}

.board {
  display: flex;
  justify-content: start;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  .logo {
    max-width: 240px;
    margin: 0 auto 8px;
  }
}

.deck {
  position: relative;
  margin-right: 1%;
  z-index: 1;
  width: 15.7%
}

.community-cards {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 83%;
  position: relative;
  .phase {
    margin-left: 16px;
    font-size: 1.1em;
    line-height: 1;
  }
  .phase-info {
    font-size: 1em;
  }
  .street-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 8% auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .community-cards {
    .phase-prefix {
      display: none;
    }
  }
}

.community_footer .container {
  justify-content: flex-end;
  align-items: flex-start;
  margin-top: 18px;
  padding-bottom: 24px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.player-info {
  color: white;
  .player-info__in-hand {
    background-color: var(--red2);
    color: var(--red5);
  }
  table {
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--red4);
  }
  td {
    padding: 0 6px;
  }
  tr + tr {
    border-top: 1px solid #555;
  }
  .player-info__seat {
    min-width: 15%;
    height: 40px;
  }
  .player-info__dealer {
    color: white;
    background-color: var(--gray);
    &.player-info__in-hand {
      background-color: var(--red6);
    }
  }
  .player-info__blind {
    background-color: var(--gray);
  }
  .player-info__name {
    text-align: left;
  }
  .player-info__name {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
  }
}

.player-info [class*="trigger"] {
  min-width: 3%;
  cursor: pointer;
}

.players {
  text-align: center;
  padding: 0 4px 2px;
}

.player {
  max-width: 20%;
  text-align: center;
  margin-left: 16px;
  margin-bottom: 16px;
  cursor: pointer;
  background-color: var(--red1);
  color: black;
  border-radius: 8px;
  display: inline-block;
  padding: 3px 12px;
  box-shadow: 2px 2px 6px var(--red2);
  white-space:nowrap;
  overflow: hidden;
  border: 2px solid transparent;
  &:hover {
  }
}

.player:first-child {
  margin-left: 0;
}

.player:hover {
  border-top-color: transparent;
}

.player.player--out {
  background-color: var(--gray);
  box-shadow: 2px 2px 6px transparent;
  color: white;
  opacity: 0.5;
  &:hover{
    --tw-brightness: brightness(.5);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  &:hover {
    border: 2px solid var(--red3);
    background-color: red;
  }
}

.player.player--dealer.player--out {
  background-color: var(--green);
  box-shadow: 2px 2px 6px transparent;
  color: white;
  &:hover{
    --tw-brightness: brightness(.5);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  &:hover {
    border: 2px solid var(--red3);
    background-color: red;
  }
}

.qrcode {
  text-align: center;
  svg {
    display: inline-block;
  }
}

.game-root .street-info {
  display: none;
}

.community .community-cards--flop .street-info {
  position: static;
}

.community .community-cards--turn .street-info {
  position: static;
}

@media (prefers-color-scheme: light) {
  .player-info {
    color: #777;
    .player-info__in-hand {
      background-color: var(--red5);
      color: #111;
    }
    table {
      border-radius: 6px;
      overflow: hidden;
      background-color: unset;
    }
    td {
      padding: 0 6px;
    }
    tr + tr {
      border-top: 1px solid #555;
    }
    .player-info__seat {
      min-width: 15%;
      height: 40px;
    }
    .player-info__dealer {
      background-color: var(--red1);
      color: white;
    }
    .player-info__blind {
      background-color: #ddd;
    }
    .player-info__name {
      text-align: left;
    }
    .player-info__name {
      font-family: "Bebas Neue", sans-serif;
      font-weight: 400;
      font-style: normal;
      text-transform: uppercase;
    }
  }
}

.absolute{
  position: absolute;
}

.col-span-1{
  grid-column: span 1 / span 1;
}

.col-span-2{
  grid-column: span 2 / span 2;
}

.col-span-4{
  grid-column: span 4 / span 4;
}

.col-span-5{
  grid-column: span 5 / span 5;
}

.m-auto{
  margin: auto;
}

.mx-auto{
  margin-left: auto;
  margin-right: auto;
}

.mb-10{
  margin-bottom: 2.5rem;
}

.mb-12{
  margin-bottom: 3rem;
}

.mb-2{
  margin-bottom: 0.5rem;
}

.mb-3{
  margin-bottom: 0.75rem;
}

.mb-4{
  margin-bottom: 1rem;
}

.mb-8{
  margin-bottom: 2rem;
}

.ml-5{
  margin-left: 1.25rem;
}

.mt-10{
  margin-top: 2.5rem;
}

.mt-12{
  margin-top: 3rem;
}

.mt-2{
  margin-top: 0.5rem;
}

.mt-20{
  margin-top: 5rem;
}

.mt-3{
  margin-top: 0.75rem;
}

.mt-4{
  margin-top: 1rem;
}

.mt-5{
  margin-top: 1.25rem;
}

.mt-6{
  margin-top: 1.5rem;
}

.block{
  display: block;
}

.inline{
  display: inline;
}

.flex{
  display: flex;
}

.table{
  display: table;
}

.grid{
  display: grid;
}

.hidden{
  display: none;
}

.w-full{
  width: 100%;
}

.max-w-2xl{
  max-width: 42rem;
}

.max-w-4xl{
  max-width: 56rem;
}

.max-w-5xl{
  max-width: 64rem;
}

.max-w-6xl{
  max-width: 72rem;
}

.max-w-sm{
  max-width: 24rem;
}

.max-w-xl{
  max-width: 36rem;
}

.max-w-xs{
  max-width: 20rem;
}

.table-auto{
  table-layout: auto;
}

.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.grid-cols-1{
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.justify-center{
  justify-content: center;
}

.gap-1{
  gap: 0.25rem;
}

.gap-6{
  gap: 1.5rem;
}

.gap-8{
  gap: 2rem;
}

.pt-2{
  padding-top: 0.5rem;
}

.pt-5{
  padding-top: 1.25rem;
}

.text-left{
  text-align: left;
}

.text-center{
  text-align: center;
}

.text-right{
  text-align: right;
}

.text-2xl{
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}

.uppercase{
  text-transform: uppercase;
}

.italic{
  font-style: italic;
}

.leading-tight{
  line-height: 1.25;
}

.text-gray-400{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.text-orange-400{
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity));
}

.opacity-80{
  opacity: 0.8;
}

.hidden {
  display: none !important;
}

@media (prefers-color-scheme: dark) {
  .hidden-dark {
    display: none;
  }

  img, video {
    opacity: 1;
  }
}

@media (prefers-color-scheme: light) {
  .hidden-light {
    display: none;
  }

  img, video {
    opacity: 1;
  }
}

/* wrappers */

@media (min-width: 640px){
  .sm\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px){
  .md\:max-w-xl{
    max-width: 36rem;
  }

  .md\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px){
  .lg\:mt-0{
    margin-top: 0px;
  }

  .lg\:flex{
    display: flex;
  }

  .lg\:grid{
    display: grid;
  }

  .lg\:max-w-md{
    max-width: 28rem;
  }

  .lg\:grid-cols-5{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:grid-cols-8{
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .lg\:justify-center{
    justify-content: center;
  }

  .lg\:gap-14{
    gap: 3.5rem;
  }

  .lg\:gap-4{
    gap: 1rem;
  }

  .lg\:text-right{
    text-align: right;
  }

  .lg\:text-xl{
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}
