/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #f7f4ef;
  --panel: #ffffff;
  --panel-soft: #fbfaf7;
  --text: #24211d;
  --muted: #756f66;
  --line: #e6ded2;
  --brand: #d94f70;
  --brand-strong: #b73557;
  --teal: #168979;
  --amber: #ba7a16;
  --shadow: 0 18px 50px rgba(42, 32, 20, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Noto Sans TC", "PingFang TC", sans-serif;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.main-content {
  margin-left: 248px;
  padding: 40px;
}

.main-content.narrow {
  max-width: 980px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.page-header.compact {
  align-items: center;
}

.page-header h1,
.auth-panel h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.page-header p:not(.eyebrow) {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-action,
.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 700;
  min-height: 42px;
  padding: 0 16px;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-action:hover,
.icon-action:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.primary-action.full {
  width: 100%;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text);
  padding: 0 16px;
  font-weight: 800;
}

.secondary-action.full {
  width: 100%;
}

.secondary-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.primary-action:disabled,
.icon-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.icon-action {
  width: 42px;
  padding: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.feature-card,
.list-panel,
.auth-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 22px;
}

.feature-card svg {
  color: var(--amber);
}

.feature-card h2 {
  margin: 16px 0 8px;
  font-size: 19px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  width: 248px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  padding: 24px;
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.brand {
  margin-bottom: 32px;
  color: var(--brand);
  font-size: 28px;
  font-weight: 800;
}

.nav-list {
  display: flex;
  flex: 1 1;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  font-weight: 700;
}

.nav-item.active,
.nav-item:hover {
  background: #f4e9ec;
  color: var(--brand-strong);
}

.logout-button {
  width: 100%;
}

.nav-icon-wrap {
  position: relative;
  display: inline-flex;
}

.badge,
.unread-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 0 6px;
}

.badge {
  position: absolute;
  right: -11px;
  top: -9px;
}

.badge.small {
  min-width: 17px;
  height: 17px;
  font-size: 10px;
}

.bottom-nav {
  display: none;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.auth-panel {
  width: min(100%, 440px);
  padding: 32px;
}

.auth-form {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  margin-top: 28px;
}

.auth-form label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.input-row,
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  padding: 0 12px;
}

.input-row input,
.search-box input,
.message-input-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.input-row input {
  height: 44px;
}

.search-box {
  height: 46px;
  margin-bottom: 16px;
}

.form-error {
  margin: 0;
  color: #b42318;
  font-size: 14px;
}

.auth-switch {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
}

.auth-switch a,
.empty-state a {
  color: var(--brand-strong);
  font-weight: 800;
}

.list-panel {
  overflow: hidden;
}

.user-row,
.conversation-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
  transition: background 140ms ease;
}

.user-row:last-child,
.conversation-row:last-child {
  border-bottom: 0;
}

.user-row:hover,
.conversation-row:hover {
  background: var(--panel-soft);
}

.user-row img,
.conversation-row img,
.chat-peer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #eadfd6;
}

.user-row div,
.conversation-main {
  flex: 1 1;
  min-width: 0;
}

.user-row h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.user-row p,
.empty-text {
  margin: 0;
  color: var(--muted);
}

.empty-text {
  padding: 20px;
}

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

.empty-state {
  display: grid;
  justify-items: center;
  grid-gap: 10px;
  gap: 10px;
  padding: 48px 16px;
  color: var(--muted);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 20px;
}

.section-title-row svg {
  color: var(--amber);
}

.wallet-balance-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 12%, rgba(217, 79, 112, 0.16), transparent 24%),
    linear-gradient(135deg, #ffffff, #fbf7ff);
  box-shadow: var(--shadow);
  padding: 24px;
}

.wallet-balance-panel p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-balance-panel strong {
  display: inline-block;
  color: var(--text);
  font-size: 42px;
  line-height: 1;
}

.wallet-balance-panel span {
  margin-left: 10px;
  color: var(--brand-strong);
  font-weight: 800;
}

.wallet-notice {
  margin: 0 0 16px;
  border: 1px solid #d7c4ff;
  border-radius: 8px;
  background: #f6f0ff;
  color: #6545b8;
  padding: 12px 14px;
  font-weight: 700;
}

.wallet-transactions {
  margin-top: 16px;
}

.transaction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
}

.transaction-row:last-child {
  border-bottom: 0;
}

.transaction-row strong {
  display: block;
  margin-bottom: 5px;
}

.transaction-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.amount-positive,
.amount-negative {
  flex: 0 0 auto;
  font-weight: 900;
  white-space: nowrap;
}

.amount-positive {
  color: var(--teal);
}

.amount-negative {
  color: var(--brand-strong);
}

.market-grid,
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 18px;
}

.market-card,
.inventory-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.market-card {
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, border-color 160ms ease;
}

.market-card:hover {
  border-color: #d8b9c3;
  transform: translateY(-2px);
}

.market-card img,
.inventory-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1e8f6;
}

.market-card > div,
.inventory-card-body {
  padding: 16px;
}

.market-card h2,
.inventory-card h2 {
  margin: 10px 0 6px;
  font-size: 18px;
}

.market-card p,
.inventory-card p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.market-card dl,
.market-detail-hero dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin: 16px 0 0;
}

.market-card dt,
.market-detail-hero dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.market-card dd,
.market-detail-hero dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.rarity-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #edf7f5;
  color: var(--teal);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.rarity-pill.rare {
  background: #eef2ff;
  color: #4f46e5;
}

.rarity-pill.epic {
  background: #f6f0ff;
  color: #7c3aed;
}

.rarity-pill.legendary {
  background: #fff7ed;
  color: #c2410c;
}

.market-listings-panel {
  margin-top: 18px;
}

.market-listing-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  align-items: center;
  grid-gap: 14px;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
}

.market-listing-row:last-child {
  border-bottom: 0;
}

.market-listing-row img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1e8f6;
}

.market-listing-row strong {
  display: block;
  margin-bottom: 4px;
}

.market-listing-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.market-listing-row span {
  color: var(--brand-strong);
  font-weight: 900;
  white-space: nowrap;
}

.market-detail-hero {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 20px;
}

.market-detail-hero > img,
.market-detail-hero > div:first-child {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: #f1e8f6;
}

.market-detail-hero h1 {
  margin: 0;
  font-size: 34px;
}

.market-detail-hero p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.listing-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 14px;
}

.listing-controls input,
.admin-asset-form input,
.admin-asset-form textarea,
.admin-asset-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  outline: 0;
}

.listing-controls input {
  height: 42px;
  padding: 0 12px;
}

.empty-inventory {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  grid-gap: 10px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  padding: 42px 16px;
}

.empty-inventory h2,
.empty-inventory p {
  margin: 0;
}

.conversation-row {
  color: var(--muted);
}

.avatar-wrap {
  position: relative;
  display: inline-flex;
}

.online-dot {
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid white;
  border-radius: 999px;
  background: #16a34a;
}

.conversation-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
}

.conversation-title time {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.conversation-preview {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-preview.unread {
  color: var(--text);
  font-weight: 800;
}

.chat-screen {
  display: flex;
  width: min(100%, 760px);
  height: 100vh;
  margin: 0 auto;
  flex-direction: column;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 12px;
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.chat-peer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-peer h1 {
  margin: 0;
  font-size: 18px;
}

.chat-peer p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.message-list {
  flex: 1 1;
  overflow-y: auto;
  padding: 20px 16px;
}

.message-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.message-row.mine {
  justify-content: flex-end;
}

.message-bubble {
  max-width: min(76%, 520px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px 12px;
}

.message-row.mine .message-bubble {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.message-bubble p {
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.message-bubble time {
  display: block;
  margin-top: 5px;
  color: inherit;
  font-size: 10px;
  opacity: 0.68;
  text-align: right;
}

.message-input-bar {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: white;
  padding: 12px;
}

.message-input-bar input {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 0 12px;
}

.send-button {
  flex: 0 0 auto;
}

.loading-screen {
  padding: 32px;
  color: var(--muted);
}

.login-showcase {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(155, 129, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #fffefe 0%, #f5f0ff 58%, #fff7fb 100%);
}

.login-phone {
  position: relative;
  width: min(100%, 430px);
  min-height: 900px;
  overflow: hidden;
  border: 10px solid #0d0d12;
  border-radius: 54px;
  background:
    radial-gradient(circle at 15% 7%, rgba(204, 195, 255, 0.54), transparent 20%),
    linear-gradient(180deg, #fefcff 0%, #f8f5ff 48%, #ffffff 100%);
  box-shadow: 0 28px 80px rgba(75, 65, 104, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.status-bar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 24px 42px 0;
  color: #10101a;
  font-weight: 800;
}

.status-icons {
  font-size: 13px;
  letter-spacing: 1px;
}

.dynamic-island {
  position: absolute;
  z-index: 6;
  top: 22px;
  left: 50%;
  width: 118px;
  height: 34px;
  border-radius: 999px;
  background: #050506;
  transform: translateX(-50%);
}

.login-decor {
  position: absolute;
  pointer-events: none;
}

.decor-moon {
  top: -10px;
  left: -28px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(210, 201, 255, 0.38);
}

.decor-cloud {
  width: 52px;
  height: 26px;
  border-radius: 999px;
  background: rgba(199, 188, 247, 0.35);
}

.decor-cloud.one {
  top: 172px;
  left: 54px;
}

.decor-cloud.two {
  right: 78px;
  top: 365px;
}

.decor-star {
  color: #eeb4cc;
  font-size: 26px;
}

.decor-star.a {
  left: 105px;
  top: 128px;
}

.decor-star.b {
  right: 36px;
  top: 188px;
}

.decor-star.c {
  left: 42px;
  top: 240px;
  color: #f6d996;
}

.paper-plane {
  position: absolute;
  right: 70px;
  top: 116px;
  color: #8d72ed;
  font-size: 44px;
  transform: rotate(-34deg);
}

.login-brand {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: 116px 24px 0;
  text-align: center;
}

.bunny-logo {
  position: relative;
  width: 80px;
  height: 74px;
}

.logo-ear,
.hero-ear {
  position: absolute;
  border: 5px solid #8a68ef;
  background: #fff;
}

.logo-ear {
  top: 0;
  width: 25px;
  height: 58px;
  border-radius: 999px;
}

.logo-ear.left {
  left: 22px;
  transform: rotate(-8deg);
}

.logo-ear.right {
  right: 12px;
  transform: rotate(8deg);
}

.logo-face {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 62px;
  height: 50px;
  border: 5px solid #8a68ef;
  border-radius: 24px 24px 28px 28px;
  background: white;
  box-shadow: 0 8px 16px rgba(124, 89, 238, 0.14);
}

.logo-eye,
.hero-eye {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6c50d8;
}

.logo-eye.left {
  left: 17px;
  top: 21px;
}

.logo-eye.right {
  right: 17px;
  top: 21px;
}

.logo-mouth {
  position: absolute;
  left: 23px;
  top: 24px;
  color: #6c50d8;
  font-size: 13px;
  font-weight: 800;
}

.logo-chat {
  position: absolute;
  right: -14px;
  bottom: 10px;
  width: 34px;
  height: 28px;
  border: 4px solid #a98bf9;
  border-radius: 12px;
  background: #fff;
  color: #a98bf9;
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
}

.login-brand h1 {
  margin: 12px 0 0;
  color: #23263c;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}

.login-brand h1 span {
  color: #8259ee;
}

.login-brand p {
  margin: 16px 0 0;
  color: #8b91aa;
  font-size: 16px;
  font-weight: 600;
}

.bunny-hero {
  position: relative;
  z-index: 1;
  height: 264px;
  margin-top: 4px;
}

.hero-orbit {
  position: absolute;
  left: 50%;
  bottom: -42px;
  width: 360px;
  height: 262px;
  border-radius: 180px 180px 0 0;
  background: rgba(218, 210, 255, 0.48);
  transform: translateX(-50%);
}

.heart-bubble {
  position: absolute;
  z-index: 3;
  left: 92px;
  top: 72px;
  display: grid;
  width: 64px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #ff9bb5;
  font-size: 24px;
  box-shadow: 0 12px 30px rgba(137, 107, 220, 0.12);
}

.hero-bunny {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: 150px;
  height: 190px;
  transform: translateX(-50%);
}

.hero-ear {
  top: 0;
  width: 45px;
  height: 122px;
  border: 0;
  background: #fffdf8;
  box-shadow: inset 14px 0 0 #ffc0cb;
}

.hero-ear.left {
  left: 28px;
  transform: rotate(-15deg);
}

.hero-ear.right {
  right: 26px;
  transform: rotate(9deg);
}

.hero-face {
  position: absolute;
  left: 12px;
  top: 84px;
  width: 126px;
  height: 112px;
  border-radius: 58px 58px 48px 48px;
  background: #fffdf8;
  box-shadow: 0 18px 32px rgba(121, 98, 172, 0.12);
}

.hero-face::before,
.hero-face::after {
  content: "";
  position: absolute;
  top: 60px;
  width: 20px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 164, 178, 0.55);
  filter: blur(2px);
}

.hero-face::before {
  left: 25px;
}

.hero-face::after {
  right: 25px;
}

.hero-eye.left {
  left: 38px;
  top: 44px;
  background: transparent;
  border-top: 4px solid #3f2d38;
  border-radius: 999px;
}

.hero-eye.right {
  right: 36px;
  top: 39px;
  width: 10px;
  height: 16px;
  background: #3f2d38;
}

.hero-nose {
  position: absolute;
  left: 57px;
  top: 50px;
  color: #a87f83;
  font-size: 23px;
  font-weight: 800;
}

.book {
  position: absolute;
  z-index: 4;
  left: 30px;
  bottom: -2px;
  display: grid;
  width: 90px;
  height: 55px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(90deg, #8464ef, #a36df4);
  color: #cbb9ff;
  font-size: 21px;
  box-shadow: 0 14px 24px rgba(108, 80, 216, 0.28);
}

.login-card {
  position: relative;
  z-index: 4;
  margin: -10px 28px 24px;
  padding: 26px 24px 24px;
  border: 1px solid rgba(225, 225, 239, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 60px rgba(93, 74, 142, 0.16);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.login-card-title {
  text-align: center;
}

.login-card-title h2 {
  margin: 0;
  color: #26283e;
  font-size: 25px;
  letter-spacing: 0;
}

.login-card-title h2 span {
  color: #a887f7;
}

.login-card-title p {
  margin: 10px 0 22px;
  color: #777f98;
  font-size: 16px;
  font-weight: 700;
}

.login-form {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.login-field {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border: 1px solid #e3e2ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #9b8af3;
  padding: 0 16px;
}

.login-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #282a42;
  font-size: 17px;
}

.login-field input::placeholder {
  color: #a2a7ba;
}

.password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #a1a6b9;
  padding: 0;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 2px;
  color: #7c839b;
  font-size: 15px;
  font-weight: 700;
}

.remember-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.remember-row input {
  width: 19px;
  height: 19px;
  accent-color: #8c6af0;
}

.forgot-link {
  color: #8a64f4;
}

.login-submit {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, #7858ef 0%, #b066f5 100%);
  color: white;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(126, 88, 239, 0.28);
}

.social-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  grid-gap: 14px;
  gap: 14px;
  margin: 24px 0 20px;
  color: #7f869c;
  font-weight: 700;
}

.social-divider span {
  height: 1px;
  background: #e4e5ef;
}

.social-divider p {
  margin: 0;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 14px;
  gap: 14px;
}

.social-button {
  display: grid;
  justify-items: center;
  grid-gap: 8px;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #737b94;
  font-size: 14px;
  font-weight: 700;
}

.google-mark,
.apple-mark,
.phone-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid #e5e4ee;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(75, 65, 104, 0.08);
}

.google-mark {
  color: #4285f4;
  font-size: 24px;
  font-weight: 900;
}

.apple-mark {
  color: #111;
  font-size: 24px;
}

.phone-mark {
  color: #7d59ef;
}

.login-signup {
  margin: 22px 0 0;
  color: #737b94;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.login-signup a {
  color: #8259ee;
}

@media (max-width: 780px) {
  .sidebar {
    display: none;
  }

  .bottom-nav {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 10px 10px;
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
  }

  .bottom-item {
    display: flex;
    width: 56px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
  }

  .bottom-item.active {
    color: var(--brand-strong);
  }

  .main-content {
    margin-left: 0;
    padding: 24px 16px 86px;
  }

  .page-header {
    align-items: stretch;
    flex-direction: column;
  }

  .page-header.compact {
    flex-direction: row;
    align-items: center;
  }

  .page-header h1,
  .auth-panel h1 {
    font-size: 34px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .market-grid,
  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .market-listing-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .market-listing-row span,
  .market-listing-row .primary-action {
    grid-column: 2;
    justify-self: start;
  }

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

  .market-detail-hero > img,
  .market-detail-hero > div:first-child {
    max-height: 320px;
  }

  .wallet-balance-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .wallet-balance-panel strong {
    font-size: 36px;
  }

  .transaction-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-panel {
    padding: 24px;
  }

  .login-showcase {
    padding: 0;
  }

  .login-phone {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .login-card {
    margin-right: 16px;
    margin-left: 16px;
  }
}

@media (max-width: 390px) {
  .login-brand {
    padding-top: 96px;
  }

  .login-brand h1 {
    font-size: 36px;
  }

  .login-brand p {
    font-size: 14px;
  }

  .bunny-hero {
    height: 230px;
  }

  .login-card {
    padding: 22px 18px;
  }

  .login-options {
    font-size: 13px;
  }
}

/* Normal product login page using the BunnyNote palette and illustration language. */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 14% 18%, rgba(198, 187, 255, 0.42), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(255, 215, 230, 0.5), transparent 20%),
    linear-gradient(135deg, #fffefd 0%, #f8f4ff 50%, #fff8fb 100%);
}

.login-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 440px);
  align-items: center;
  grid-gap: 48px;
  gap: 48px;
  width: min(100%, 1080px);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(228, 224, 244, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 80px rgba(96, 82, 140, 0.16);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  padding: 32px 44px;
}

.login-visual {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 500px;
}

.login-page .login-brand {
  padding: 0;
}

.login-page .login-brand h1 {
  font-size: 52px;
}

.login-page .login-brand p {
  max-width: 410px;
  font-size: 18px;
  line-height: 1.6;
}

.login-page .bunny-hero {
  width: 430px;
  height: 292px;
  margin-top: 12px;
}

.login-page .hero-orbit {
  bottom: 0;
  width: 390px;
  height: 250px;
  border-radius: 220px;
}

.login-page .heart-bubble {
  left: 76px;
  top: 88px;
}

.login-page .hero-bunny {
  bottom: 22px;
  transform: translateX(-50%) scale(1);
}

.login-page .login-card {
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.login-page .login-card-title {
  text-align: left;
}

.login-page .login-card-title .eyebrow {
  margin-bottom: 10px;
  color: #8259ee;
}

.login-page .login-card-title h2 {
  font-size: 28px;
}

.login-page .login-card-title p:not(.eyebrow) {
  margin: 8px 0 20px;
  line-height: 1.55;
}

.login-page .login-field {
  min-height: 50px;
  border-radius: 12px;
}

.login-page .login-submit {
  height: 50px;
  border-radius: 12px;
}

.login-page .social-grid {
  gap: 12px;
}

.login-page .social-button {
  gap: 7px;
}

.login-page .google-mark,
.login-page .apple-mark,
.login-page .phone-mark {
  width: 46px;
  height: 46px;
}

.login-page .login-options {
  padding-top: 6px;
}

.login-page .social-divider {
  margin: 18px 0 14px;
}

.login-page .login-signup {
  margin-top: 16px;
}

.register-page .login-card {
  justify-self: center;
  max-width: 440px;
}

.register-page .login-shell {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  width: min(100%, 860px);
  min-height: auto;
  padding: 44px;
}

.register-page .register-visual {
  display: none;
}

.register-page .login-card-title {
  text-align: center;
}

.register-page .login-card-title .eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
}

.register-page .login-card-title h2 {
  font-size: 34px;
}

.register-page .login-card-title p:not(.eyebrow) {
  margin-bottom: 24px;
}

.register-hint {
  margin: -2px 0 2px;
  color: #8b91a6;
  font-size: 13px;
  font-weight: 700;
}

.login-page .decor-moon {
  top: -72px;
  left: -58px;
  width: 210px;
  height: 210px;
}

.login-page .decor-cloud.one {
  top: 156px;
  left: 74px;
}

.login-page .decor-cloud.two {
  top: auto;
  right: 360px;
  bottom: 136px;
}

.login-page .decor-star.a {
  left: 34%;
  top: 92px;
}

.login-page .decor-star.b {
  right: 80px;
  top: 76px;
}

.login-page .decor-star.c {
  left: 86px;
  top: auto;
  bottom: 120px;
}

.login-page .paper-plane {
  top: 110px;
  right: 168px;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .login-page {
    padding: 20px;
  }

  .login-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
    padding: 32px 20px;
  }

  .login-visual {
    min-height: auto;
  }

  .login-page .login-brand h1 {
    font-size: 42px;
  }

  .login-page .login-brand p {
    font-size: 15px;
  }

  .login-page .bunny-hero {
    width: min(100%, 360px);
    height: 235px;
    margin-top: 8px;
  }

  .login-page .hero-orbit {
    width: 330px;
    height: 220px;
  }

  .login-page .heart-bubble {
    left: 52px;
    top: 68px;
    width: 54px;
    height: 42px;
  }

  .login-page .hero-bunny {
    bottom: 8px;
    transform: translateX(-50%) scale(0.9);
  }

  .login-page .login-card {
    padding: 26px 20px;
  }

  .login-page .login-card-title {
    text-align: center;
  }

  .register-page .login-shell {
    width: min(100%, 560px);
    padding: 28px 20px;
  }

  .login-page .paper-plane,
  .login-page .decor-cloud.two {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-page {
    padding: 0;
  }

  .login-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .login-page .login-card {
    border-radius: 18px;
  }

  .register-page .login-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px 18px;
  }

  .register-page .login-card {
    width: 100%;
  }

  .login-page .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .login-page .social-button {
    font-size: 12px;
  }

  .login-page .login-options {
    align-items: flex-start;
    flex-direction: column;
  }
}

.admin-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: #f6f7fb;
  color: #111827;
}

.admin-access-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: #f6f7fb;
  color: #111827;
  padding: 24px;
}

.admin-access-panel {
  width: min(100%, 440px);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  padding: 30px;
  text-align: center;
}

.admin-access-panel svg {
  color: #4f46e5;
}

.admin-access-panel h1 {
  margin: 14px 0 10px;
  font-size: 24px;
}

.admin-access-panel p {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}

.admin-access-panel button {
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  background: #4f46e5;
  color: #ffffff;
  padding: 11px 18px;
  font-weight: 800;
}

.admin-sidebar {
  display: flex;
  width: 264px;
  flex: 0 0 auto;
  flex-direction: column;
  border-right: 1px solid #e5e7eb;
  background: #ffffff;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  border-bottom: 1px solid #e5e7eb;
  color: #4f46e5;
  padding: 0 22px;
  font-size: 18px;
  font-weight: 800;
}

.admin-nav {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  overflow-y: auto;
  padding: 16px 12px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border-radius: 8px;
  color: #4b5563;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  transition: background 140ms ease, color 140ms ease;
}

.admin-nav-item svg {
  color: #9ca3af;
}

.admin-nav-item:hover {
  background: #f3f4f6;
  color: #111827;
}

.admin-nav-item.active {
  background: #eef2ff;
  color: #4338ca;
}

.admin-nav-item.active svg {
  color: #4f46e5;
}

.admin-main {
  display: flex;
  min-width: 0;
  flex: 1 1;
  flex-direction: column;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 0 32px;
}

.admin-topbar p {
  margin: 0 0 3px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 18px;
}

.admin-user-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: #4b5563;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

.admin-user-box svg {
  color: #4f46e5;
}

.admin-user-box button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  border-left: 1px solid #e5e7eb;
  background: transparent;
  color: #e11d48;
  padding-left: 10px;
  font-weight: 800;
}

.admin-content {
  flex: 1 1;
  overflow: auto;
  padding: 30px 32px;
}

.admin-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.admin-page-heading p {
  margin: 0 0 6px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-page-heading h2 {
  margin: 0;
  font-size: 28px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.admin-stat-card,
.admin-panel,
.admin-roadmap-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.admin-stat-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.admin-stat-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.admin-stat-card strong {
  display: block;
  margin-top: 10px;
  color: #111827;
  font-size: 32px;
  line-height: 1;
}

.admin-stat-card svg,
.admin-roadmap-card svg {
  color: #4f46e5;
}

.admin-panel {
  overflow: hidden;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 20px;
}

.admin-panel-header h3 {
  margin: 0;
  font-size: 18px;
}

.admin-panel-header span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th {
  background: #f9fafb;
  color: #6b7280;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  border-top: 1px solid #eef0f3;
  color: #374151;
  padding: 14px 16px;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-member-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-member-cell img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e5e7eb;
}

.admin-member-cell span {
  color: #111827;
  font-weight: 800;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.admin-status.disabled {
  background: #fff1f2;
  color: #be123c;
}

.admin-empty-cell {
  color: #6b7280;
  text-align: center;
}

.admin-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.admin-roadmap-card {
  padding: 20px;
}

.admin-roadmap-card h3 {
  margin: 16px 0 8px;
  font-size: 17px;
}

.admin-roadmap-card p {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}

.admin-market-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}

.admin-asset-form {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding-bottom: 18px;
}

.admin-asset-form .admin-panel-header {
  margin-bottom: 0;
}

.admin-asset-form label {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  color: #4b5563;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
}

.admin-asset-form input,
.admin-asset-form textarea,
.admin-asset-form select {
  border-color: #e5e7eb;
  color: #111827;
  padding: 0 11px;
}

.admin-asset-form input,
.admin-asset-form select {
  height: 40px;
}

.admin-asset-form textarea {
  min-height: 86px;
  resize: vertical;
  padding-top: 10px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.admin-form-notice {
  margin: 0 18px;
  border: 1px solid #d7c4ff;
  border-radius: 8px;
  background: #f6f0ff;
  color: #6545b8;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.admin-asset-form > .primary-action {
  margin: 0 18px;
  width: calc(100% - 36px);
}

@media (max-width: 900px) {
  .admin-shell {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    overflow: visible;
  }

  .admin-sidebar {
    width: 100%;
    border-right: 0;
  }

  .admin-brand {
    height: 56px;
  }

  .admin-nav {
    display: flex;
    overflow-x: auto;
    padding: 10px 12px;
  }

  .admin-nav-item {
    flex: 0 0 auto;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .admin-user-box {
    width: 100%;
    justify-content: space-between;
  }

  .admin-content {
    padding: 20px 16px;
  }

  .admin-stat-grid,
  .admin-roadmap-grid {
    grid-template-columns: 1fr;
  }

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

