@import url("https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@400;600;700;800&display=swap");

body,
html {
  overscroll-behavior-x: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  height: 100%;
  touch-action: manipulation;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: url("../img/cursor/arrow-cursor-outline.svg") 8 3, auto;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: var(--ui-background);
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.35) 0, transparent 55%),
    radial-gradient(circle at 75% 35%, rgba(255, 255, 255, 0.25) 0, transparent 60%),
    radial-gradient(circle at 50% 75%, rgba(171, 199, 145, 0.18) 0, transparent 65%);
  color: var(--ui-text);
  min-height: 100vh;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

:root {
  --ui-background: #f5efe2;
  --ui-surface: #fffdf5;
  --ui-surface-strong: #f0e2c8;
  --ui-border-soft: #e6d6bb;
  --ui-border-strong: #b47c34;
  --ui-border-highlight: #ffe5bc;
  --ui-primary: #5c8d63;
  --ui-accent: #f5c27a;
  --ui-muted-text: #59614d;
  --ui-text: #2f3d29;
  --ui-warning: #d26c53;
  --ui-card-shadow: 0 18px 30px rgba(68, 90, 63, 0.2), 0 10px 18px rgba(68, 90, 63, 0.1);
  --ui-radius-sm: 16px;
  --ui-radius-md: 26px;
  --ui-radius-lg: 36px;
  --ui-scrollbar-track: rgba(255, 253, 245, 0.8);
  --ui-scrollbar-thumb-start: #ffe6b5;
  --ui-scrollbar-thumb-stop: #f1ba66;
  --ui-scrollbar-thumb-outline: #d28d3b;
  --menu-font: "Playpen Sans", "Patrick Hand", cursive;
  --menu-outline-size: 5px;
  --menu-card-radius: 20px;
}

html,
button,
input,
select,
textarea,
.pure-g [class*="pure-u"] {
  font-family: "Patrick Hand", Arial, cursive;
  font-size: large;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Patrick Hand";
  src: url("../font/PatrickHand-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Patrick Hand";
  src: url("../font/PatrickHand-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* devanagari */
@font-face {
  font-family: "Dekko";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/devanagari.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}

/* latin-ext */
@font-face {
  font-family: "Dekko";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/latin-ext.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Dekko";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../font/latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

.noMargin {
  margin: 0em !important;
}

.DrawViewAvatar {
  max-height: inherit !important;
  width: 75% !important;
}

.DrawViewAvatarSmall {
  width: 4em !important;
  padding: 0 !important;
}

.DrawViewAvatarSmall .draw-view__frame {
  width: 100% !important;
}

.DrawViewAvatarSmall .draw-view__mat {
  padding: 0.25rem !important;
}

.DrawViewAvatarSmall .draw-view__image {
  border-radius: 12px !important;
  border-width: 2px !important;
}

.username {
  text-align: center;
  font-weight: bolder;
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }

  40% {
    transform: rotate(0deg);
  }

  60% {
    transform: rotate(7deg);
  }

  80% {
    transform: rotate(-7deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.lobbyCode {
  position: fixed;
  top: 0px;
  right: 20px;
  -webkit-app-region: no-drag;
  letter-spacing: 0.1em;
  font-weight: bolder;
  font-family: var(--menu-font);
}

@media only screen and (max-width: 600px) {
  .lobbyCode {
    position: fixed;
    top: 0px;
    right: 20px;
    -webkit-app-region: no-drag;
    letter-spacing: 0.1em;
    font-weight: bolder;
  }
}

@media only screen and (max-device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
  .lobbyCode {
    display: none;
    -webkit-app-region: no-drag;
  }
}

.centerContent {
  text-align: center;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--ui-scrollbar-thumb-outline) var(--ui-scrollbar-track);
}

::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: var(--ui-scrollbar-track);
  border-radius: 999px;
  border: 2px solid var(--ui-border-soft);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.08);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid var(--ui-scrollbar-thumb-outline);
  background: linear-gradient(180deg, var(--ui-scrollbar-thumb-start), var(--ui-scrollbar-thumb-stop));
  box-shadow:
    inset 0 -2px 0 rgba(255, 255, 255, 0.35),
    0 2px 0 rgba(112, 78, 33, 0.35);
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd897, #eda24a);
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #ffc068, #e58c2c);
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
}

.centerContentIngameText {
  text-align: center;
  padding-top: 1em;
}

.verticalCenterIngame {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 1rem;
}

.centerContentIngameTextDrawing {
  text-align: center;
  margin-top: 0px;
}

.centerSelf {
  margin: auto !important;
}

.noWrap {
  white-space: nowrap;
}

.AnswerRight {
  color: #0c9430;
  font-weight: 600;
  font-size: xx-large;
  text-transform: uppercase;
}

.reactionWinner {
  color: #0c9430;
  font-size: large;
}

.AnswerWrong {
  color: #e64343;
  font-weight: 600;
  font-size: larger;
  text-transform: uppercase;
}

.PartyCode {
  text-transform: uppercase;
}

.panel-wrapper {
  width: 100%;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}

.NoHighlights {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.noScrollWrapper {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

@media only screen and (min-height: 668px) {
  .ingameDrawView {
    max-height: 50vh;
  }
}

@media only screen and (max-height: 667px) and (-webkit-device-pixel-ratio: 2) {
  .ingameDrawView {
    max-height: 20em !important;
  }
}

.stillDrawingView {
  text-align: center;
  max-height: inherit;
  max-width: inherit;
  margin: 0em 0.5em 0em 0.5em !important;
}

.stillDrawingViewWrapper {
  display: inline-block;
  margin: 0.25em;
}

@media only screen and (max-device-width: 667px) {
  #app {
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    transition: all 0.5s ease-in-out;
  }
}

@media only screen and (min-width: 667px) {
  #app {
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    transition: all 0.5s ease-in-out;
  }
}

#bar-chart {
  margin-top: 40px;
}

@keyframes flyingscore-ani {
  50% {
    transform: translate(0, -0.5vh);
    opacity: 1;
  }

  100% {
    transform: translate(0, -5vh);
    opacity: 0;
  }
}

.flyingscore {
  position: sticky;
  margin: auto;
  font-size: 12px;
  animation: flyingscore-ani 5s normal forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.bubble-wrap.fade-in {
  -webkit-animation: scaleIn 0.4s ease-in-out;
  -moz-animation: scaleIn 0.4s ease-in-out;
  animation: scaleIn 0.4s ease-in-out;
  -webkit-transform-origin: 0 50% 0;
  -moz-transform-origin: 0 50% 0;
  -ms-transform-origin: 0 50% 0;
  -o-transform-origin: 0 50% 0;
  transform-origin: 0 50% 0;
}

.bubble-wrap-head-wrap {
  display: flex;
}

.bubble-wrap-pre-username {
  overflow-wrap: break-word;
}

.bubble-wrap-head-padding {
  padding: 15px;
}

.bubble-wrap {
  width: 70%;
  animation: scaleIn 1s;
  margin-left: 15px;
}

.bubble-wrap-pre-text {
  width: 4em;
  animation: scaleIn 1s;
}

.bubble {
  position: relative;
  padding: 20px;
  background: #eceff1;
  border-radius: 4px;
  border: #7f7f7f solid 1px;
  font-size: 1em;
  line-height: 1.25em;
}

.bubble-text {
  color: #263238;
}

.bubble.left:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 16px 16px 16px 0;
  border-color: transparent #eceff1;
  display: block;
  width: 0;
  z-index: 1;
  left: -15px;
  top: 50%;
  margin-top: -16px;
}

.bubble.left:before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 16px 16px 16px 0;
  border-color: transparent #7f7f7f;
  display: block;
  width: 0;
  z-index: 0;
  left: -16px;
  top: 50%;
  margin-top: -16px;
}

.guessMargin {
  width: 100%;
  vertical-align: middle;
  margin: 0em 0em 0.5em !important;
}

#inpTurnAnswer {
  text-transform: lowercase;
  width: 100%;
}

a {
  font-weight: bold;
  color: #eceff1;
}

legend {
  font-weight: bold;
  color: #cfd8dc !important;
}

.endgameButton {
  margin-left: 1em;
}

.ReactionChart {
  max-height: 80vh;
}

.ink {
  --ink-bg: var(--ui-surface);
  --ink-border: var(--ui-border-soft);
  --ink-header-bg: var(--ink-bg);
  position: relative;
  padding: 1.35rem 1.6rem;
  border-radius: var(--ink-radius, var(--ui-radius-md));
  background: var(--ink-bg);
  border: 3px solid var(--ink-border);
  color: var(--ui-text);
  box-shadow: var(--ui-card-shadow);
  z-index: 0;
}

.inkNoPadding {
  padding-right: 0;
  padding-left: 0;
}

.inkSmallMargin {
  margin: 1.5em !important;
}

.ink::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--ink-radius, var(--ui-radius-md)) - 14px);
  border: 2px dashed rgba(45, 61, 41, 0.18);
  pointer-events: none;
  z-index: -1;
}

.ink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  border-radius: 0 0 calc(var(--ink-radius, var(--ui-radius-md)) - 4px) calc(var(--ink-radius, var(--ui-radius-md)) - 4px);
  background:
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.08) 75%) 0 0 / 16px 16px repeat-x,
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.08) 75%) 0 0 / 16px 16px repeat-x;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

@media only screen and (min-width: 667px) {
  #app {
    position: relative;
    margin-top: auto;
    margin-bottom: auto;
    transition: all 0.5s ease-in-out;
  }
}

#bar-chart {
  margin-top: 40px;
}

@keyframes flyingscore-ani {
  50% {
    transform: translate(0, -0.5vh);
    opacity: 1;
  }

  100% {
    transform: translate(0, -5vh);
    opacity: 0;
  }
}

.flyingscore {
  position: sticky;
  margin: auto;
  font-size: 12px;
  animation: flyingscore-ani 5s normal forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.bubble-wrap.fade-in {
  -webkit-animation: scaleIn 0.4s ease-in-out;
  -moz-animation: scaleIn 0.4s ease-in-out;
  animation: scaleIn 0.4s ease-in-out;
  -webkit-transform-origin: 0 50% 0;
  -moz-transform-origin: 0 50% 0;
  -ms-transform-origin: 0 50% 0;
  -o-transform-origin: 0 50% 0;
  transform-origin: 0 50% 0;
}

.bubble-wrap-head-wrap {
  display: flex;
}

.bubble-wrap-pre-username {
  overflow-wrap: break-word;
}

.bubble-wrap-head-padding {
  padding: 15px;
}

.bubble-wrap {
  width: 70%;
  animation: scaleIn 1s;
  margin-left: 15px;
}

.bubble-wrap-pre-text {
  width: 4em;
  animation: scaleIn 1s;
}

.bubble {
  position: relative;
  padding: 20px;
  background: #eceff1;
  border-radius: 4px;
  border: #7f7f7f solid 1px;
  font-size: 1em;
  line-height: 1.25em;
}

.bubble-text {
  color: #263238;
}

.bubble.left:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 16px 16px 16px 0;
  border-color: transparent #eceff1;
  display: block;
  width: 0;
  z-index: 1;
  left: -15px;
  top: 50%;
  margin-top: -16px;
}

.bubble.left:before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 16px 16px 16px 0;
  border-color: transparent #7f7f7f;
  display: block;
  width: 0;
  z-index: 0;
  left: -16px;
  top: 50%;
  margin-top: -16px;
}

.guessMargin {
  width: 100%;
  vertical-align: middle;
  margin: 0em 0em 0.5em !important;
}

#inpTurnAnswer {
  text-transform: lowercase;
  width: 100%;
}

a {
  font-weight: bold;
  color: #eceff1;
}

legend {
  font-weight: bold;
  color: #cfd8dc !important;
}

.endgameButton {
  margin-left: 1em;
}

.ReactionChart {
  max-height: 80vh;
}

.ink {
  --ink-bg: var(--ui-surface);
  --ink-border: var(--ui-border-soft);
  --ink-header-bg: var(--ink-bg);
  position: relative;
  padding: 1.35rem 1.6rem;
  border-radius: var(--ink-radius, var(--ui-radius-md));
  background: var(--ink-bg);
  border: 3px solid var(--ink-border);
  color: var(--ui-text);
  box-shadow: var(--ui-card-shadow);
  z-index: 0;
}

.inkNoPadding {
  padding-right: 0;
  padding-left: 0;
}

.inkSmallMargin {
  margin: 1.5em !important;
}

.ink::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--ink-radius, var(--ui-radius-md)) - 14px);
  border: 2px dashed rgba(45, 61, 41, 0.18);
  pointer-events: none;
  z-index: -1;
}

.ink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  border-radius: 0 0 calc(var(--ink-radius, var(--ui-radius-md)) - 4px) calc(var(--ink-radius, var(--ui-radius-md)) - 4px);
  background:
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.08) 75%) 0 0 / 16px 16px repeat-x,
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.08) 75%) 0 0 / 16px 16px repeat-x;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.ink--flush {
  padding: 1rem 1.25rem;
}

.shape01 {
  --ink-bg: linear-gradient(160deg, #fff5dd 0%, #f2ddb1 100%);
  --ink-border: #d09b44;
  --ink-header-bg: #fff2d0;
  --card-bg: linear-gradient(160deg, #fff5dd 0%, #f2ddb1 100%);
  --card-border: #d09b44;
  --icon-color: #8c6120;
  --icon-border: #fdebd1;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shape02 {
  --ink-bg: linear-gradient(160deg, #eef6ff 0%, #d4e9ff 100%);
  --ink-border: #7fa6d4;
  --ink-header-bg: #f7fbff;
  --card-bg: linear-gradient(160deg, #eef6ff 0%, #d4e9ff 100%);
  --card-border: #7fa6d4;
  --icon-color: #3c5c88;
  --icon-border: #edf4ff;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shape03 {
  --ink-bg: linear-gradient(160deg, #e9fbf4 0%, #cce9dd 100%);
  --ink-border: #74a487;
  --ink-header-bg: #f2fff7;
  --card-bg: linear-gradient(160deg, #e9fbf4 0%, #cce9dd 100%);
  --card-border: #74a487;
  --icon-color: #3f6a51;
  --icon-border: #e4f7ec;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shape04 {
  --ink-bg: linear-gradient(160deg, #f4ecff 0%, #dfd2ff 100%);
  --ink-border: #b298ff;
  --ink-header-bg: #fbf3ff;
  --card-bg: linear-gradient(160deg, #f4ecff 0%, #dfd2ff 100%);
  --card-border: #b298ff;
  --icon-color: #6b4fb4;
  --icon-border: #f0e6ff;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shape05 {
  --ink-bg: linear-gradient(160deg, #fff0f0 0%, #f6d6d6 100%);
  --ink-border: #e18b8b;
  --ink-header-bg: #ffe5e5;
  --card-bg: linear-gradient(160deg, #fff0f0 0%, #f6d6d6 100%);
  --card-border: #e18b8b;
  --icon-color: #a9504f;
  --icon-border: #ffe5e5;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shape06 {
  --ink-bg: linear-gradient(160deg, #eef5f9 0%, #dbeaf2 100%);
  --ink-border: #8aa6bf;
  --ink-header-bg: #f5fbff;
  --card-bg: linear-gradient(160deg, #eef5f9 0%, #dbeaf2 100%);
  --card-border: #8aa6bf;
  --icon-color: #51708f;
  --icon-border: #f0f6fb;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shape07 {
  --ink-bg: linear-gradient(160deg, #fef4ff 0%, #ecdfff 100%);
  --ink-border: #c596f0;
  --ink-header-bg: #fff7ff;
  --card-bg: linear-gradient(160deg, #fef4ff 0%, #ecdfff 100%);
  --card-border: #c596f0;
  --icon-color: #7f55aa;
  --icon-border: #faedff;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shape08 {
  --ink-bg: linear-gradient(160deg, #fff6df 0%, #f3deb9 100%);
  --ink-border: #d5a24f;
  --ink-header-bg: #fff5d6;
  --card-bg: linear-gradient(160deg, #fff6df 0%, #f3deb9 100%);
  --card-border: #d5a24f;
  --icon-color: #8c6120;
  --icon-border: #fff3dc;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shape09 {
  --ink-bg: linear-gradient(160deg, #fff0f0 0%, #f6d4d1 100%);
  --ink-border: #d77474;
  --ink-header-bg: #ffe0e0;
  --card-bg: linear-gradient(160deg, #fff0f0 0%, #f6d4d1 100%);
  --card-border: #d77474;
  --icon-color: #913131;
  --icon-border: #ffe2e0;
  --icon-bg: rgba(255, 255, 255, 0.85);
}

.shapeTextContent {
  font-size: x-large;
  mix-blend-mode: color;
  margin-right: 1rem;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input,
option {
  background-color: rgba(249, 241, 223, 0.95) !important;
  letter-spacing: 0.5px;
  color: var(--ui-text);
  border: 1px solid var(--ui-border-soft) !important;
  border-radius: var(--ui-radius-sm);
  padding: 0.45rem 0.65rem;
}

select {
  background-color: rgba(249, 241, 223, 0.95) !important;
  letter-spacing: 0.5px;
  padding: 0.45rem 0.65rem !important;
  border: 1px solid var(--ui-border-soft) !important;
  color: var(--ui-text);
  border-radius: var(--ui-radius-sm);
}

.pure-button {
  --btn-bg: linear-gradient(180deg, #fff9ec 0%, #ffd69a 100%);
  --btn-border: #c17829;
  --btn-shadow: #ffe5bf;
  --btn-text: #3a260f;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
  outline: none;
  border: 2px solid var(--btn-border);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--btn-text);
  padding: 0.65rem 1.35rem;
  background: var(--btn-bg);
  border-radius: 24px;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0.2, 0.7, 0.4, 1), background 150ms cubic-bezier(0.2, 0.7, 0.4, 1);
  margin: 0.25em 0.4em 0.8em;
  min-width: 7.5rem;
}

.pure-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--btn-shadow);
  box-shadow: 0 0 0 2px var(--btn-border), 0 0.35em 0 0 #f6c78c;
  transform: translate3d(0, 0.45em, -1em);
  transition: transform 150ms cubic-bezier(0.2, 0.7, 0.4, 1), box-shadow 150ms cubic-bezier(0.2, 0.7, 0.4, 1);
  z-index: -1;
}

.pure-button svg {
  width: 2.2rem;
  height: 2.2rem;
  stroke: currentColor;
}

.pure-button:hover {
  background: linear-gradient(180deg, #fff3dd 0%, #ffc97e 100%);
  transform: translateY(0.12em);
}

.pure-button:hover::before {
  box-shadow: 0 0 0 2px var(--btn-border), 0 0.15em 0 0 #f6c78c;
  transform: translate3d(0, 0.25em, -1em);
}

.pure-button:active {
  background: linear-gradient(180deg, #ffe7c1 0%, #ffb95b 100%);
  transform: translateY(0.35em);
}

.pure-button:active::before {
  box-shadow: 0 0 0 2px var(--btn-border), 0 0 #f6c78c;
  transform: translate3d(0, 0, -1em);
}

.pure-button:disabled {
  opacity: 0.55;
  cursor: url("../img/cursor/close-outline.svg") 12 12, not-allowed;
  transform: none;
}

.pure-button:disabled::before {
  box-shadow: 0 0 0 2px var(--btn-border), 0 0.55em 0 0 #f6c78c;
  transform: translate3d(0, 0.45em, -1em);
}

.pure-button--ghost {
  --btn-bg: linear-gradient(180deg, #fdf0dd 0%, #f5d6a8 100%);
  --btn-border: #c18a3a;
  --btn-shadow: #fbe2bc;
  --btn-text: #5a3a1c;
}

.pure-form input:not([type]) {
  border: 1px solid #000;
}

.fullscreenBackground {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -2;
}

.partyWrapper {
  flex-grow: 1;
}

.party-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  min-width: 0;
  margin-top: 1.5rem;
}

.playerPartyWrapper > div > .nook-menu-card,
.spectatorPartyWrapper > div > .nook-menu-card {
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .party-panel {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin-top: 0.75rem;
  }

  .playerPartyWrapper > div > .nook-menu-card,
  .spectatorPartyWrapper > div > .nook-menu-card {
    margin-top: 0.75rem;
  }
  
  .party-panel > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

.party-panel__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.party-panel__hint {
  margin-bottom: 1rem;
  text-align: center;
}

.party-panel__form {
  width: 100%;
  max-width: 400px;
}

.party-panel__input {
  width: 100%;
  box-sizing: border-box;
}

.party-panel__button {
  width: 100%;
}

.party-panel__aside {
  margin-top: 1rem;
  padding: 1rem;
  text-align: center;
}

.party-panel__choices {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  box-sizing: border-box;
}

.drawViewTurnResultWrapper {
  max-height: 3em;
  margin-bottom: 1em;
}

.turnResultWrapper {
  width: fit-content;
  display: inline-grid;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.answerWrapper {
  transition: height 0.3s ease-in;
  height: auto;
  margin-bottom: 4em;
  margin-left: 0.25em;
  margin-right: 0.25em;
}

.btnPickGuess {
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.clickable {
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
}

.centerForm {
  margin: auto;
  max-width: fit-content;
}

.spectatorPartyWrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 2em;
}

.spectatorPartyWrapper #DrawingSubmittedView {
  margin: 2rem auto;
}

.playerPartyWrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.helloWrapper {
  width: 1200px;
  min-width: 700px;
  max-width: 100vw;
  margin: 0 auto;
  padding: clamp(1.5rem, 2vw, 3rem);
  flex-grow: 0;
  text-align: center;
  box-sizing: border-box;
}

.helloHeroCard {
  --hero-accent: #f9d5a2;
  margin: 0 auto 2.5rem;
  position: relative;
}

.helloHeroCard .logo {
  filter: drop-shadow(2px 4px 6px black);
  margin-bottom: 1em;
  min-height: 170px;
}

.pauseModal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 1px 2px 2px hsl(220deg 60% 50% / 0.2), 2px 4px 4px hsl(220deg 60% 50% / 0.2), 4px 8px 8px hsl(220deg 60% 50% / 0.2),
    8px 16px 16px hsl(220deg 60% 50% / 0.2), 16px 32px 32px hsl(220deg 60% 50% / 0.2);
}

.pauseModalContent {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 1em 1em 0.5em 1em;
  width: min(90vw, 500px);
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 0.5em;
  text-align: center;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.pauseModalContent img,
.pauseModalContent object {
  max-width: 100%;
  max-height: 50vh;
  height: auto;
  width: auto;
  object-fit: contain;
}

.pauseModalSettings {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 1em 1em 0.5em 1em;
  width: min(90vw, 500px);
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 0.5em;
  text-align: center;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.pauseModalSettings img,
.pauseModalSettings object {
  max-width: 100%;
  max-height: 50vh;
  height: auto;
  width: auto;
  object-fit: contain;
}

@media (max-width: 480px) {
  .pauseModalSettings {
    position: fixed;
    top: 2vh;
    left: 2vw;
    right: 2vw;
    bottom: 2vh;
    width: auto;
    max-width: none;
    max-height: none;
    transform: none;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .pauseModalSettings .settings-panel {
    flex: 1 1 auto;
    max-height: 100%;
    margin: 0;
  }
}

/* Compact settings for pause menu modal */
.pauseModalSettings .settings-panel {
  width: 100%;
  max-width: 100%;
}

.pauseModalSettings .settings-panel__header {
  padding: 0.8rem 1rem !important;
  min-height: 3rem;
}

.pauseModalSettings .settings-panel--cozy .ink-header__badge {
  width: 2.4rem;
  height: 2.4rem;
}

.pauseModalSettings .settings-panel__header-glyph {
  width: 32px !important;
  height: 32px !important;
}

.pauseModalSettings .settings-panel__body {
  padding: 0.9rem 1rem 1.1rem;
}

.pauseModalSettings .settings-panel__group {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.pauseModalSettings .settings-panel__group+.settings-panel__group {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
}

.pauseModalSettings .settings-panel .ui-field {
  flex-direction: column;
  align-items: stretch;
  padding: 0.45rem 0.6rem;
  gap: 0.3rem;
}

.pauseModalSettings .settings-panel .ui-field__label {
  flex: 0 0 auto;
  font-size: 0.85rem;
}

.pauseModalSettings .settings-panel .ui-field__control {
  margin: 0;
  width: 100%;
}

.pauseModalSettings .settings-panel select {
  width: 100%;
  max-width: 100%;
  font-size: 0.9rem;
  padding: 0.45rem 0.55rem !important;
}

.pauseModalSettings .settings-panel .ui-field__control[data-control="slider"] {
  max-width: 100%;
}

.pauseModalSettings .settings-panel .cta-button {
  width: 100%;
  font-size: 0.9rem;
  padding: 0.55rem 0.8rem;
  min-height: 2.4rem;
  white-space: nowrap;
}

.pauseModalSettings .settings-panel .cta-button__iconwrap {
  width: 2rem;
  height: 2rem;
}

.pauseModalSettings .settings-panel .cta-button__icon {
  width: 1.4rem;
  height: 1.4rem;
}

.pauseModalSettings .settings-panel .cta-button__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pauseModalSettings .settings-panel .ui-checkbox {
  width: 1.3rem;
  height: 1.3rem;
}

.pauseModalSettings .settings-panel .ui-field--language {
  grid-column: span 1;
}

.slideContent img,
.slideContent object {
  max-width: 100%;
  max-height: 40vh;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Scrollable content wrapper inside ink containers */
.credits-content {
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5em;
}

.menuPadding {
  padding-left: 2em;
  padding-right: 2em;
}

.musicCheckbox {
  margin: 0.5em;
}

.emojiFloatLeft {
  position: absolute;
  bottom: 0px;
  left: 0px;
  font-size: xx-large;
  z-index: 1;
}

.emojiFloatRight {
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: xx-large;
  z-index: 1;
}

.slideContent {
  max-width: 75%;
  margin: auto;
}

.strollList {
  min-width: 100%;
  min-height: 50vh;
}

.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 200px rgba(0, 0, 0, 0.4) inset;
  pointer-events: none;
}

#divScoreboard {
  max-width: min-content;
  margin: auto;
  min-width: 25em;
}

#divScoreboard h2 {
  text-align: center;
  margin: 0em;
}

.stillDrawingContainer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.versionHash {
  position: fixed;
  right: 0.5em;
  bottom: 0.5em;
  font-size: small;
  font-size: x-small;
  color: gray;
}

@keyframes pulse {
  0% {
    transform: scale(0.95) rotate(0deg);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1) rotate(5deg);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.95) rotate(0deg);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.pie {
  width: 8vh;
  height: 8vh;
  line-height: 8vh;
  display: block;
  position: fixed;
  left: 1em;
  top: 1em;
  border-radius: 50%;
  background-color: #4e6773;
  border: 2px solid #4e6773;
  float: left;
  margin: 2em;
  z-index: 5;
  text-align: center;
}

.pie .block {
  position: absolute;
  background: #fff;
  width: 6vh;
  height: 6vh;
  display: block;
  border-radius: 50%;
  top: 1vh;
  left: 1vh;
  z-index: 6;
}

#WatchTimerTime {
  font-size: 2em;
  font-weight: bolder;
  position: relative;
  margin: auto;
  vertical-align: middle;
  color: black;
  z-index: 6;
}

.degree {
  /*90 + ( 360 * .1 )*/
  background-image: linear-gradient(90deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
  z-index: 5;
}

.pagination {
  list-style-type: none;
  list-style-position: inside;
}

.page-item a[aria-label] {
  margin-right: 0.5em;
  margin-left: 0.5em;
}

.page-item {
  display: inline;
  /* show pagination links next to each other in content submission */
}

.page-item a:not([aria-label]) {
  display: none;
  /* do not show "..." links in content submission pagination */
  text-decoration: none;
  cursor: default;
}

.page-item.active a {
  display: inline;
  /* show current page number in content submission pagination */
}

.qrcode canvas {
  margin-top: 1em;
  width: 7em !important;
  height: 7em !important;
  border: #cfd8dc solid 0.5em;
}

.partyLobbyContainer {
  margin-left: 1.75em;
  margin-right: 1.75em;
  vertical-align: bottom;
}

.joinDiv {
  width: fit-content;
  margin: auto;
  padding: 1em;
}

.endTable {
  background-color: #cbd5d9;
  color: black;
}

.reactionDiv {
  margin: auto;
}

.reactionDiv h2 {
  text-align: center;
}

.mainMenuDiv {
  text-align: center;
  margin-bottom: 1em;
}

.textAlignReset {
  text-align: initial;
}

.textAlignStart {
  text-align: start;
}

#inpLangu {
  max-width: 11em;
}

.link {
  text-decoration-line: underline;
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
}

.eulaWrapper {
  max-height: 80vh;
  overflow-y: auto;
}

.guidelineWrapper {
  max-width: 40vw;
}

.reactionWrapper {
  min-height: 1.3rem;
  max-height: 1.53em;
  display: block;
  text-align: center;
}

.videoInsert {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.videoContainer {
  margin: auto;
}

.textAlignLeft {
  text-align: left;
  padding-left: 2em;
}

.emojiSize1 {
  font-size: small;
}

.emojiSize2 {
  font-size: medium;
}

.emojiSize3 {
  font-size: larger;
}

.emojiSize4 {
  font-size: x-large;
}

.emojiSize5 {
  font-size: xx-large;
}

.isConnected_false {
  filter: grayscale(100%);
}

.usernameAlign {
  vertical-align: middle;
  display: inline-block;
}

.verticalCenterInline {
  vertical-align: middle;
  display: inline-block;
}

.bigSmartphoneEmoji {
  padding-top: 0.3em;
  font-size: 5em;
  margin: 0;
  margin-left: -0.45em;
}

.lobbyLink {
  margin-right: 0.5em;
  text-decoration: underline;
  font-weight: bold;
  color: #23a7ff;
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
}

.vue-tablist {
  list-style: none;
  display: flex;
  padding-left: 0;
  border-bottom: 1px solid #e2e2e2;
}

.vue-tab {
  padding: 5px 10px;
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
  user-select: none;
  border: 1px solid transparent;
  border-bottom-color: #e2e2e2;
  border-radius: 3px 3px 0 0;
  /* background-color: white; */
  position: relative;
  bottom: -1px;
}

.vue-tab[aria-selected="true"] {
  border-color: #e2e2e2;
  border-bottom-color: transparent;
}

.vue-tab[aria-disabled="true"] {
  cursor: url("../img/cursor/close-outline.svg") 12 12, not-allowed;
  color: #999;
}

.iconSvg {
  width: 1.1rem;
  height: auto;
  vertical-align: baseline;
}

.turnAnswerChooseListClipper {
  max-height: 35em;
  overflow-y: auto;
  overflow-x: hidden;
}

@media (max-width: 640px) {
  body:has(.turnAnswerChooseListClipper) {
    display: block !important;
    justify-content: initial !important;
    align-items: initial !important;
  }
  
  html:has(.turnAnswerChooseListClipper) {
    display: block !important;
    justify-content: initial !important;
    align-items: initial !important;
  }
  
  .turnAnswerChooseListClipper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 1rem !important;
    background: var(--ui-surface, #fffef5) !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    display: block !important;
  }
  
  .turnAnswerChooseListClipper .paragraphWrapper {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
  }
  
  .turnAnswerChooseListClipper .party-choice {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0.75rem !important;
  }
  
  .turnAnswerChooseListClipper .btnPickGuess {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.party-choice {
  margin-bottom: 0.75rem;
  transition: all 0.3s ease-out;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.party-choice .btnPickGuess {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1.1rem;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 640px) {
  .party-choice {
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 100%;
    display: block;
  }
  .party-choice .btnPickGuess {
    padding: 1rem;
    font-size: 1rem;
    min-height: 48px;
    width: 100%;
    max-width: 100%;
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .party-panel__choices {
    width: 100%;
    max-width: 100%;
    display: block;
  }
  
  .turnAnswerChooseListClipper.party-panel__choices {
    display: block;
    width: calc(100vw - 2rem);
  }
  
  .turnAnswerChooseListClipper.party-panel__choices > * {
    width: 100%;
    max-width: 100%;
    display: block;
  }
}

.answer-item {
  transition: all 0.3s ease-out;
  overflow: hidden;
}

.answer-collapse-leave-active {
  transition: all 0.3s ease-out;
}

.answer-collapse-leave-to {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  transform: translateX(-20px);
}

.answer-collapse-move {
  transition: transform 0.3s ease-out;
}

.paragraphWrapper {
  max-width: 30rem;
  width: 100%;
  min-width: 0;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  align-self: stretch;
  text-align: center;
}

.pure-button:focus-visible {
  outline: 2px solid rgb(148, 148, 148);
  outline-offset: 2px;
}

.clickable:focus-visible {
  outline: 2px solid rgb(148, 148, 148);
  outline-offset: 2px;
}

input:focus-visible {
  outline: 2px solid rgb(148, 148, 148);
  outline-offset: 2px;
}

.shakeControl {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

.openidbutton {
  background: transparent;
  border: 0px;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #fff;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
}

.joinContainerMargin {
  margin-left: 1em;
}

.confettiCanvas {
  position: fixed;
  top: 0px;
  left: 0px;
  pointer-events: none;
  z-index: 100;
  width: 100%;
  height: 100%;
}

.cardBadge {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cardBadge__text {
  color: #000;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 2.5em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
  padding: 0.5em;
}

.cardFlash-enter-active {
  animation: cardFlashIn 0.2s ease-out;
}

.cardFlash-leave-active {
  animation: cardFlashOut 0.2s ease-in;
}

@keyframes cardFlashIn {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cardFlashOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.warn>.notification-content {
  color: #000;
}

.warn>.notification-title {
  color: #000;
}

.nook-menu-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 1.8vw, 1.65rem);
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.nook-menu-card {
  width: 100%;
  border-radius: var(--ui-radius-md);
  border: 3px solid var(--card-border, var(--ui-border-strong));
  background: var(--card-bg, linear-gradient(165deg, #fffef9 0%, #fbe6c7 85%));
  color: var(--ui-text);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--ui-card-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
  min-height: 182px;
  position: relative;
  transition: box-shadow 180ms ease;
}

.nook-menu-card:hover:not(:disabled),
.nook-menu-card:focus-visible:not(:disabled) {
  box-shadow: 0 20px 38px rgba(60, 87, 65, 0.25), 0 8px 16px rgba(60, 87, 65, 0.1);
}

.nook-menu-card:disabled {
  cursor: url("../img/cursor/close-outline.svg") 12 12, not-allowed;
  opacity: 0.6;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}

.nook-menu-card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 3px solid var(--icon-border, rgba(45, 61, 41, 0.2));
  background: var(--icon-bg, rgba(255, 255, 255, 0.85));
  color: var(--icon-color, var(--ui-text));
  box-shadow: inset 0 -6px 12px rgba(255, 255, 255, 0.9);
}

.nook-menu-card__label {
  font-size: 1.15rem;
  text-align: left;
  line-height: 1.2;
  font-weight: 700;
  width: 100%;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 640px) {
  .nook-menu-card {
    min-height: 150px;
    padding: 1.1rem 1.15rem;
  }
}

.settings-panel {
  width: min(860px, 100%);
  margin: 0 auto;
  border-radius: var(--menu-card-radius);
  border: var(--menu-outline-size) solid var(--menu-outline);
  background: var(--menu-bg);
  box-shadow: 0 10px 25px -5px var(--menu-shadow), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ui-field {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--ui-radius-sm);
  border: 2px dashed rgba(61, 95, 70, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

.ui-field.ui-field--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.45rem 0.7rem;
  border: 2px dashed rgba(61, 95, 70, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.ui-field__label {
  flex: 0 0 180px;
  font-weight: 700;
  color: var(--ui-muted-text);
}

.ui-field.ui-field--stacked .ui-field__label {
  flex: 0 0 auto;
}

.ui-field__control {
  flex: 1 1 auto;
  margin: 1em;
}

.ui-field__control[data-control="slider"] {
  max-width: 320px;
}

.settings-panel__group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-items: stretch;
}

.settings-panel .ui-field--language {
  grid-column: span 2;
}

.settings-panel__group+.settings-panel__group {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(61, 95, 70, 0.2);
}

@media (max-width: 640px) {
  .settings-panel__group {
    grid-template-columns: 1fr;
  }
}

.settings-panel select,
.settings-panel input[type="text"],
.settings-panel input[type="number"],
.settings-panel input[type="range"] {
  background: rgba(249, 241, 223, 0.95) !important;
  border: 2px solid var(--ui-border-soft) !important;
  border-radius: var(--ui-radius-sm);
  color: var(--ui-text);
  letter-spacing: 0.5px;
  padding: 0.45rem 0.65rem;
  font-weight: 600;
}

.settings-panel input[type="range"] {
  accent-color: var(--ui-primary);
  padding: 0;
  height: 6px;
}

.settings-panel input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  border: 2px solid var(--ui-border-strong);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.settings-panel input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  border: 2px solid var(--ui-border-strong);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.settings-panel .ui-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Consistent page/panel transition */
.panel-transition-enter-active,
.panel-transition-leave-active {
  transition: opacity 120ms ease, transform 120ms ease;
}

.panel-transition-enter {
  opacity: 0;
  transform: translateY(4px);
}

.panel-transition-leave-to {
  opacity: 0;
  transform: translateY(4px);
}

@media (max-width: 768px) {
  .ui-field {
    flex-direction: column;
    align-items: flex-start;
  }

  .ui-field__label {
    flex: 0 0 auto;
  }
}

.ink-header {
  background: var(--ink-header-bg, linear-gradient(145deg, #fffef9, #f5e5cc));
  border-radius: calc(var(--ink-radius, var(--ui-radius-md)) - 2px) calc(var(--ink-radius, var(--ui-radius-md)) - 2px) 0 0;
  padding: 1rem 1.35rem 1.5rem;
  margin-bottom: -0.75rem;
  display: flex;
  align-items: center;
  border-radius: calc(var(--ui-radius-md) - 14px);
  border: 2px dashed rgba(45, 61, 41, 0.18);
  pointer-events: auto;
}

.nook-menu-card:hover:not(:disabled),
.nook-menu-card:focus-visible:not(:disabled) {
  box-shadow: 0 20px 38px rgba(60, 87, 65, 0.25), 0 8px 16px rgba(60, 87, 65, 0.1);
}

.nook-menu-card:disabled {
  cursor: url("../img/cursor/close-outline.svg") 12 12, not-allowed;
  opacity: 0.6;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}

.nook-menu-card__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 3px solid var(--icon-border, rgba(45, 61, 41, 0.2));
  background: var(--icon-bg, rgba(255, 255, 255, 0.85));
  color: var(--icon-color, var(--ui-text));
  box-shadow: inset 0 -6px 12px rgba(255, 255, 255, 0.9);
}

.nook-menu-card__label {
  font-size: 1.15rem;
  text-align: left;
  line-height: 1.2;
  font-weight: 700;
  width: 100%;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 640px) {
  .nook-menu-card {
    min-height: 150px;
    padding: 1.1rem 1.15rem;
  }
}

.settings-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  border-radius: var(--ui-radius-md);
  border: 4px solid var(--ui-border-strong);
  background: var(--ui-surface);
  box-shadow: var(--ui-card-shadow);
}

.ui-field {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--ui-radius-sm);
  border: 2px dashed rgba(61, 95, 70, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

.ui-field.ui-field--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.45rem 0.7rem;
  border: 2px dashed rgba(61, 95, 70, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.ui-field__label {
  flex: 0 0 180px;
  font-weight: 700;
  color: var(--ui-muted-text);
}

.ui-field.ui-field--stacked .ui-field__label {
  flex: 0 0 auto;
}

.ui-field__control {
  flex: 1 1 auto;
}

.ui-field__control[data-control="slider"] {
  max-width: 320px;
}

.settings-panel__group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-items: stretch;
}

.settings-panel .ui-field--language {
  grid-column: span 2;
}

.settings-panel__group+.settings-panel__group {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(61, 95, 70, 0.2);
}

@media (max-width: 640px) {
  .settings-panel__group {
    grid-template-columns: 1fr;
  }
}

.settings-panel select,
.settings-panel input[type="text"],
.settings-panel input[type="number"],
.settings-panel input[type="range"] {
  background: rgba(249, 241, 223, 0.95) !important;
  border: 2px solid var(--ui-border-soft) !important;
  border-radius: var(--ui-radius-sm);
  color: var(--ui-text);
  letter-spacing: 0.5px;
  padding: 0.45rem 0.65rem;
  font-weight: 600;
}

.settings-panel input[type="range"] {
  accent-color: var(--ui-primary);
  padding: 0;
  height: 6px;
}

.settings-panel input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  border: 2px solid var(--ui-border-strong);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.settings-panel input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  border: 2px solid var(--ui-border-strong);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.settings-panel .ui-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .ui-field {
    flex-direction: column;
    align-items: flex-start;
  }

  .ui-field__label {
    flex: 0 0 auto;
  }
}

.ink-header {
  background: var(--ink-header-bg, linear-gradient(145deg, #fffef9, #f5e5cc));
  border-radius: calc(var(--ink-radius, var(--ui-radius-md)) - 2px) calc(var(--ink-radius, var(--ui-radius-md)) - 2px) 0 0;
  padding: 1rem 1.35rem 1.5rem;
  margin-bottom: -0.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
}

.ink-header__badge {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
}

.ink-header__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ink-header__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--ui-muted-text);
}

.ink-body {
  background: var(--ink-bg, var(--ui-surface));
  border-radius: 0 0 calc(var(--ink-radius, var(--ui-radius-md)) - 2px) calc(var(--ink-radius, var(--ui-radius-md)) - 2px);
  padding: 1.35rem 1.5rem;
  margin-top: 0.35rem;
}

.settings-panel.ink {
  --ink-header-bg: linear-gradient(135deg, #fff7e0, #f8e0ba);
  padding: 0;
  overflow: visible;
}

@media (max-width: 640px) {
  .nook-menu-card {
    min-height: 150px;
    padding: 1.1rem 1.15rem;
  }
}

.settings-panel {
  width: min(760px, 100%);
  margin: 0 auto;
  border-radius: var(--ui-radius-md);
  border: 4px solid var(--ui-border-strong);
  background: var(--ui-surface);
  box-shadow: var(--ui-card-shadow);
}

.ui-field {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--ui-radius-sm);
  border: 2px dashed rgba(61, 95, 70, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

.ui-field.ui-field--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.45rem 0.7rem;
  border: 2px dashed rgba(61, 95, 70, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.ui-field__label {
  flex: 0 0 180px;
  font-weight: 700;
  color: var(--ui-muted-text);
}

.ui-field.ui-field--stacked .ui-field__label {
  flex: 0 0 auto;
}

.ui-field__control {
  flex: 1 1 auto;
}

.ui-field__control[data-control="slider"] {
  max-width: 320px;
}

.settings-panel__group {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  align-items: stretch;
}

.settings-panel .ui-field--language {
  grid-column: span 2;
}

.settings-panel__group+.settings-panel__group {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(61, 95, 70, 0.2);
}

@media (max-width: 640px) {
  .settings-panel__group {
    grid-template-columns: 1fr;
  }
}

.settings-panel select,
.settings-panel input[type="text"],
.settings-panel input[type="number"],
.settings-panel input[type="range"] {
  background: rgba(249, 241, 223, 0.95) !important;
  border: 2px solid var(--ui-border-soft) !important;
  border-radius: var(--ui-radius-sm);
  color: var(--ui-text);
  letter-spacing: 0.5px;
  padding: 0.45rem 0.65rem;
  font-weight: 600;
}

.settings-panel input[type="range"] {
  accent-color: var(--ui-primary);
  padding: 0;
  height: 6px;
}

.settings-panel input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  border: 2px solid var(--ui-border-strong);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.settings-panel input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 12px;
  border: 2px solid var(--ui-border-strong);
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
}

.settings-panel .ui-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .ui-field {
    flex-direction: column;
    align-items: flex-start;
  }

  .ui-field__label {
    flex: 0 0 auto;
  }
}

.ink-header {
  background: var(--ink-header-bg, linear-gradient(145deg, #fffef9, #f5e5cc));
  border-radius: calc(var(--ink-radius, var(--ui-radius-md)) - 2px) calc(var(--ink-radius, var(--ui-radius-md)) - 2px) 0 0;
  padding: 1rem 1.35rem 1.5rem;
  margin-bottom: -0.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
}

.ink-header__badge {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
}

.ink-header__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ink-header__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--ui-muted-text);
}

.ink-body {
  background: var(--ink-bg, var(--ui-surface));
  border-radius: 0 0 calc(var(--ink-radius, var(--ui-radius-md)) - 2px) calc(var(--ink-radius, var(--ui-radius-md)) - 2px);
  padding: 1.35rem 1.5rem;
  margin-top: 0.35rem;
}

.settings-panel.ink {
  --ink-header-bg: linear-gradient(135deg, #fff7e0, #f8e0ba);
  padding: 0;
  overflow: visible;
}

.settings-panel.ink::before {
  display: none;
}

/* Zigzag Header Styles */
.settings-panel__header {
  display: grid;
  grid-template-columns: auto;
  justify-items: center;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  background: var(--menu-header-bg);
  color: #ffffff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  padding: 1.35rem 1.6rem !important;
  min-height: 4.5rem;
}

.settings-panel__header::after {
  display: none;
}

.settings-panel--cozy .ink-header__badge {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -4px 8px rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.settings-panel__title {
  margin: 0;
  font-size: 1.6rem;
  color: #ffffff;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.settings-panel__subtitle {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.settings-panel__body {
  padding: 1.6rem 1.7rem 1.85rem;
  background: var(--menu-bg);
}

/* Main menu cards */
.main-menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(280px, 1fr);
  gap: clamp(1.25rem, 2vw, 2.15rem);
  padding-bottom: 3rem;
  align-items: stretch;
}

.menu-card {
  --menu-bg: #fff4e8;
  --menu-text: #aa8471;
  --menu-header-bg: #fba08e;
  --menu-outline: #ffffff;
  --menu-shadow: rgba(92, 75, 66, 0.35);
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: stretch;
  gap: 0;
  border-radius: var(--menu-card-radius);
  border: var(--menu-outline-size) solid var(--menu-outline);
  background: var(--menu-bg);
  color: var(--menu-text);
  padding: 0;
  min-height: 260px;
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
  box-shadow: 0 10px 25px -5px var(--menu-shadow), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transition: transform 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  text-align: left;
  font-family: var(--menu-font);
}

.nook-menu-card__header {
  background: var(--menu-header-bg);
  color: #ffffff;
  padding: 1.05rem 1rem 1rem;
  text-align: center;
  min-height: 4.5rem;
  display: grid;
  place-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.nook-menu-card__sup {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #ffffff;
}

.nook-menu-card__title {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.08);
  color: #ffffff;
}

.nook-menu-card__content {
  padding: 1.35rem 1.45rem 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--menu-text);
  background: var(--menu-bg);
}

.menu-card:hover:not(:disabled),
.menu-card:focus-visible:not(:disabled) {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08), 0 12px 24px -8px var(--menu-shadow);
}

.menu-card:disabled {
  cursor: url("../img/cursor/close-outline.svg") 12 12, not-allowed;
  opacity: 0.6;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6);
}

.menu-card:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.16);
  outline-offset: 3px;
}

.menu-card__cta {
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

.menu-card__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
}

.menu-card__spinner {
  color: var(--ui-border-strong);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  gap: 0.65rem;
  text-align: left;
  padding: 0.8rem 1.2rem;
  min-height: 3rem;
}

.cta-button__iconwrap {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  width: 2.9rem;
  height: 2.9rem;
}

.cta-button__icon {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
  stroke: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.cta-button__divider {
  flex: 0 0 auto;
  width: 2px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
}

.cta-button__label {
  flex: 1 1 auto;
  letter-spacing: 0.02em;
  line-height: 1.3;
  min-width: 0;
  display: block;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.settings-panel .cta-button {
  max-width: none;
  justify-content: flex-start;
}

.settings-panel .cta-button__label {
  text-align: left;
}

/* Mobile-compact settings panel */
@media (max-width: 480px) {
  .settings-panel {
    width: 100%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    border-radius: var(--ui-radius-sm);
  }

  .settings-panel__body {
    padding: 1rem 0.9rem 1.2rem;
    overflow-y: auto;
    flex: 1 1 auto;
    -webkit-overflow-scrolling: touch;
  }

  .settings-panel__header {
    min-height: 3.5rem;
    padding: 0.6rem 0.9rem;
  }

  .settings-panel--cozy .ink-header__badge {
    width: 2.4rem;
    height: 2.4rem;
  }

  .settings-panel__header-glyph {
    width: 32px !important;
    height: 32px !important;
  }

  .settings-panel__group {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .settings-panel__group+.settings-panel__group {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
  }

  .settings-panel .ui-field {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0.65rem;
    gap: 0.35rem;
  }

  .settings-panel .ui-field__label {
    flex: 0 0 auto;
    font-size: 0.85rem;
  }

  .settings-panel .ui-field__control {
    margin: 0;
    width: 100%;
  }

  .settings-panel select {
    width: 100%;
    max-width: 100%;
    font-size: 0.9rem;
    padding: 0.5rem 0.6rem !important;
    text-overflow: ellipsis;
  }

  .settings-panel .ui-field__control[data-control="slider"] {
    max-width: 100%;
  }

  .settings-panel .cta-button {
    width: 100%;
    font-size: 0.9rem;
  }

  .settings-panel .cta-button__form {
    padding: 0.6rem 0.8rem;
  }

  .settings-panel .ui-checkbox {
    width: 1.3rem;
    height: 1.3rem;
  }
}

/* Shared checkbox styling */
.ui-checkbox {
  position: relative;
  width: 1.45rem;
  height: 1.45rem;
  appearance: none;
  border-radius: 0.45rem;
  border: 3px solid #c17829;
  background: linear-gradient(180deg, #fff9ec 0%, #ffd69a 100%);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08), inset 0 -3px 8px rgba(255, 255, 255, 0.8);
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.ui-checkbox:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08), inset 0 -2px 6px rgba(255, 255, 255, 0.9);
}

.ui-checkbox:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #ffe7c1 0%, #ffb95b 100%);
}

.ui-checkbox:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.18);
  outline-offset: 3px;
}

.ui-checkbox:checked {
  background: linear-gradient(180deg, #8eb4fb 0%, #5c8d63 100%);
  border-color: #4a6fa5;
  box-shadow: inset 0 -3px 8px rgba(255, 255, 255, 0.75), 0 3px 0 rgba(0, 0, 0, 0.08);
}

.ui-checkbox:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M6.4 11.6 2.8 8l1.2-1.2 2.4 2.4 5.6-5.6 1.2 1.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

@media (max-width: 640px) {
  .nook-menu-card__title {
    font-size: 1.3rem;
  }

  .nook-menu-card__content {
    padding: 1.1rem 1.1rem 1.25rem;
  }
}

@media (max-width: 1100px) {
  .main-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(240px, 1fr);
  }
}

@media (max-width: 700px) {
  .main-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(180px, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
  }
}

.menu-tone-peach {
  --menu-bg: #fff4e8;
  --menu-text: #aa8471;
  --menu-header-bg: #fba08e;
  --menu-header-text: #fcfcfa;
  --menu-shadow: rgba(92, 75, 66, 0.35);
}

.menu-tone-sky {
  --menu-bg: #e8f4ff;
  --menu-text: #4a6fa5;
  --menu-header-bg: #8eb4fb;
  --menu-header-text: #ffffff;
  --menu-shadow: rgba(66, 75, 92, 0.35);
}

.menu-tone-mint {
  --menu-bg: #ecfff6;
  --menu-text: #3c6b55;
  --menu-header-bg: #71d3b0;
  --menu-header-text: #f8fffc;
  --menu-shadow: rgba(52, 107, 85, 0.3);
}

.menu-tone-lilac {
  --menu-bg: #f3edff;
  --menu-text: #5f4c94;
  --menu-header-bg: #b6a3ff;
  --menu-header-text: #ffffff;
  --menu-shadow: rgba(84, 72, 122, 0.28);
}

.menu-tone-rose {
  --menu-bg: #fff0f4;
  --menu-text: #9c4d6c;
  --menu-header-bg: #f58ab2;
  --menu-header-text: #fff8fb;
  --menu-shadow: rgba(124, 67, 95, 0.32);
}

.menu-tone-gold {
  --menu-bg: #fff8e3;
  --menu-text: #8c6a2d;
  --menu-header-bg: #f7ce6f;
  --menu-header-text: #2f2410;
  --menu-shadow: rgba(125, 98, 47, 0.28);
}

.menu-tone-sand {
  --menu-bg: #f5f1eb;
  --menu-text: #736356;
  --menu-header-bg: #d6c4b3;
  --menu-header-text: #2f251f;
  --menu-shadow: rgba(76, 60, 53, 0.25);
}

.menu-tone-sunset {
  --menu-bg: #fff1e9;
  --menu-text: #a8624a;
  --menu-header-bg: #ff9a76;
  --menu-header-text: #fffaf7;
  --menu-shadow: rgba(140, 77, 60, 0.32);
}

.menu-tone-rust {
  --menu-bg: #ffeaea;
  --menu-text: #8a3b3b;
  --menu-header-bg: #ef6f6c;
  --menu-header-text: #fff7f7;
  --menu-shadow: rgba(126, 60, 60, 0.35);
}

/* Custom cursor overrides - apply custom cursors globally */
*[style*="cursor: pointer"],
*[style*="cursor:pointer"],
a,
button,
[role="button"],
label[for],
select,
summary,
[onclick],
[tabindex]:not([tabindex="-1"]) {
  cursor: url("../img/cursor/hand-pointer.svg") 12 8, pointer !important;
}

*:disabled,
[aria-disabled="true"] {
  cursor: url("../img/cursor/close-outline.svg") 12 12, not-allowed !important;
}

/* Avatar choice panel - for reusing saved avatars */
.avatar-choice-panel {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.saved-avatar-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--ui-radius-md, 12px);
}

.saved-avatar-image {
  max-width: 200px;
  max-height: 250px;
  width: auto;
  height: auto;
  border-radius: var(--ui-radius-sm, 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.avatar-choice-description {
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--ui-text, #333);
  line-height: 1.5;
}

.avatar-choice-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.avatar-choice-buttons .pure-button {
  width: 100%;
}

@media (min-width: 400px) {
  .avatar-choice-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .avatar-choice-buttons .pure-button {
    width: auto;
    min-width: 150px;
  }
}
