/* Animation for roation right */
@keyframes RotationRight {
  from {
    transform: rotate(0deg) scaleX(1);
  }
  to {
    transform: rotate(359deg) scaleX(1);
  }
}

/* Animation for roation relft */
@keyframes RotationLeft {
  from {
    transform: rotate(359deg) scaleX(-1);
  }
  to {
    transform: rotate(0deg) scaleX(-1);
  }
}

/* Animation for player join */
@keyframes SlideLeft {
  0% {
    left: 105%;
  }
  100% {
    left: 0%;
  }
}

/* Animation for player leave */
@keyframes SlideRight {
  0% {
    left: 0%;
  }
  100% {
    left: 105%;
  }
}

/* Animation for card showing up */
@keyframes SlideUp {
  0% {
    margin-bottom: -25%;
  }
  100% {
    margin-top: 0;
  }
}

/* Animation for card place */
@keyframes DropDown {
  0% {
    top: 50%;
    left: calc(50% / -2);
    width: calc(100% + 50%);
    height: calc(100% + 50%);
  }
  100% {
    top: 0%;
    left: calc(0% / -2);
    width: calc(100% + 0%);
    height: calc(100% + 0%);
  }
}

/* Animation for overlay */
@keyframes PopUp {
  0% {
    transform: scale(0, 0);
  }
  5% {
    transform: scale(1, 1);
  }
  95% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(0, 0);
  }
}

/* Animation for cover */
@keyframes PopUpCover {
  0% {
    transform: translate(-50%, -50%) scale(0, 0);
  }
  5% {
    transform: translate(-50%, -50%) scale(1, 1);
  }
  95% {
    transform: translate(-50%, -50%) scale(1, 1);
  }
  100% {
    transform: translate(-50%, -50%) scale(0, 0);
  }
}

/* Animation for stack of cards */
@keyframes GrowShrink {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.2, 1.2);
  }
  100% {
    transform: scale(1, 1);
  }
}

/* Animation for color change and stack counter show */
@keyframes PopIn {
  0% {
    transform: translate(-50%, -50%) scale(0, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1, 1);
  }
}

/* Animation for color change and stack counter hide */
@keyframes PopOut {
  0% {
    transform: translate(-50%, -50%) scale(1, 1);
  }
  100% {
    transform: translate(-50%, -50%) scale(0, 0);
  }
}

/* Animation for winner */
@keyframes ScaleUp {
  0% {
    transform: translate(-50%, -50%) scale(0, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(0.5, 0.5);
  }
}

/* Animation for choose */
@keyframes ChooseAnimation {
  0% {
    transform: translate(-50%, -50%) scale(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1, 1) rotate(20deg);
  }
}

/* Animation for choose */
@keyframes GlowAnimation {
  0% {
    filter: drop-shadow(0px 0px 20px var(--yellow));
  }
  50% {
    filter: drop-shadow(0px 0px 5px var(--yellow));
  }
  100% {
    filter: drop-shadow(0px 0px 20px var(--yellow));
  }
}

#game-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  font-family: Uni_Sans_Heavy;
}

#bgimg {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#settings {
  position: absolute;
  width: 64px;
  height: 64px;
  left: 50%;
  top: 15px;
  transform: translate(-50%, 0);
}

#carddeck {
  position: absolute;
  left: calc(50% - 52px);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 76px;
  object-fit: contain;
  cursor: pointer;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  #carddeck:hover {
    transform: translate(-50%, -50%) scale(1.06);
    filter: brightness(1.1);
  }
}

#carddeck:active {
  transform: translate(-50%, -50%) scale(0.95);
}

#table {
  position: absolute;
  width: 300px;
  height: 260px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#color-select {
  /* border: 2px solid chartreuse; */
  position: absolute;
  width: 300px;
  height: 300px;
  left: calc(50% + 1px);
  top: 50%;
  transform: translate(-50%, -50%) scale(0, 0);
}

.PopIn {
  animation: PopIn 0.1s linear forwards;
}

.PopOut {
  animation: PopOut 0.1s linear forwards;
}

#YELLOW {
  background-color: var(--yellow);
  position: absolute;
  top: 100px;
  width: 100px;
  height: 100px;
}

#GREEN {
  background-color: var(--green);
  position: absolute;
  top: 0px;
  left: 100px;
  width: 100px;
  height: 100px;
}

#BLUE {
  background-color: var(--blue);
  position: absolute;
  top: 100px;
  left: 200px;
  width: 100px;
  height: 100px;
}

#RED {
  background-color: var(--red);
  position: absolute;
  top: 200px;
  left: 100px;
  width: 100px;
  height: 100px;
}

.color {
  opacity: 0.75;
  border-radius: 5px;
  transition: 0.2s;
  transform: scale(0.8, 0.8);
  box-shadow: 0px 0px 5px 5px var(--black);
}

.color:hover {
  transition: 0.2s;
  transform: scale(1, 1);
}

#cards {
  position: absolute;
  width: 75%;
  max-width: 920px;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  user-select: none;
}

.card {
  width: 90px;
  height: 140px;
  flex-shrink: 0;
  box-shadow: -4px 0px 6px 1px rgba(0, 0, 0, 0.55);
  border-radius: 9px;
  margin-left: -3rem;
  animation: none;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.25, 1),
    box-shadow 0.22s ease;
  cursor: pointer;
  will-change: transform;
  backface-visibility: hidden;
  touch-action: manipulation;
}

.card:first-child {
  margin-left: 0 !important;
}

.card.dealt {
  animation: DealIn 0.24s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.card.playable {
  cursor: pointer;
}

.card.unplayable {
  cursor: default;
  filter: brightness(75%);
}

.card:hover {
  transform: translateY(-1.3rem) scale(1.04);
  box-shadow: 0 10px 20px 2px rgba(0, 0, 0, 0.7);
  z-index: 50;
  position: relative;
}

.card:hover ~ .card {
  transform: translateX(2.6rem);
}

.directionRight {
  animation: RotationRight 2s infinite linear;
}

.directionLeft {
  animation: RotationLeft 2s infinite linear;
}

.arrow {
  /* border: 2px solid black; */
  position: relative;
  text-align: right;
  float: right;
  width: 64px;
  height: 64px;
  margin-top: 7px;
  margin-right: 57px;
  pointer-events: none;
  clear: both;
}

#players {
  /* border: 2px solid green; */
  position: relative;
  float: right;
  top: 5px;
}

.player {
  /* border: 2px solid red; */
  position: relative;
  text-align: right;
  animation: SlideLeft 0.3s linear;
  font-size: 25px;
  color: white;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: var(--black);
}

.username {
  /* border: 2px solid purple; */
  cursor: url(../resources/arrow.png), auto;
  font-weight: normal;
}

.count {
  /* border: 2px solid yellow; */
  display: inline-block;
  text-align: center;
  width: 37px;
  line-height: 60px;
  margin-top: 5px;
  margin-right: 10px;
  cursor: url(../resources/arrow.png), auto;
}

.avatar {
  /* border: 2px solid blue; */
  vertical-align: middle;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.remove {
  animation: SlideRight 0.3s linear forwards;
}

.overlay {
  /* border: 2px solid gray; */
  visibility: hidden;
  position: absolute;
  vertical-align: middle;
  right: 47px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.popup {
  visibility: visible;
  animation: PopUp 1s linear forwards;
}

.glow {
  text-shadow:
    0px 0px 20px var(--yellow),
    0px 0px 20px var(--yellow),
    0px 0px 20px var(--yellow);
}

#cards-desk {
  /* border: 2px solid orange; */
  position: absolute;
  left: calc(50% + 44px);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 140px;
}

.card-desk {
  /* border: 2px solid aqua; */
  position: absolute;
  width: 90px;
  height: 140px;
  filter: drop-shadow(5px 5px 5px #222);
  border-radius: 10px;
  will-change: transform;
}

.card-desk.settle {
  animation: DeskSettle 0.22s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.card-desk.color-reveal {
  animation: ColorReveal 0.36s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.popupCover {
  animation: PopUpCover 1s linear forwards;
}

#cover {
  /* border: 2px solid orange; */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0, 0);
  width: 256px;
  height: 256px;
}

/* [Winner part start] */

#winner-container {
  font-family: Uni_Sans_Heavy;
}

#winner-container {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 900;
}

#winner-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scale(0.5, 0.5);
}

#winner-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 33%;
  height: auto;
  border-radius: 10%;
  box-shadow:
    0vw 0vw 1.25vw 0.87vw var(--yellow),
    0vw 2.5vw 1.25vw 1.25vw rgb(34, 34, 34, 0.3);
}

#winner-avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
}

#winner-crown {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 7%;
  margin: -9%;
}

#winner-username {
  margin-top: -30%;
}

#winner-timeout {
  margin-top: -40%;
}

#winner-return {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: 33%;

  width: 19vw;
  height: 6.1vw;

  border-radius: 1.15vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../resources/green_button.png");
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  box-shadow: 0vw 0vw 0.8vw 0.4vw #222;

  font-family: Uni_Sans_Heavy;
  color: var(--white);
  font-size: 3vw;
  -webkit-text-stroke-width: 0.2vw;
  -webkit-text-stroke-color: var(--black);

  transition:
    box-shadow 0.3s,
    filter 0.3s;
}

#winner-return:hover {
  box-shadow: 0vw 0vw 0.8vw 0.4vw var(--yellow);
  transition: 0.3s;
}

#winner-return:active {
  filter: grayscale(25%);
  transition: 0.3s;
}

.winner-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  color: var(--white);
  font-size: 4vw;
  -webkit-text-stroke-width: 0.3vw;
  -webkit-text-stroke-color: var(--black);
  text-align: center;
}

.ScaleUp {
  animation: ScaleUp 0.5s linear forwards;
}

/* [Winner part end] */

/* [Choose part start] */

#choose-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#choose-bar {
  position: absolute;
  transform: translate(-50%, -50%);
}

#choose-card {
  position: absolute;
  transform: translate(-50%, -50%) rotate(20deg);
  width: 135px;
  height: 210px;
  box-shadow: 0px 0px 10px 5px #222;
  border-radius: 15px;
}

#choose-place {
  margin-left: -230px;
  background-image: url("../resources/red_button.png");
}

#choose-save {
  margin-left: 230px;
  background-image: url("../resources/blue_button.png");
}

.choose-button {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 80px;
  border-radius: 15px;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  box-shadow: 0px 0px 10px 5px #222;

  font-family: Uni_Sans_Heavy;
  color: var(--white);
  font-size: 40px;
  -webkit-text-stroke-width: 2.5px;
  -webkit-text-stroke-color: var(--black);

  transition:
    box-shadow 0.3s,
    filter 0.3s;
}

.choose-button:hover {
  box-shadow: 0px 0px 10px 5px var(--yellow);
  transition: 0.3s;
}

.choose-button:active {
  filter: grayscale(25%);
  transition: 0.3s;
}

.ChooseAnimation {
  animation: ChooseAnimation 0.15s linear forwards;
}

/* [Choose part end] */

/* [Stack counter start] */

#stacking-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0, 0);
}

#stacking-image {
  position: absolute;
  transform: translate(-50%, -50%);
  margin-top: -175px;
}

#stacking-count {
  position: absolute;
  transform: translate(-50%, -50%);
  margin-top: -170px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: Uni_Sans_Heavy;
  color: #fff;
  font-size: 30px;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: black;
}

/* [Stack counter end] */

/* [UNO start] */

#uno-wrapper {
  position: absolute;
  width: 220px;
  height: 190px;
  left: calc(50% + 200px);
  top: 50%;
  transform: translate(-50%, -50%) scale(0.3);
}

#uno {
  transition: 0.1s;
  animation: GlowAnimation 1s infinite linear;
}

#uno:active {
  transition: 0.3s;
  filter: grayscale(25%);
}

/* [UNO end] */

/* [Settings part start] */

#settings-container .room-id {
  position: relative;
  display: flex;
  height: 32px;
  justify-content: center;
  align-items: center;
  float: left;
}

#settings-container .room-id.text {
  margin: 15px 5px 15px 15px;
}

#settings-container .room-id.code {
  margin: 15px 15px 15px 5px;
}

#settings-container .setting-player {
  height: 60px;
}

#settings-container .setting-avatar {
  width: 48px;
  height: 48px;
}

#settings-container .setting-username {
  display: flex;
  width: 400px;
  margin: 0 auto -2px 15px;
  overflow: hidden;
}

#settings-container .kick {
  transform: scale(0.6);
  transition:
    box-shadow 0.3s,
    filter 0.3s;
}

#settings-container .kick:hover {
  box-shadow: 0px 0px 10px 5px var(--white);
}

/* [Settings part end] */

/* [Bot Cards & Opponent Animations] */
#bot-cards {
  position: absolute;
  width: 60%;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.bot-card {
  width: 76px;
  height: 118px;
  box-shadow: -4px 0px 6px 1px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  margin-left: -4.2rem;
  animation: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  will-change: transform;
  backface-visibility: hidden;
}

.bot-card:first-child {
  margin-left: 0;
}

.bot-card.dealt {
  animation: DealIn 0.2s cubic-bezier(0.2, 0.8, 0.25, 1);
}

/* Cards in flight. Motion is driven by WAAPI (transform/opacity only) so the
   browser can keep this on the compositor instead of re-laying out every frame. */
.flying-card {
  position: fixed;
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
  z-index: 600;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  transform-origin: center center;
  backface-visibility: hidden;
}

/* Enter animation for newly-created cards only (existing DOM is reused). */
@keyframes DealIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes DeskSettle {
  0% {
    transform: scale(1.06);
    opacity: 0.92;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes ColorReveal {
  0% {
    transform: scale(1);
    filter: drop-shadow(5px 5px 5px #222) brightness(1.25);
  }
  45% {
    transform: scale(1.07);
    filter: drop-shadow(5px 5px 5px #222) brightness(1.35);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(5px 5px 5px #222) brightness(1);
  }
}

#cards-desk {
  z-index: 5;
}

#color-select {
  z-index: 500;
}

#stacking-container {
  z-index: 400;
}

#players {
  z-index: 20;
}

/* [Responsive layout] */

@media (max-width: 700px) {
  #cards {
    width: 92%;
    bottom: 10px;
  }

  #bot-cards {
    width: 72%;
    top: 8px;
  }

  .card {
    width: 72px;
    height: 112px;
  }

  #cards-desk,
  .card-desk {
    width: 72px;
    height: 112px;
  }

  #cards-desk {
    left: calc(50% + 38px);
  }

  .bot-card {
    width: 60px;
    height: 94px;
  }

  #table {
    width: min(300px, 72vw);
    height: auto;
  }

  #carddeck {
    position: absolute;
    left: calc(50% - 44px);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 64px;
    object-fit: contain;
    cursor: pointer;
    z-index: 10;
  }

  .player {
    font-size: 18px;
  }

  .avatar {
    width: 48px;
    height: 48px;
  }

  .count {
    width: 28px;
    line-height: 44px;
    margin-right: 4px;
  }

  .overlay {
    width: 48px;
    height: 48px;
    right: 34px;
  }

  #color-select {
    width: 240px;
    height: 240px;
  }

  #YELLOW,
  #GREEN,
  #BLUE,
  #RED {
    width: 80px;
    height: 80px;
  }

  #YELLOW {
    top: 80px;
  }

  #GREEN {
    left: 80px;
  }

  #BLUE {
    top: 80px;
    left: 160px;
  }

  #RED {
    top: 160px;
    left: 80px;
  }
}

/* [Reduced motion] */

@media (prefers-reduced-motion: reduce) {
  .card,
  .bot-card,
  .card-desk,
  .popup,
  .popupCover,
  .PopIn,
  .PopOut,
  .ScaleUp,
  .directionRight,
  .directionLeft,
  #uno,
  #carddeck:hover {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Ataraxos-UNO HUD & Live Belief X-Ray Styles
   ========================================================================== */

#ataraxos-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 55;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  pointer-events: auto;
}

.hud-pill {
  background: rgba(18, 22, 34, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 6px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hud-label {
  color: #aaa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hud-select {
  background: transparent;
  color: #00e676;
  border: none;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  padding: 0;
}

.hud-select option {
  background: #1a1e2e;
  color: #fff;
}

.tech-badge {
  color: #00e676;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

#win-prob-val {
  font-weight: 700;
  color: #fff;
  min-width: 42px;
}

#win-prob-bar-bg {
  width: 50px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

#win-prob-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff5252, #ffd600, #00e676);
  width: 50%;
  transition: width 0.35s ease-out;
}

.hud-btn {
  background: rgba(40, 50, 75, 0.85);
  cursor: pointer;
  border: 1px solid rgba(100, 180, 255, 0.3);
  transition: background 0.2s, transform 0.1s, border-color 0.2s;
}

.hud-btn:hover {
  background: rgba(60, 80, 120, 0.95);
  border-color: rgba(100, 200, 255, 0.6);
  transform: translateY(-1px);
}

.hud-btn.active {
  background: rgba(0, 230, 118, 0.25);
  border-color: #00e676;
  color: #00e676;
}

/* Belief X-Ray Panel */
#belief-xray-panel {
  position: absolute;
  top: 56px;
  left: 14px;
  width: 300px;
  background: rgba(15, 20, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  z-index: 60;
  color: #fff;
  padding: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#belief-xray-panel.hidden {
  display: none !important;
}

.xray-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #80d8ff;
}

#xray-close-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

#xray-close-btn:hover {
  color: #fff;
}

.xray-section {
  margin-bottom: 12px;
}

.xray-section-title {
  font-size: 11px;
  text-transform: uppercase;
  color: #8899aa;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.xray-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.xray-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
}

.badge-tag {
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 6px;
}

.red-tag { background: #d32f2f; color: #fff; }
.green-tag { background: #388e3c; color: #fff; }
.blue-tag { background: #1976d2; color: #fff; }
.yellow-tag { background: #fbc02d; color: #111; }
.p2-tag { background: #7b1fa2; color: #fff; }
.p4-tag { background: #e65100; color: #fff; }

.xray-footer-note {
  font-size: 11px;
  color: #8899aa;
  margin-top: 10px;
  text-align: center;
  font-style: italic;
}
