/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #f3f5f8;
  --surface: #fff;
  --soft: #f7f8fa;
  --text: #182033;
  --muted: #737b8c;
  --accent: #f25f4b;
  --navy: #1c2940;
  --blue: #3b63e6;
  --green: #27866b;
  --amber: #b87125;
  --danger: #c44452;
  --line: #e5e8ee;
  --shadow: 0 10px 30px rgba(25, 35, 55, .07);
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background: #e8ebf0;
  font-family: Inter, ui-sans-serif, SF Pro Text, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:active {
  transform: scale(.98);
}

svg {
  width: 1em;
  height: 1em;
  display: block;
}

.app-shell {
  width: min(100%, 680px);
  min-height: 100svh;
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
  background: var(--bg);
  isolation: isolate;
  margin: auto;
  position: relative;
  box-shadow: 0 0 60px rgba(22, 31, 49, .08);
}

.pixel-backdrop {
  z-index: 0;
  transform-origin: top;
  background-image: linear-gradient(to bottom, rgba(243, 245, 248, .3), rgba(243, 245, 248, .82) 48%, var(--bg) 88%), url("/images/renegados-pixel-world.jpg");
  opacity: .34;
  pointer-events: none;
  will-change: transform;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  width: min(100%, 680px);
  height: 105svh;
  position: fixed;
  top: 0;
  bottom: auto;
  left: max(0px, 50vw - 340px);
  right: auto;
  transform: translate3d(0, 0, 0)scale(1.045);
}

.topbar, .content, .bottom-nav {
  z-index: 1;
  position: relative;
}

.page-transition {
  animation: .3s cubic-bezier(.2, .75, .25, 1) both page-in;
}

@keyframes page-in {
  from {
    opacity: 0;
    filter: blur(2px);
    transform: translate3d(12px, 5px, 0);
  }

  to {
    opacity: 1;
    filter: blur();
    transform: translate3d(0, 0, 0);
  }
}

.access-shell {
  isolation: isolate;
  color: #fff;
  background: #111a2b;
  place-items: center;
  width: min(100%, 680px);
  min-height: 100svh;
  margin: auto;
  display: grid;
  position: relative;
  overflow: hidden;
}

.access-shell .pixel-backdrop {
  opacity: .78;
  background-image: linear-gradient(rgba(9, 16, 29, .06), rgba(9, 16, 29, .46) 55%, rgba(9, 16, 29, .9)), url("/images/renegados-pixel-world.jpg");
  height: 110svh;
}

.access-stage {
  width: min(100% - 36px, 390px);
  padding: max(24px, env(safe-area-inset-top)) 4px max(30px, env(safe-area-inset-bottom));
  z-index: 1;
  text-align: center;
  animation: .55s cubic-bezier(.2, .8, .2, 1) both access-in;
  position: relative;
}

.access-brand {
  color: #eef3ff;
  letter-spacing: .04em;
  text-transform: uppercase;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 850;
  display: inline-flex;
}

.access-brand .brand-mark {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(12, 22, 39, .68);
  border: 1px solid rgba(255, 255, 255, .16);
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.access-lock {
  color: #ff8677;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(14, 25, 44, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 35px;
  place-items: center;
  width: 126px;
  height: 126px;
  margin: 58px auto 35px;
  display: grid;
  position: relative;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .32), inset 0 0 30px rgba(255, 108, 89, .05);
}

.access-lock > svg {
  stroke: currentColor;
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 112, 93, .28));
  width: 62px;
  height: 62px;
}

.lock-orbit {
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 50%;
  animation: 16s linear infinite orbit;
  position: absolute;
  top: -17px;
  bottom: -17px;
  left: -17px;
  right: -17px;
}

.lock-orbit i {
  background: #ff897a;
  border-radius: 1px;
  width: 5px;
  height: 5px;
  position: absolute;
  box-shadow: 0 0 10px #ff897a;
}

.lock-orbit i:first-child {
  top: 11px;
  left: 25px;
}

.lock-orbit i:nth-child(2) {
  top: 66px;
  right: -3px;
}

.lock-orbit i:nth-child(3) {
  background: #9eb9ff;
  bottom: 7px;
  left: 45px;
  box-shadow: 0 0 10px #9eb9ff;
}

.access-kicker {
  color: #ff9385;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 900;
}

.access-stage h1 {
  color: #fff;
  letter-spacing: -.055em;
  margin: 0;
  font-size: max(34px, min(11vw, 48px));
  line-height: 1;
}

.access-message {
  color: #d9e1ef;
  margin: 14px auto 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.access-note {
  color: #aebbd0;
  text-align: left;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(10, 19, 34, .58);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  align-items: center;
  gap: 10px;
  margin: 34px auto 0;
  padding: 13px 15px;
  font-size: 10px;
  line-height: 1.4;
  display: flex;
}

.access-note svg {
  color: #ff897a;
  flex: none;
  width: 23px;
  height: 23px;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes access-in {
  from {
    opacity: 0;
    transform: translateY(16px)scale(.98);
  }
}

.topbar {
  min-height: 68px;
  padding: max(12px, env(safe-area-inset-top)) 18px 10px;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  align-items: center;
  gap: 11px;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.brand-mark {
  background: var(--navy);
  color: #fff;
  letter-spacing: -.04em;
  border-radius: 13px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 18px;
  font-weight: 900;
  display: grid;
}

.brand {
  letter-spacing: -.02em;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 850;
  display: flex;
}

.dev-mode-label {
  color: #422006;
  letter-spacing: 0;
  white-space: nowrap;
  background: #facc15;
  border: 1px solid #eab308;
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  display: inline-block;
}

.subtitle {
  color: var(--muted);
  margin: 1px 0 0;
  font-size: 10px;
  font-weight: 600;
}

.avatar {
  border: 2px solid var(--surface);
  width: 38px;
  height: 38px;
  color: var(--navy);
  background: #dfe5f4;
  border-radius: 50%;
  place-items: center;
  margin-left: auto;
  font-weight: 850;
  display: grid;
  box-shadow: 0 3px 10px rgba(27, 39, 61, .12);
}

.content {
  padding: 12px 16px 24px;
}

.dev-banner {
  color: #785c1d;
  background: #fff4d5;
  border: 1px solid #f0dda7;
  border-radius: 13px;
  margin-bottom: 14px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.4;
}

.toast-region {
  width: min(100% - 24px, 520px);
  bottom: max(12px, calc(env(safe-area-inset-bottom)  + 8px));
  z-index: 100;
  pointer-events: none;
  gap: 8px;
  display: grid;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
}

.toast {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 15px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 11px 10px 11px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  animation: .24s cubic-bezier(.2, .8, .2, 1) both toast-in;
  display: flex;
  box-shadow: 0 14px 38px rgba(18, 27, 43, .24);
}

.toast.error {
  color: #9d2d3c;
  background: rgba(255, 240, 242, .96);
  border-color: rgba(196, 68, 82, .2);
}

.toast.success {
  color: #176a54;
  background: rgba(234, 248, 243, .96);
  border-color: rgba(23, 106, 84, .18);
}

.toast button {
  width: 32px;
  height: 32px;
  color: inherit;
  background: rgba(255, 255, 255, .55);
  border: 0;
  border-radius: 10px;
  flex: none;
  font-size: 20px;
  line-height: 1;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px)scale(.97);
  }
}

.welcome {
  padding: 14px 2px 4px;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 850;
}

.welcome h1, .page-head h1 {
  color: var(--navy);
  letter-spacing: -.045em;
  margin: 0;
  font-size: max(27px, min(8vw, 36px));
  line-height: 1.04;
}

.welcome-copy {
  max-width: 320px;
  color: var(--muted);
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.page-head {
  padding: 8px 1px 2px;
}

.page-head h1 {
  font-size: 29px;
}

.page-head p {
  color: var(--muted);
  margin: 7px 0 20px;
  font-size: 13px;
  line-height: 1.45;
}

.quick-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0 28px;
  display: grid;
}

.quick {
  border: 1px solid var(--line);
  text-align: left;
  background: var(--surface);
  min-width: 0;
  min-height: 102px;
  color: var(--text);
  border-radius: 17px;
  flex-direction: column;
  grid-column: span 2;
  align-items: flex-start;
  padding: 12px 10px;
  display: flex;
  box-shadow: 0 5px 18px rgba(23, 32, 51, .04);
}

.quick-main {
  grid-column: span 3;
  min-height: 138px;
  padding: 16px;
}

.quick > span {
  width: 34px;
  height: 34px;
  color: var(--navy);
  background: #edf1f8;
  border-radius: 11px;
  place-items: center;
  margin-bottom: auto;
  font-size: 19px;
  display: grid;
}

.quick strong {
  letter-spacing: -.01em;
  width: 100%;
  font-size: 12px;
  line-height: 1.15;
}

.quick small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.25;
}

.quick-main strong {
  font-size: 15px;
}

.quick-main small {
  font-size: 11px;
}

.quick.primary {
  background: var(--navy);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 28px rgba(28, 41, 64, .22);
}

.quick.primary > span {
  color: #ff8879;
  background: rgba(255, 255, 255, .12);
}

.quick.primary small {
  color: #b9c3d4;
}

.quick.demand-action {
  background: #fff9f7;
  border-color: #f3d5cf;
}

.quick.demand-action > span {
  color: var(--accent);
  background: #ffe8e3;
}

.quick {
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.quick:active {
  box-shadow: none;
  transform: translateY(2px)scale(.985);
}

.section-title {
  justify-content: space-between;
  align-items: center;
  margin: 26px 1px 12px;
  display: flex;
}

.section-title h2, .profile-section h2 {
  letter-spacing: -.02em;
  margin: 0;
  font-size: 15px;
}

.section-title button {
  color: var(--accent);
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 800;
}

.stats {
  background: var(--navy);
  border-radius: 19px;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px;
  display: grid;
  box-shadow: 0 12px 28px rgba(28, 41, 64, .18);
}

.stats button {
  color: #fff;
  background: none;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .1);
  min-width: 0;
  padding: 11px 7px;
}

.stats button:last-child {
  border: 0;
}

.stats strong {
  color: #ff8879;
  font-size: 23px;
  line-height: 1;
  display: block;
}

.stats span {
  color: #b8c1cf;
  margin-top: 7px;
  font-size: 9px;
  line-height: 1.25;
  display: block;
}

.bottom-nav {
  width: min(100% - 20px, 660px);
  height: calc(68px + env(safe-area-inset-bottom));
  padding: 7px 8px env(safe-area-inset-bottom);
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(225, 228, 235, .85);
  border-radius: 20px;
  display: grid;
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 12px 34px rgba(23, 32, 51, .16);
}

.bottom-nav button {
  color: #9097a5;
  background: none;
  border: 0;
  border-radius: 13px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 3px 1px;
  font-size: 8px;
  font-weight: 750;
  display: flex;
}

.bottom-nav button span {
  border-radius: 9px;
  place-items: center;
  width: 30px;
  height: 26px;
  font-size: 20px;
  display: grid;
}

.bottom-nav button.active {
  color: var(--navy);
}

.bottom-nav button.active span {
  color: var(--accent);
  background: #ffe9e5;
}

.bottom-nav button.active svg {
  animation: .32s cubic-bezier(.2, .9, .3, 1.25) nav-pop;
}

@keyframes nav-pop {
  50% {
    transform: translateY(-2px)scale(1.16);
  }
}

.listing-search {
  border: 1px solid var(--line);
  background: var(--surface);
  height: 44px;
  color: var(--muted);
  border-radius: 13px;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 0 12px;
  display: flex;
  box-shadow: 0 4px 14px rgba(23, 32, 51, .03);
}

.listing-search span {
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  display: grid;
}

.listing-search svg {
  width: 17px;
  height: 17px;
}

.listing-search input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  height: 100%;
  color: var(--text);
  font: inherit;
  background: none;
  border: 0;
  outline: 0;
  padding: 0;
  font-size: 12px;
}

.listing-search input::placeholder {
  color: var(--muted);
  opacity: .82;
}

.listing-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 95, 75, .1);
}

.segmented {
  background: #e8ebf0;
  border-radius: 13px;
  margin-bottom: 12px;
  padding: 4px;
  display: flex;
}

.segmented button {
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 10px;
  flex: 1;
  padding: 9px 5px;
  font-size: 11px;
  font-weight: 750;
}

.segmented button.active {
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 3px 10px rgba(23, 32, 51, .08);
}

.filter-toggle {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.filter-toggle input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.toolbar {
  gap: 8px;
  margin-bottom: 17px;
  display: flex;
}

.toolbar .button {
  flex: 1;
}

.button {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 12px;
  min-height: 43px;
  padding: 11px 15px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(28, 41, 64, .12);
}

.button.secondary {
  color: #d94c39;
  box-shadow: none;
  background: #ffe8e3;
}

.button.wide, .button.submit {
  width: 100%;
}

.button.submit {
  background: var(--accent);
  min-height: 50px;
  margin-top: 7px;
  box-shadow: 0 8px 20px rgba(242, 95, 75, .24);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .42;
  box-shadow: none;
}

.button.danger {
  color: var(--danger);
  box-shadow: none;
  background: #fdecef;
  margin-top: 9px;
}

.button.danger:active {
  background: #fbdde2;
}

.card-list {
  gap: 11px;
  display: grid;
}

.card-list.spaced {
  margin-top: 14px;
}

.item-card, .profile-item {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 5px 20px rgba(23, 32, 51, .04);
}

.item-card {
  gap: 12px;
  padding: 14px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.item-card, .profile-item {
  transition: transform .18s, box-shadow .18s;
}

.item-card.tappable {
  cursor: pointer;
  padding-right: 40px;
}

.item-card.tappable:hover {
  border-color: #c9d6fb;
}

.item-card.tappable:after {
  content: "✎";
  width: 21px;
  height: 21px;
  color: var(--blue);
  background: #e9efff;
  border-radius: 7px;
  place-items: center;
  font-size: 11px;
  line-height: 1;
  display: grid;
  position: absolute;
  top: 9px;
  right: 9px;
}

.listing-card:before, .cession-card:before {
  content: "";
  background: var(--green);
  border-radius: 0 4px 4px 0;
  width: 3px;
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  right: auto;
}

.listing-card.demand-card:before {
  background: var(--amber);
}

.game-icon {
  width: 42px;
  height: 42px;
  color: var(--green);
  background: #e8f5ef;
  border-radius: 13px;
  flex: none;
  place-items: center;
  font-size: 21px;
  display: grid;
}

.game-icon.orange {
  color: var(--amber);
  background: #fff1df;
}

.game-icon.blue {
  color: var(--blue);
  background: #edf1ff;
}

.game-icon.violet {
  color: #7657c8;
  background: #f1edff;
}

.game-cover {
  background: #e8eef7;
  border-radius: 10px;
  flex: none;
  width: 72px;
  height: 48px;
  display: block;
  overflow: hidden;
}

.item-card > .game-cover {
  background: #dde5ef;
  border-radius: 18px 0 0 18px;
  align-self: stretch;
  width: 124px;
  height: auto;
  margin: -14px 0 -14px -14px;
}

.item-card:has( > .game-cover):before {
  display: none;
}

.game-cover img {
  object-fit: cover;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity .2s;
  display: block;
}

.game-cover.loaded img {
  opacity: 1;
}

.game-cover.thumb {
  border-radius: 11px;
  width: 44px;
  height: 44px;
}

.game-cover.placeholder {
  place-items: center;
  font-size: 18px;
  display: grid;
}

.game-picker {
  position: relative;
}

.game-picker-trigger {
  background: var(--soft);
  width: 100%;
  min-height: 49px;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 1px solid #dce0e7;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  font-size: 13px;
  display: flex;
}

.game-picker-trigger.has-game {
  padding-left: 8px;
}

.game-picker-trigger .game-picker-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  color: var(--navy);
  flex: 1;
  font-weight: 700;
  overflow: hidden;
}

.game-picker-trigger small {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.game-picker-plus {
  width: 26px;
  height: 26px;
  color: var(--blue);
  background: #e9efff;
  border-radius: 9px;
  flex: none;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  display: grid;
}

.game-search {
  z-index: 120;
  background: var(--surface);
  flex-direction: column;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.game-search-head {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  display: flex;
}

.game-search-head h2 {
  color: var(--navy);
  letter-spacing: -.02em;
  margin: 0;
  font-size: 15px;
}

.game-search-close {
  background: var(--soft);
  width: 34px;
  height: 34px;
  color: var(--navy);
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  flex: none;
  font-size: 20px;
  line-height: 1;
}

.game-search-form {
  gap: 8px;
  padding: 12px 16px;
  display: flex;
}

.game-search-form input {
  background: var(--soft);
  min-width: 0;
  height: 46px;
  color: var(--text);
  border: 1px solid #dce0e7;
  border-radius: 12px;
  outline: none;
  flex: 1;
  padding: 0 13px;
  font-size: 14px;
}

.game-search-form input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(242, 95, 75, .1);
}

.game-search-form button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  flex: none;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 800;
}

.game-search-form button:disabled {
  opacity: .45;
  cursor: default;
}

.game-search-results {
  flex: 1;
  padding: 4px 16px 16px;
  overflow-y: auto;
}

.game-search-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 8px 4px;
  font-size: 10px;
  font-weight: 800;
}

.game-search-item {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px 6px;
  display: flex;
}

.game-search-item:hover {
  background: #eef3ff;
}

.game-search-item:focus-visible {
  background: #eef3ff;
}

.game-search-option {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.game-search-option strong {
  color: var(--navy);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  overflow: hidden;
}

.game-search-option small {
  color: var(--muted);
  font-size: 10.5px;
}

.game-search-hint {
  color: var(--muted);
  text-align: center;
  margin: 24px 8px;
  font-size: 12px;
  line-height: 1.5;
}

.game-search-hint.error {
  color: var(--danger);
}

.game-search-foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  padding: 12px 16px;
  font-size: 10px;
}

.game-search-foot a {
  color: var(--blue);
}

.rawg-credit {
  text-align: center;
  color: var(--muted);
  margin: 18px 0 6px;
  font-size: 10px;
}

.rawg-credit a {
  color: var(--blue);
  text-decoration: underline;
}

.item-main {
  flex: 1;
  min-width: 0;
}

.row {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.row > strong {
  color: var(--navy);
  white-space: nowrap;
  font-size: 14px;
}

.pill {
  color: var(--green);
  letter-spacing: .07em;
  text-transform: uppercase;
  background: #e6f5ef;
  border-radius: 999px;
  align-items: center;
  padding: 4px 7px;
  font-size: 8px;
  font-weight: 900;
  display: inline-flex;
}

.pill.wanted {
  color: var(--amber);
  background: #fff0dd;
}

.pill.done {
  color: var(--blue);
  background: #e9efff;
}

.pill.available {
  color: var(--green);
  background: #e6f5ef;
}

.pill.busy {
  color: var(--amber);
  background: #fff0dd;
}

.item-card h3 {
  color: var(--navy);
  letter-spacing: -.025em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 8px 0 7px;
  font-size: 15px;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
}

.item-card p {
  color: var(--muted);
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.item-card small {
  color: var(--muted);
  font-size: 9px;
}

.item-date {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: .045em;
  text-align: right;
  opacity: .68;
  margin-top: 7px;
  font-size: 7px;
  line-height: 1;
  display: block;
}

.meta-row {
  gap: 6px;
  display: flex;
}

.meta-row span {
  background: var(--soft);
  color: var(--muted);
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 750;
}

.card-footer {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  display: flex;
}

.owner-line {
  min-width: 0;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  display: flex;
  overflow: hidden;
}

.owner-line i, .participant i {
  width: 22px;
  height: 22px;
  color: var(--navy);
  background: #edf0f5;
  border-radius: 50%;
  flex: none;
  place-items: center;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  display: grid;
}

.user-name {
  color: var(--text);
  font: inherit;
  text-align: left;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 1.15em;
  font-weight: 800;
  line-height: 1.25;
  -webkit-text-decoration: underline dotted rgba(59, 99, 230, .55);
  text-decoration: underline dotted rgba(59, 99, 230, .55);
}

.user-name:hover {
  color: var(--blue);
  -webkit-text-decoration-style: solid;
  text-decoration-style: solid;
}

.user-name:focus-visible {
  color: var(--blue);
  -webkit-text-decoration-style: solid;
  text-decoration-style: solid;
}

.user-name.static {
  color: inherit;
  cursor: default;
  font-weight: 750;
  text-decoration: none;
}

.item-actions {
  align-items: center;
  gap: 5px;
  display: flex;
}

.item-actions button {
  color: var(--navy);
  background: #edf1f8;
  border: 0;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 800;
}

.item-actions .danger-link {
  color: var(--danger);
  background: #fff0f2;
}

.deal-card {
  padding-bottom: 10px;
}

.opportunity-list {
  margin-bottom: 4px;
}

.opportunity-card {
  border-color: #f0d8b8;
}

.opportunity-slots {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 11px;
  display: grid;
}

.opportunity-slots > div {
  background: var(--soft);
  border-radius: 11px;
  gap: 2px;
  padding: 9px;
  display: grid;
}

.opportunity-slots .free-slot {
  background: #fff4e5;
}

.opportunity-slots small, .opportunity-slots strong, .opportunity-slots b {
  display: block;
}

.opportunity-slots strong {
  color: var(--text);
  font-size: 11px;
}

.opportunity-slots b {
  color: var(--navy);
  font-size: 12px;
}

.opportunity-management, .opportunity-cta {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 9px;
}

.opportunity-request {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  display: flex;
}

.opportunity-request > span {
  min-width: 0;
}

.opportunity-request strong, .opportunity-request small {
  display: block;
}

.opportunity-request strong {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  overflow: hidden;
}

.opportunity-owner-actions, .opportunity-cta {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  display: flex;
}

.opportunity-owner-actions {
  margin-top: 7px;
}

.opportunity-owner-actions button, .text-button {
  color: var(--navy);
  background: #edf1f8;
  border: 0;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 9px;
  font-weight: 800;
}

.opportunity-owner-actions .danger-link, .text-button.danger-link {
  color: var(--danger);
  background: #fff0f2;
}

.opportunity-join {
  background: var(--accent);
  width: 100%;
  min-height: 38px;
  margin-top: 11px;
}

.participant-list {
  border-top: 1px solid var(--line);
  margin-top: 11px;
}

.participant {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 8px 0;
  display: flex;
}

.participant:last-child {
  border-bottom: 0;
}

.participant > span {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.participant > span > span {
  min-width: 0;
}

.participant strong, .participant small {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.participant strong {
  color: var(--text);
  font-size: 10px;
}

.participant small {
  margin-top: 2px;
}

.participant b {
  color: var(--navy);
  flex: none;
  font-size: 11px;
}

.profile-stats {
  background: var(--navy);
  border-radius: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 7px;
  display: grid;
}

.profile-stat {
  text-align: center;
  min-width: 0;
  padding: 10px 2px;
}

.profile-stat strong {
  color: #ff8879;
  font-size: 19px;
  display: block;
}

.profile-stat span {
  color: #b8c1cf;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  display: block;
  overflow: hidden;
}

.profile-section {
  margin-top: 26px;
}

.profile-section h2 {
  margin-bottom: 11px;
}

.profile-item {
  align-items: center;
  gap: 11px;
  padding: 12px;
  display: flex;
}

.profile-item-main {
  flex: 1;
  min-width: 0;
}

.profile-item strong, .profile-item span {
  display: block;
}

.profile-item strong {
  color: var(--navy);
  font-size: 12px;
}

.profile-item span {
  color: var(--muted);
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.4;
}

.profile-resolved-toggle {
  margin: 16px 0 0;
}

.admin-user .avatar {
  flex: none;
  margin-left: 0;
}

.admin-avatar {
  color: var(--navy);
  background: #edf0f5;
  font-weight: 850;
}

.admin-avatar.admin {
  color: var(--blue);
  background: #e9efff;
}

.admin-user.tappable {
  padding-right: 34px;
}

.admin-user.tappable:after {
  content: "›";
  color: #b3bccb;
  background: none;
  font-size: 20px;
  font-weight: 700;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
}

.user-hero {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 18px;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
  padding: 14px;
  display: flex;
}

.user-hero .avatar {
  flex: none;
  width: 54px;
  height: 54px;
  margin: 0;
  font-size: 22px;
}

.user-hero-main {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.user-hero-main strong {
  color: var(--navy);
  letter-spacing: -.02em;
  font-size: 16px;
}

.user-hero-main > span {
  color: var(--muted);
  font-size: 11px;
}

.user-hero-pills {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
  display: flex;
}

.sheet .section-title {
  margin-top: 20px;
}

.admin-role {
  margin-bottom: 18px;
}

.admin-role button:disabled {
  opacity: 1;
}

.empty {
  text-align: center;
  color: var(--muted);
  border: 1px dashed #ccd2dd;
  border-radius: 18px;
  padding: 30px 16px;
}

.empty span {
  font-size: 24px;
}

.empty h1 {
  color: var(--navy);
  margin: 10px 0 5px;
  font-size: 20px;
}

.empty p {
  margin: 6px 0;
  font-size: 11px;
  line-height: 1.5;
}

.loading {
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 58vh;
  display: flex;
}

.loading i {
  background: var(--accent);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: .8s infinite alternate pulse;
}

.loading i:nth-child(2) {
  animation-delay: .2s;
}

.loading i:nth-child(3) {
  animation-delay: .4s;
}

@keyframes pulse {
  to {
    opacity: .25;
    transform: translateY(-5px);
  }
}

.terms-backdrop {
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  z-index: 200;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(12, 18, 30, .78);
  place-items: center;
  display: grid;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.terms-modal {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 23px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 540px);
  max-height: min(92svh, 760px);
  animation: .28s cubic-bezier(.2, .8, .2, 1) both terms-in;
  display: grid;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(4, 10, 20, .42);
}

.terms-header {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 11px;
  padding: 18px 18px 14px;
  display: flex;
}

.terms-symbol {
  background: var(--navy);
  color: #fff;
  border-radius: 13px;
  flex: none;
  place-items: center;
  width: 39px;
  height: 39px;
  font-size: 18px;
  font-weight: 900;
  display: grid;
}

.terms-header small {
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
}

.terms-header h2, .terms-rejected h2 {
  color: var(--text);
  letter-spacing: -.03em;
  margin: 2px 0 0;
  font-size: 20px;
}

.terms-copy {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 16px 18px 22px;
  overflow-y: auto;
}

.terms-copy p {
  color: var(--muted);
  margin: 0 0 15px;
  font-size: 11px;
  line-height: 1.55;
}

.terms-copy #terms-intro {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.terms-copy h3 {
  color: var(--text);
  margin: 17px 0 6px;
  font-size: 11px;
}

.terms-actions {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 13px 18px 16px;
}

.terms-actions p {
  color: var(--muted);
  text-align: center;
  margin: 0 0 10px;
  font-size: 9px;
  line-height: 1.4;
}

.terms-actions .button {
  margin-top: 0;
}

.terms-secondary {
  width: 100%;
  color: var(--muted);
  background: none;
  border: 0;
  margin-top: 7px;
  padding: 8px;
  font-size: 10px;
  font-weight: 750;
}

.confirm-backdrop {
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  z-index: 210;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(12, 18, 30, .78);
  place-items: center;
  display: grid;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.confirm-modal {
  background: var(--surface);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  justify-items: center;
  gap: 10px;
  width: min(100%, 380px);
  padding: 24px 20px 18px;
  animation: .28s cubic-bezier(.2, .8, .2, 1) both terms-in;
  display: grid;
  box-shadow: 0 25px 80px rgba(4, 10, 20, .42);
}

.confirm-modal .terms-symbol {
  background: var(--blue);
}

.confirm-modal h2 {
  color: var(--text);
  letter-spacing: -.03em;
  margin: 0;
  font-size: 19px;
}

.confirm-modal p {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.confirm-modal p strong {
  color: var(--text);
}

.confirm-actions {
  gap: 9px;
  width: 100%;
  margin-top: 8px;
  display: flex;
}

.confirm-actions .button.submit {
  flex: 1 1 0;
  width: auto;
  min-height: 46px;
  margin-top: 0;
}

.confirm-actions .terms-secondary {
  border: 1px solid var(--line);
  background: var(--soft);
  width: auto;
  min-height: 46px;
  color: var(--text);
  border-radius: 12px;
  flex: 1 1 0;
  margin-top: 0;
  font-size: 12px;
}

.terms-rejected {
  text-align: center;
  max-width: 370px;
  padding: 28px 20px 20px;
  display: block;
}

.terms-rejected .terms-symbol {
  margin: 0 auto 15px;
}

.terms-rejected p {
  color: var(--muted);
  margin: 10px auto 18px;
  font-size: 12px;
  line-height: 1.5;
}

@keyframes terms-in {
  from {
    opacity: 0;
    transform: translateY(16px)scale(.97);
  }
}

.welcome-backdrop {
  z-index: 200;
  background: #0e1626;
  place-items: center;
  animation: .3s ease-out both welcome-fade;
  display: grid;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.welcome-backdrop .pixel-backdrop {
  opacity: .72;
  background-image: linear-gradient(rgba(9, 16, 29, .08), rgba(9, 16, 29, .48) 55%, rgba(9, 16, 29, .92)), url("/images/renegados-pixel-world.jpg");
  height: 110svh;
}

.welcome-stage {
  width: min(100% - 36px, 400px);
  max-height: 100svh;
  padding: max(24px, env(safe-area-inset-top)) 2px max(26px, env(safe-area-inset-bottom));
  z-index: 1;
  color: #fff;
  text-align: center;
  position: relative;
  overflow-y: auto;
}

.welcome-stage > * {
  animation: .55s cubic-bezier(.2, .8, .2, 1) both welcome-in;
}

.welcome-stage > :first-child {
  animation-delay: 20ms;
}

.welcome-stage > :nth-child(2) {
  animation-delay: 80ms;
}

.welcome-stage > :nth-child(3) {
  animation-delay: .16s;
}

.welcome-stage > :nth-child(4) {
  animation-delay: .2s;
}

.welcome-stage > :nth-child(5) {
  animation-delay: .26s;
}

.welcome-stage > :nth-child(6) {
  animation-delay: .32s;
}

.welcome-stage > :nth-child(7) {
  animation-delay: .62s;
}

.welcome-brand {
  color: #eef3ff;
  letter-spacing: .05em;
  text-transform: uppercase;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 850;
  display: inline-flex;
}

.welcome-brand .brand-mark {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(12, 22, 39, .68);
  border: 1px solid rgba(255, 255, 255, .16);
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.welcome-emblem {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(14, 25, 44, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  place-items: center;
  width: 106px;
  height: 106px;
  margin: 34px auto 26px;
  display: grid;
  position: relative;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
}

.welcome-ring {
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: 50%;
  animation: 18s linear infinite orbit;
  position: absolute;
  top: -14px;
  bottom: -14px;
  left: -14px;
  right: -14px;
}

.welcome-mark {
  color: #fff;
  letter-spacing: -.04em;
  background: linear-gradient(150deg, #ff7a63, #d9452f);
  border-radius: 17px;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 25px;
  font-weight: 900;
  animation: 2.8s ease-in-out infinite welcome-glow;
  display: grid;
}

.welcome-kicker {
  color: #ff9385;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 900;
}

.welcome-stage h1 {
  color: #fff;
  letter-spacing: -.055em;
  margin: 0;
  font-size: max(38px, min(12vw, 52px));
  line-height: 1;
}

.welcome-tagline {
  color: #d9e1ef;
  max-width: 300px;
  margin: 12px auto 0;
  font-size: 13px;
  line-height: 1.5;
}

.welcome-features {
  text-align: left;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.welcome-features li {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(10, 19, 34, .58);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  animation: .45s cubic-bezier(.2, .8, .2, 1) both welcome-in;
  display: flex;
}

.welcome-features li:first-child {
  animation-delay: .38s;
}

.welcome-features li:nth-child(2) {
  animation-delay: .46s;
}

.welcome-features li:nth-child(3) {
  animation-delay: .54s;
}

.welcome-features li svg {
  color: #ff897a;
  flex: none;
  width: 25px;
  height: 25px;
}

.welcome-features strong {
  color: #eef3ff;
  font-size: 12px;
  display: block;
}

.welcome-features small {
  color: #9dabc2;
  margin-top: 2px;
  font-size: 10px;
  display: block;
}

.welcome-start {
  margin-top: 26px;
}

@keyframes welcome-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes welcome-fade {
  from {
    opacity: 0;
  }
}

@keyframes welcome-glow {
  50% {
    box-shadow: 0 0 34px rgba(242, 95, 75, .45);
  }
}

.sheet-backdrop {
  z-index: 30;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: rgba(15, 22, 35, .62);
  justify-content: center;
  align-items: flex-end;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.sheet {
  width: min(100%, 680px);
  max-height: 94svh;
  padding: 8px 18px calc(25px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-radius: 25px 25px 0 0;
  animation: .2s ease-out up;
  overflow: auto;
  box-shadow: 0 -18px 50px rgba(11, 18, 31, .24);
}

.grab {
  background: #d3d7df;
  border-radius: 4px;
  width: 36px;
  height: 4px;
  margin: 2px auto 16px;
}

.sheet-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  display: flex;
}

.sheet-head small {
  color: var(--accent);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 850;
}

.sheet-head h2 {
  color: var(--navy);
  letter-spacing: -.035em;
  margin: 3px 0;
  font-size: 23px;
}

.sheet-head button {
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: #f0f2f5;
  border: 0;
  border-radius: 50%;
  place-items: center;
  font-size: 22px;
  display: grid;
}

.creation-choice > p {
  color: var(--muted);
  margin: 0 0 13px;
  font-size: 12px;
  line-height: 1.5;
}

.creation-choice > button {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 100%;
  color: var(--text);
  text-align: left;
  border-radius: 15px;
  grid-template-rows: auto auto;
  grid-template-columns: 43px 1fr;
  column-gap: 11px;
  margin-top: 9px;
  padding: 13px;
  display: grid;
}

.creation-choice > button > .game-icon {
  grid-row: 1 / 3;
}

.creation-choice > button > strong {
  align-self: end;
  font-size: 13px;
}

.creation-choice > button > small {
  color: var(--muted);
  align-self: start;
  margin-top: 3px;
  font-size: 10px;
}

.commitment-check {
  background: var(--soft);
  color: var(--muted);
  border-radius: 11px;
  align-items: flex-start;
  gap: 9px;
  margin: 3px 0 15px;
  padding: 11px;
  font-size: 10px;
  line-height: 1.4;
  display: flex;
}

.commitment-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: none;
}

.opportunity-help {
  margin: -5px 0 5px;
}

.field {
  flex: 1;
  margin: 0 0 15px;
  display: block;
}

.field > span {
  color: #4f586a;
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 800;
  display: block;
}

.field-help {
  color: var(--muted);
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.45;
  display: block;
}

.field-help.field-error {
  color: var(--danger);
  font-weight: 700;
}

.field input, .field select {
  background: var(--soft);
  width: 100%;
  height: 49px;
  color: var(--text);
  border: 1px solid #dce0e7;
  border-radius: 12px;
  outline: none;
  padding: 0 13px;
  font-size: 13px;
}

.field input:focus, .field select:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(242, 95, 75, .1);
}

.field-row {
  gap: 10px;
  display: flex;
}

.money {
  position: relative;
}

.money input {
  padding-right: 35px;
}

.money span {
  color: var(--muted);
  font-size: 13px;
  position: absolute;
  top: 15px;
  right: 13px;
}

.notif-badge {
  border: 2px solid var(--bg);
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  animation: .32s cubic-bezier(.2, .9, .3, 1.25) nav-pop;
  display: grid;
  position: absolute;
  top: -3px;
  right: -3px;
}

.profile-notifications {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 100%;
  color: var(--text);
  text-align: left;
  border-radius: 18px;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 13px 14px;
  transition: transform .18s;
  display: flex;
  position: relative;
  box-shadow: 0 5px 20px rgba(23, 32, 51, .04);
}

.profile-notifications:active {
  transform: translateY(1px)scale(.995);
}

.profile-notifications.has-pending {
  background: linear-gradient(180deg, #fff8f6, var(--surface) 62%);
  border-color: #f3c9bf;
}

.profile-notifications-icon {
  width: 42px;
  height: 42px;
  color: var(--amber);
  background: #fff1df;
  border-radius: 13px;
  flex: none;
  place-items: center;
  display: grid;
  position: relative;
}

.profile-notifications-icon svg {
  width: 21px;
  height: 21px;
}

.profile-notifications-main {
  flex: 1;
  min-width: 0;
}

.profile-notifications-main strong {
  color: var(--navy);
  font-size: 13px;
  display: block;
}

.profile-notifications-main small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.4;
  display: block;
}

.profile-notifications-go {
  color: #b3bccb;
  flex: none;
  font-size: 20px;
  font-weight: 700;
}

.bottom-nav button span {
  position: relative;
}

.nav-badge {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  place-items: center;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  display: grid;
  position: absolute;
  top: -3px;
  right: -5px;
}

.attention-block {
  margin-top: 22px;
}

.attention-block > .section-title {
  margin-top: 0;
}

.attention-card {
  background: linear-gradient(180deg, #fff8f6, var(--surface) 62%);
  border-color: #f3c9bf;
}

.attention-text {
  color: var(--muted);
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.attention-actions {
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  display: flex;
}

.attention-actions .opportunity-join {
  flex: 1;
  margin-top: 0;
}

.notifications-sheet {
  width: min(100%, 680px);
}

.notifications-clear {
  margin: 0 0 4px;
}

.notification-item {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  gap: 11px;
  padding: 12px 13px;
  display: flex;
  box-shadow: 0 5px 20px rgba(23, 32, 51, .04);
}

.notification-item.unread {
  background: linear-gradient(180deg, #fff8f6, var(--surface) 62%);
  border-color: #f3c9bf;
}

.notification-item .game-icon {
  width: 36px;
  height: 36px;
  font-size: 17px;
}

.notification-main {
  flex: 1;
  min-width: 0;
}

.notification-main .row {
  align-items: flex-start;
}

.notification-main .row > strong {
  min-width: 0;
  color: var(--navy);
  white-space: normal;
  font-size: 12px;
  line-height: 1.3;
}

.notification-main p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.45;
}

.notification-time {
  color: var(--muted);
  opacity: .8;
  margin-top: 6px;
  font-size: 9px;
  display: block;
}

.unread-dot {
  background: var(--accent);
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  box-shadow: 0 0 0 3px rgba(242, 95, 75, .14);
}

.notification-item.handled {
  opacity: .82;
}

.notification-tag {
  color: var(--muted);
  letter-spacing: .03em;
  text-transform: uppercase;
  background: #eef1f6;
  border-radius: 999px;
  flex: none;
  margin-top: 1px;
  padding: 3px 7px;
  font-size: 8px;
  font-weight: 800;
}

@keyframes up {
  from {
    opacity: .5;
    transform: translateY(30px);
  }
}

@media (min-width: 600px) {
  .content {
    padding: 20px 28px 34px;
  }

  .topbar {
    padding-left: 28px;
    padding-right: 28px;
  }

  .quick {
    min-height: 116px;
  }

  .quick:hover, .item-card:hover, .profile-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
}

@media (max-width: 599px) {
  .listing-search input, .field input, .field select, .game-search-form input {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-telegram-theme="light"]) {
    --bg: #111722;
    --surface: #1a2230;
    --soft: #202a39;
    --text: #eef1f6;
    --muted: #96a0b1;
    --navy: #263248;
    --line: #2c3646;
    --shadow: 0 10px 30px rgba(0, 0, 0, .18);
  }

  body {
    background: #0c111a;
  }

  .brand-mark, .stats, .profile-stats {
    background: #242f40;
  }

  .quick.primary {
    background: #253247;
  }

  .quick.demand-action {
    background: #281f21;
    border-color: #4b3031;
  }

  .bottom-nav {
    border-color: #303a49;
  }

  .bottom-nav button.active {
    color: var(--text);
  }

  .segmented {
    background: #202936;
  }

  .opportunity-slots .free-slot {
    background: #352b21;
  }

  .field > span {
    color: #c4cad4;
  }

  .field input, .field select {
    border-color: #354052;
  }

  .avatar, .owner-line i, .participant i {
    color: var(--text);
    background: #2b3545;
  }

  .notif-badge {
    border-color: #111722;
  }

  .profile-notifications.has-pending {
    background: linear-gradient(180deg, #2a2020, var(--surface) 62%);
    border-color: #4b3031;
  }

  .profile-notifications-main strong {
    color: var(--text);
  }

  .profile-notifications-icon {
    background: #352b21;
  }

  .attention-card, .notification-item.unread {
    background: linear-gradient(180deg, #2a2020, var(--surface) 62%);
    border-color: #4b3031;
  }

  .notification-main .row > strong {
    color: var(--text);
  }

  .notification-tag {
    color: #b8c1cf;
    background: #2a3341;
  }

  .admin-avatar.admin {
    color: #9db4ff;
    background: #26324a;
  }

  .game-search-head h2, .game-search-close, .game-search-option strong, .game-picker-trigger .game-picker-name, .sheet-head h2, .welcome h1, .page-head h1, .item-card h3, .row > strong, .user-hero-main strong, .participant b, .profile-item strong, .empty h1 {
    color: var(--text);
  }

  .pixel-backdrop {
    background-image: linear-gradient(to bottom, rgba(17, 23, 34, .18), rgba(17, 23, 34, .72) 52%, var(--bg) 90%), url("/images/renegados-pixel-world.jpg");
    opacity: .5;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
  }

  .pixel-backdrop {
    will-change: auto;
    transform: none !important;
  }

  .welcome-ring, .welcome-mark {
    animation: none !important;
  }
}

/*# sourceMappingURL=src_app_globals_91e4631d.css.map*/