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

:root {
  --pine: #1f5f50;
  --pine-dark: #123d35;
  --cave: #172421;
  --cave-2: #23312d;
  --cream: #fff2d5;
  --cream-2: #fff8e8;
  --stone: #4f5b5b;
  --stone-light: #e7dac2;
  --wood: #8b542d;
  --gold: #f1bf5b;
  --crystal: #35d6d6;
  --blue-crystal: #48a7ff;
  --purple-crystal: #8e5cff;
  --danger: #d44836;
  --ink: #1d2623;
  --soft-border: rgba(72, 55, 37, 0.25);
  --shadow: 0 12px 28px rgba(13, 28, 25, 0.22);
}

* {
  box-sizing: border-box;
}

.site-logo {
  height: 72px;
  width: auto;

  object-fit: contain;

  filter:
    drop-shadow(0 4px 10px rgba(0,0,0,.35));

  transition: .2s ease;
}

/* OWNED PRINTS HEADER / COLLECTION VALUE */
.owned-prints-shelf {
  overflow: hidden;
}

.owned-prints-shelf .owned-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  height: auto;
  margin: 0 0 14px;
  padding: 0 4px 12px;
  position: relative;
  z-index: 30;
  background: transparent;
}

.owned-prints-shelf .owned-head h2 {
  width: auto !important;
  flex: 0 0 auto;
  margin: 0;
  text-align: left !important;
  line-height: 1;
}

.collection-value {
  flex: 0 0 auto;
  margin: 0 6px 0 auto !important;
  padding: 8px 16px;
  border-radius: 999px;
  background: #1f5f50;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  z-index: 31;
}

.owned-prints-shelf .shelf-wrap {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  clear: both;
}

.owned-prints-shelf .card-row {
  padding-top: 6px;
}

.market-card-img {
    overflow: hidden;
}

.market-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .25s ease;
}

.site-logo:hover {
  transform: scale(1.04);
}

body {
  margin: 0;
  font-family: "Fredoka", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(53, 214, 214, .18), transparent 20%),
    radial-gradient(circle at 90% 85%, rgba(142, 92, 255, .16), transparent 24%),
    linear-gradient(135deg, #0e1b19, #1c3932 42%, #10221f);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* NAVBAR - same screenshot layout, mountain/cavern skin */

.top-nav {
  min-height: 92px;
  display: grid;
  grid-template-columns: 270px 1fr 510px;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  background:
    linear-gradient(
      180deg,
      rgba(38, 58, 54, 0.96),
      rgba(20, 34, 32, 0.94)
    );
  border: 3px solid #263331;
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow), inset 0 -4px 0 rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-logo {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.logo-badge {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--cream);
  background: linear-gradient(145deg, #2c6f60, #123d35);
  border: 4px solid #263331;
  box-shadow: 0 7px 0 #0d211d;
}

.logo-text strong,
.logo-text b {
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: 31px;
  font-weight: 900;
  line-height: .78;
  color: var(--cream);
  -webkit-text-stroke: 1.4px #1a2825;
  text-shadow:
    2px 3px 0 #8b542d,
    0 7px 14px rgba(0,0,0,.22);
}

.logo-text b {
  color: var(--gold);
  margin-left: 20px;
}

.icon-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-right: 120px;
  padding-left: 130px;
}

.icon-tabs button {
  min-width: 82px;
  height: 70px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #24342f;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.icon-tabs button svg {
  width: 24px;
  height: 24px;
}

.icon-tabs button.active,
.icon-tabs button:hover {
  background: linear-gradient(180deg, #fff7df, #e2c68c);
  color: #17463d;
  box-shadow:
    0 8px 18px rgba(67, 42, 21, .18),
    inset 0 3px 0 rgba(255,255,255,.65);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  height: 50px;
  flex: 1;
  min-width: 260px;
  border: 2px solid rgba(72, 55, 37, 0.28);
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  padding: 0 14px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.5);
}

.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 16px;
  background: transparent;
  color: #24342f;
}

.mini-hero{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.shelf-head{
    display:flex;
    align-items:center;
    justify-content:flex-start;

    height:56px;
    margin-bottom:14px;

    position:relative;
}

.shelf-head h2{
    margin:0;
    width:auto;

    text-align:left;

    font-size:30px;

    flex:0 0 auto;
}

.mini-hero h1{
    width:100%;
    text-align:center;
}

.bell,
.cart-circle,
.login-pill {
  border: 2px solid rgba(72, 55, 37, 0.22);
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff7df, #dcc495);
  color: #24342f;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  position: relative;
  font-weight: 900;
}

.login-pill {
  border-radius: 16px;
  padding: 0 16px;
}

.bell span {
  position: absolute;
  right: -4px;
  top: -5px;
  background: var(--danger);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* HOME DASHBOARD */

.dashboard-page {
  min-height: calc(100vh - 92px);
  width: 100%;
  grid-template-columns: 315px 1fr;
  gap: 18px;
  padding: 18px;
  position: relative;
  background:
    linear-gradient(rgba(10, 24, 22, .78), rgba(10, 24, 22, .86)),
    url("/static/assets/home-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.dashboard-page::before {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 160px;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 90%, rgba(53, 214, 214, .25) 0 45px, transparent 47px),
    radial-gradient(circle at 92% 88%, rgba(142, 92, 255, .25) 0 58px, transparent 61px),
    linear-gradient(to top, rgba(13, 29, 26, .88), transparent);
  z-index: 0;
}

.notification-popup{
    position:fixed;
    top:90px;
    right:30px;
    width:340px;
    background:rgba(15,25,20,.96);
    border:2px solid rgba(255,255,255,.12);
    border-radius:22px;
    padding:18px;
    z-index:9999;
    box-shadow:0 20px 50px rgba(0,0,0,.45);
    backdrop-filter:blur(12px);
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    transition:.25s ease;
}

.notification-popup.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.notification-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:14px;
}

.notification-header h3{
    color:#f3ead2;
    margin:0;
    font-size:1.2rem;
}

.notification-header button{
    background:none;
    border:none;
    color:#f3ead2;
    cursor:pointer;
    font-size:1rem;
}

.notification-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.notification-item{
    background:rgba(255,255,255,.06);
    border-radius:16px;
    padding:14px;
    border:1px solid rgba(255,255,255,.08);
}

.notification-item strong{
    color:#f3ead2;
    display:block;
    margin-bottom:6px;
}

.notification-item p{
    color:#d9d1ba;
    margin:0;
    font-size:.92rem;
}

.filter-panel,
.market-content,
.market-overview,
.compare-btn {
  position: relative;
  z-index: 2;
}

.filter-panel {
  background:
    linear-gradient(180deg, rgba(255, 242, 213, .94), rgba(224, 207, 177, .92));
  border: 3px solid #2a3634;
  border-radius: 22px;
  box-shadow:
    var(--shadow),
    inset 0 0 0 3px rgba(255,255,255,.22);
  overflow: hidden;
  height: calc(100vh - 130px);
  position: sticky;
  top: 110px;
}

.filter-title {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 2px solid rgba(72, 55, 37, 0.18);
  background: rgba(255,255,255,.2);
}

.filter-title h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: 27px;
}

.filter-title button {
  border: 0;
  background: transparent;
  color: #9b3c2e;
  font-weight: 900;
}

.filter-block {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(72, 55, 37, 0.18);
}

.filter-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-block h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .5px;
}

.set-search {
  width: 100%;
  height: 40px;
  border: 2px solid rgba(72, 55, 37, 0.22);
  border-radius: 10px;
  padding: 0 12px;
  margin-bottom: 10px;
  background: rgba(255,255,255,.58);
}

.check-list {
  display: grid;
  gap: 9px;
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
}

.check-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--pine);
}

.apply-btn {
  width: calc(100% - 36px);
  height: 52px;
  margin: 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #37a58e, #1f5f50);
  color: white;
  font-weight: 900;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow:
    0 7px 0 #11352e,
    0 14px 20px rgba(17, 53, 46, .25),
    inset 0 4px 0 rgba(255,255,255,.22);
}

.market-content {
  display: grid;
  gap: 14px;
}

.mini-hero {
  min-height: 150px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(18, 61, 53, .92), rgba(54, 67, 61, .86)),
    radial-gradient(circle at 20% 10%, rgba(53, 214, 214, .28), transparent 28%);
  border: 3px solid rgba(255, 242, 213, .26);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.mini-kicker {
  margin: 0 0 6px;
  color: var(--crystal);
  font-weight: 900;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-hero h1 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(36px, 4vw, 58px);
  line-height: .88;
}

.mini-hero p {
  margin: 8px 0 0;
  color: #d8eadf;
  font-size: 18px;
}

.mini-hero button {
  min-width: 160px;
  height: 58px;
  border: 3px solid #6c3d1f;
  border-radius: 16px;
  background: linear-gradient(180deg, #f1bf5b, #b86d2f);
  color: #2d1d10;
  font-size: 17px;
  font-weight: 900;
  box-shadow:
    0 7px 0 #673b1f,
    inset 0 4px 0 rgba(255,255,255,.28);
}

.product-shelf {
  background:
    linear-gradient(180deg, rgba(255, 242, 213, .94), rgba(231, 218, 194, .92));
  border: 3px solid #2a3634;
  border-radius: 22px;
  padding: 12px 14px 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shelf-head {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shelf-head h2 {
  margin: 0;
  font-size: 27px;
  font-family: "Baloo 2", cursive;
}

.product-shelf.teal .shelf-head h2 {
  color: #17685c;
}

.product-shelf.green .shelf-head h2 {
  color: #376f31;
}

.product-shelf.blue .shelf-head h2 {
  color: #286c9b;
}

.shelf-head button {
  border: 0;
  background: transparent;
  color: currentColor;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shelf-wrap {
  position: relative;
}

.card-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 190px;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 35px 0;
  scrollbar-width: none;
}

.card-row::-webkit-scrollbar {
  display: none;
}

.shelf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(42, 54, 52, .35);
  background: linear-gradient(180deg, #fff7df, #dcc495);
  color: var(--pine);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.shelf-arrow.left {
  left: -4px;
}

.shelf-arrow.right {
  right: -4px;
}

.market-card {
  height: 282px;
  background: linear-gradient(180deg, #fff7df, #e8d8bb);
  border: 2px solid rgba(72, 55, 37, 0.22);
  border-radius: 18px;
  padding: 12px;
  box-shadow:
    0 7px 16px rgba(13, 28, 25, .16),
    inset 0 2px 0 rgba(255,255,255,.55);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.market-card-img {
  height: 150px;
  border-radius: 13px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(42, 54, 52, .32);
  position: relative;
  overflow: hidden;
}

.market-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,.32), transparent);
  transform: translateX(-100%);
  animation: shine 3s infinite;
}

.market-card-info {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.market-card-info h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: 20px;
  line-height: .95;
  color: #1b3833;
}

.market-card-bottom {
  margin-top: auto;
  display: grid;
  gap: 9px;
}

.market-card-bottom strong {
  font-family: "Baloo 2", cursive;
  font-size: 28px;
  line-height: 1;
  color: #1f5f50;
}

.add-cart-btn {
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #37a58e, #1f5f50);
  color: white;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow:
    0 5px 0 #11352e,
    inset 0 3px 0 rgba(255,255,255,.22);
}

.add-cart-btn:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 #11352e,
    inset 0 3px 0 rgba(255,255,255,.18);
}

.stats-bar {
  min-height: 96px;
  background:
    linear-gradient(180deg, rgba(255, 242, 213, .94), rgba(231, 218, 194, .92));
  border: 3px solid #2a3634;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 14px 28px;
}

.stat:not(:last-child) {
  border-right: 1px solid rgba(72, 55, 37, 0.2);
}

.stat p {
  margin: 0 0 6px;
  color: #6b5b45;
  font-weight: 800;
}

.stat strong {
  font-size: 25px;
}

.stat span {
  margin-left: 18px;
  color: #128a46;
  font-weight: 900;
}

.market-overview,
.compare-btn {
  position: fixed;
  bottom: 24px;
  height: 58px;
  border: 0;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: var(--shadow);
  z-index: 30;
}

.market-overview {
  left: 38px;
  background: linear-gradient(180deg, #fff7df, #dcc495);
  border: 3px solid #2a3634;
  color: var(--ink);
  padding: 0 28px;
}

.compare-btn {
  right: 38px;
  background: linear-gradient(180deg, #37a58e, #1f5f50);
  border: 3px solid #11352e;
  color: white;
  padding: 0 32px;
}

/* LOGIN PAGE - kept close to your current theme */

.login-scene {
  min-height: calc(100vh - 92px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    linear-gradient(rgba(5, 12, 14, 0.15), rgba(5, 12, 14, 0.35)),
    url("/static/assets/login-bg.png");
  background-size: cover;
  background-position: center;
}

.login-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
}

.wood-sign {
  position: absolute;
  left: clamp(22px, 7vw, 150px);
  top: 43%;
  width: 240px;
  min-height: 130px;
  padding: 20px 18px;
  color: #fff2ca;
  text-align: center;
  transform: rotate(-3deg);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.18)),
    repeating-linear-gradient(0deg, #9a6131 0 18px, #8d5429 18px 36px);
  border: 6px solid #57331b;
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 231, 168, 0.18),
    0 12px 0 #3d2618,
    0 20px 35px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.wood-sign span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  text-shadow: 3px 3px 0 #3f2818;
}

.wood-sign strong {
  display: block;
  margin-top: 8px;
  font-family: "Baloo 2", cursive;
  font-size: 35px;
  line-height: 0.92;
  color: var(--gold);
  -webkit-text-stroke: 1.5px #4a2a18;
  text-shadow: 3px 3px 0 #4a2a18;
}

.trainer-login-wrap {
  position: relative;
  z-index: 3;
  width: min(560px, 94vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.logo-placeholder {
  width: 210px;
  height: 210px;
  margin-bottom: -8px;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.35));
  animation: floatBall 3.2s ease-in-out infinite;
}

.pokeball {
  width: 100%;
  height: 100%;
  border: 10px solid #151515;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, #ed3d32 0 48%, #151515 48% 54%, #f8f8f2 54% 100%);
  box-shadow:
    inset 18px 18px 0 rgba(255, 255, 255, 0.18),
    inset -18px -18px 0 rgba(0, 0, 0, 0.1);
}

.pokeball-center {
  position: absolute;
  width: 68px;
  height: 68px;
  border: 9px solid #151515;
  border-radius: 50%;
  background: #f9f9f4;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
}

.trainer-login-card {
  width: 100%;
  background: linear-gradient(180deg, #fff8e9, #f4dec0);
  color: #493a2c;
  border: 8px solid #3f4045;
  border-radius: 30px;
  padding: 34px;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.6),
    0 12px 0 #24282e,
    0 28px 55px rgba(0, 0, 0, 0.45);
}

.trainer-login-card h2 {
  margin: 0 0 22px;
  font-family: "Baloo 2", cursive;
  font-size: 42px;
  text-align: center;
  color: #4b3d32;
}

.trainer-input {
  min-height: 72px;
  margin-bottom: 16px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 4px solid #d0bda0;
  border-radius: 17px;
  background: #fffaf0;
}

.trainer-input svg {
  color: #5a4c40;
  flex-shrink: 0;
}

.trainer-input input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #5a4c40;
  font-size: 24px;
  font-weight: 700;
}

.trainer-login-btn {
  width: 100%;
  min-height: 76px;
  margin-top: 8px;
  border: 4px solid #11352e;
  border-radius: 18px;
  color: white;
  font-family: "Baloo 2", cursive;
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(180deg, #37a58e, #1f5f50);
  box-shadow:
    inset 0 5px 0 rgba(255, 255, 255, 0.28),
    0 7px 0 #11352e;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 14px;
  color: #6d5a49;
}

.login-divider span {
  height: 3px;
  flex: 1;
  border-radius: 99px;
  background: #c9ae8f;
}

.login-note,
.admin-demo {
  text-align: center;
  margin: 4px 0;
  font-size: 20px;
  font-weight: 700;
}

.admin-demo {
  color: #bb3a2d;
}

/* ADMIN */

.admin-page,
.locked-page {
  min-height: calc(100vh - 92px);
  padding: 28px;
  background:
    linear-gradient(rgba(10, 24, 22, .88), rgba(10, 24, 22, .92)),
    url("/static/assets/home-bg.png");
  background-size: cover;
}

.admin-card,
.admin-list,
.locked-page {
  background: rgba(255, 242, 213, .94);
  border: 3px solid #2a3634;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.admin-form input,
.admin-form select {
  height: 44px;
  border: 1px solid rgba(72, 55, 37, 0.25);
  border-radius: 10px;
  padding: 0 12px;
}

.admin-list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(72, 55, 37, 0.22);
  border-radius: 14px;
  background: rgba(255,255,255,.45);
}

.admin-row button {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #bb3a2d;
  color: white;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.locked-page {
  display: grid;
  place-items: center;
  text-align: center;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@keyframes floatBall {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 1200px) {
  .top-nav {
    grid-template-columns: 1fr;
    height: auto;
  }

  .icon-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-right {
    flex-wrap: wrap;
  }

  .dashboard-page {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: relative;
    top: auto;
    height: auto;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(72, 55, 37, 0.22);
    padding-bottom: 12px;
  }
}

@media (max-width: 650px) {
  .dashboard-page {
    padding: 10px;
  }

  .top-nav {
    border-radius: 0 0 18px 18px;
  }

  .logo-text strong,
  .logo-text b {
    font-size: 28px;
  }

  .card-row {
    grid-auto-columns: 165px;
    padding-left: 0;
    padding-right: 0;
  }

  .shelf-arrow {
    display: none;
  }

  .market-card {
    height: 263px;
  }

  .market-overview,
  .compare-btn {
    display: none;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .mini-hero {
    grid-template-columns: 1fr;
  }

  .wood-sign {
    display: none;
  }

  .logo-placeholder {
    width: 150px;
    height: 150px;
  }

  .trainer-login-card h2 {
    font-size: 31px;
  }

  .trainer-input input {
    font-size: 19px;
  }
}

.icon-tabs a{
  min-width: 96px;
  height: 70px;

  border-radius: 18px;

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

  gap: 4px;

  text-decoration: none;

  color: #f4e6c7;

  font-weight: 900;
  font-size: 15px;

  transition: .18s ease;

  position: relative;

  text-shadow:
    0 2px 6px rgba(0,0,0,.35);
}

.icon-tabs a span{
  font-size: 15px;
}

.icon-tabs a.active,
.icon-tabs a:hover{
  background:
    linear-gradient(
      180deg,
      rgba(234,216,177,.98),
      rgba(200,177,133,.94)
    );

  color: #1b342f;

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(0,0,0,.24),
    inset 0 2px 0 rgba(255,255,255,.45);
}

.top-nav{
  backdrop-filter: blur(12px);
}

.brand-logo{
  align-items: center;
}

.site-logo{
  height: 86px;
}

/* ---------- OWNED PRINTS ---------- */

.owned-prints-shelf{
    display:block !important;
}

.owned-totals{
    display:flex;
    gap:12px;
    align-items:center;
}

.collection-value,
.spent-value{

    padding:8px 16px;

    border-radius:999px;

    background:#1f5f50;

    color:white;

    font-weight:900;

    white-space:nowrap;
}

.owned-head{
    display:flex;
    justify-content:space-between;
    align-items:center;

    width:100%;

    margin:0 0 16px 0;
}

.owned-head h2{
    margin:0;
    font-size:27px;
}

.collection-value{
    margin:0;
    padding:8px 16px;

    border-radius:999px;

    background:#1f5f50;
    color:#fff;

    font-weight:900;

    white-space:nowrap;
}

.owned-prints-shelf .shelf-wrap{
    display:block;
    width:100%;
    margin:0;
}

.owned-prints-shelf .card-row{
    padding-top:0;
}