* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #8B4513;
  --primary-dark: #654321;
  --accent-color: #D4A574;
  --beige: #E8D4C0;
  --light-beige: #F5E6D3;
  --text-dark: #2f2f2f;
  --text-light: #666;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-beige);
  min-height: 100vh;
  padding-top: 100px;
}

.page-bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-banner {
  position: fixed;
  top: 115px;
  left: 30px;
  width: 460px;
  min-height: 86px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.52));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  z-index: 600;
  pointer-events: none;
}

.user-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.55), rgba(255, 255, 255, 0.0), rgba(0, 121, 107, 0.28));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.user-banner::after {
  content: "";
  position: absolute;
  left: -20px;
  top: -30px;
  width: 200px;
  height: 110px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.0) 70%);
  transform: rotate(-6deg);
  pointer-events: none;
}

.user-banner-title {
  font-size: 15px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.78);
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-banner-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.user-banner-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 77, 64, 1), rgba(0, 121, 107, 0.9));
  color: rgba(255, 255, 255, 0.96);
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  flex: 0 0 auto;
}

.user-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.user-banner-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: center;
}

.user-banner-k {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.58);
  letter-spacing: 0.3px;
}

.user-banner-v {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.86);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-banner-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-banner-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(212, 165, 116, 0.2);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  min-width: 0;
}

.user-banner-chip-wide {
  flex: 1;
  justify-content: space-between;
}

.user-banner-chip-k {
  font-size: 11px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.62);
}

.user-banner-chip-v {
  font-size: 11px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.82);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lanterns {
  position: fixed;
  top: 240px;
  left: 0px;
  width: 280px;
  height: calc(100vh - 240px);
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: space-between;
  z-index: 1600;
  pointer-events: auto;
  padding-left: 0;
  isolation: isolate;
}

.lanterns .lantern-primary,
.lanterns .lantern-primary * {
  pointer-events: auto;
}

.lanterns::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(90, 70, 40, 0.0), rgba(90, 70, 40, 0.85), rgba(90, 70, 40, 0.0));
  border-radius: 3px;
  z-index: 0;
}

.lanterns .lantern {
  width: 260px;
  height: 240px;
  position: relative;
  overflow: hidden;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.28));
  z-index: 1;
  cursor: pointer;
  transition: transform 180ms ease;
}

.lanterns .lantern:hover {
  transform: translateX(12px);
}

.lanterns .lantern:active {
  transform: translateX(8px);
}

.lanterns .lantern-action {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  padding: 10px 6px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(220, 53, 69, 0.9);
  font-weight: 800;
  letter-spacing: 4px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  cursor: pointer;
  z-index: 3;
}

.lanterns .lantern img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: translateY(-10%) scale(3.6);
  transform-origin: 50% 40%;
  pointer-events: none;
  user-select: none;
}

.lantern-panel {
  position: fixed;
  width: auto;
  height: auto;
  min-width: 520px;
  min-height: 280px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 140px);
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.52));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  z-index: 750;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  overflow: auto;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lantern-panel.is-open {
  pointer-events: auto;
}

.lantern-panel-subtitle {
  margin-top: 10px;
  margin-bottom: 6px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.68);
  font-size: 14px;
}

.lantern-panel-list {
  margin: 0 0 8px;
  padding-left: 18px;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.55;
}

.lantern-panel-list li {
  margin: 4px 0;
}

.lantern-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.lantern-panel-title {
  font-size: 18px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.88);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.panel-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(139, 69, 19, 0.04);
  border-radius: 8px;
}

.panel-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-info-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.panel-info-value {
  font-size: 13px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.88);
  word-break: break-all;
  line-height: 1.2;
}

.panel-badge {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(0, 121, 107, 0.12);
  color: rgba(0, 77, 64, 1);
  border-radius: 16px;
  font-size: 10px;
  font-weight: 800;
  width: fit-content;
}

.panel-highlight {
  color: rgba(220, 53, 69, 0.9);
  font-weight: 900;
}

.panel-card-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  flex: 1;
  grid-auto-rows: 1fr;
  align-content: stretch;
}

.panel-card {
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56));
  border: 1px solid rgba(212, 165, 116, 0.34);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 160ms ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  height: 100%;
}

.panel-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 165, 116, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
}

.panel-card-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 69, 19, 0.08);
  border: 1px solid rgba(212, 165, 116, 0.22);
  color: rgba(139, 69, 19, 0.88);
  font-size: 18px;
  line-height: 1;
}

.panel-card-title {
  font-size: 13px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 2px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.panel-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  align-content: stretch;
  grid-auto-rows: 1fr;
}

.panel-card-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.74);
  line-height: 1.2;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(212, 165, 116, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  position: relative;
  min-height: 58px;
}

.panel-card-list li::before {
  content: "";
}

.panel-card-list li:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(212, 165, 116, 0.42);
}

 .panel-card-list li.is-selected {
  background: rgba(0, 121, 107, 0.12);
  border-color: rgba(0, 121, 107, 0.32);
 }

 .panel-card-list li {
  padding-right: 44%;
 }

 .panel-item-extra {
  position: absolute;
  top: 8px;
  right: 10px;
  bottom: 8px;
  width: 40%;
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(212, 165, 116, 0.26);
  overflow: hidden;
  display: none;
 }

 .panel-card-list li.is-selected .panel-item-extra {
  display: block;
 }

 .panel-extra-title {
  font-size: 12px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.82);
  margin-bottom: 6px;
 }

 .panel-extra-desc {
  font-size: 11px;
  font-weight: 650;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.4;
  word-break: break-word;
 }

 .panel-extra-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
 }

 .panel-extra-btn {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(220, 53, 69, 0.28);
  background: rgba(220, 53, 69, 0.12);
  color: rgba(220, 53, 69, 0.95);
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
 }

 .panel-extra-btn:hover {
  background: rgba(220, 53, 69, 0.18);
 }

.panel-item-title {
  font-size: 13px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.82);
  line-height: 1.15;
}

.panel-item-desc {
  font-size: 11px;
  font-weight: 650;
  color: rgba(0, 0, 0, 0.58);
  line-height: 1.15;
}

.windchime {
  position: fixed;
  top: 110px;
  right: 28px;
  width: 260px;
  height: 760px;
  z-index: 900;
  pointer-events: auto;
  perspective: 900px;
  transform: translateX(0);
}

.windchime::before {
  content: "";
  position: absolute;
  left: calc(50% - 10px);
  top: -10px;
  width: 3px;
  height: 90px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(90, 70, 40, 0.0), rgba(90, 70, 40, 0.85));
  border-radius: 3px;
  z-index: 0;
}

.windchime-swing {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%) rotateZ(0deg);
  transform-origin: 50% 0%;
  will-change: transform;
  transform-style: preserve-3d;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.25));
}

.windchime-rope {
  position: absolute;
  top: 0;
  left: 50%;
  width: 220px;
  height: 260px;
  transform: translateX(-50%);
  background-image: url("../图片/个人页面/风铃绳.png");
  background-repeat: no-repeat;
  background-position: center 0%;
  background-size: 520px 520px;
}

.windchime-bell {
  position: absolute;
  top: 120px;
  left: 50%;
  width: 220px;
  height: 240px;
  transform: translateX(-50%);
  transform-origin: 50% 0%;
  will-change: transform;
  background-image: url("../图片/个人页面/风铃.png");
  background-repeat: no-repeat;
  background-position: center 45%;
  background-size: 520px 520px;
}

.windchime-plate-hover {
  position: absolute;
  top: 270px;
  left: 50%;
  width: 200px;
  height: 420px;
  transform: translateX(-50%);
  transform-origin: 50% 0%;
  will-change: transform;
  transition: transform 180ms ease;
  pointer-events: auto;
  cursor: pointer;
}

.windchime-plate-hover.is-hover,
.windchime-plate-hover:hover {
  transform: translateX(-50%);
}

.windchime-plate-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 0%;
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 900px;
}

.windchime-plate {
  position: absolute;
  top: 0;
  left: 50%;
  width: 180px;
  height: 420px;
  transform: translateX(-50%) rotateY(0deg) rotateX(0deg);
  transform-origin: 50% 0%;
  background-image: url("../图片/个人页面/木牌.png");
  background-repeat: no-repeat;
  background-position: center -260px;
  background-size: 520px 520px;
  will-change: transform;
  position: absolute;
  pointer-events: none;
}

.windchime-plate.is-click-flash {
  box-shadow: 0 0 0 4px rgba(0, 121, 107, 0.22);
}

.windchime-plate-text {
  position: absolute;
  left: 45%;
  top: 30%;
  transform: translate(-50%, -50%) scale(1);
  font-size: 30px;
  font-weight: 800;
  color: rgba(220, 53, 69, 0.95);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 6px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: transform 160ms ease;
}

.windchime-plate-hover.is-hover .windchime-plate-text,
.windchime-plate-hover:hover .windchime-plate-text {
  transform: translate(-50%, -50%) scale(1.28);
}

.member-panel {
  position: fixed;
  width: 560px;
  max-width: calc(100vw - 32px);
  height: 680px;
  max-height: calc(100vh - 40px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  border: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  z-index: 1200;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.member-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.member-panel-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(0, 121, 107, 0.1);
}

.member-tab {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 10px 8px;
  font-weight: 800;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(0, 77, 64, 0.95);
}

.member-tab.is-active {
  background: linear-gradient(135deg, rgba(0, 77, 64, 1), rgba(0, 121, 107, 0.9));
  color: #fff;
}

.member-panel-body {
  padding: 12px 16px 14px;
  flex: 1;
  overflow: auto;
}

.member-panel-title {
  font-size: 18px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.78);
  margin-bottom: 8px;
}

.member-panel-text {
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.6;
}

.follow-panel-header {
  padding: 16px 18px 12px;
  background: linear-gradient(135deg, rgba(0, 121, 107, 0.14), rgba(255, 255, 255, 0.2));
  border-bottom: 1px solid rgba(212, 165, 116, 0.22);
}

.follow-panel-title {
  font-size: 18px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.2;
}

.follow-panel-subtitle {
  margin-top: 6px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 13px;
  line-height: 1.4;
}

.follow-qr-grid {
  padding: 14px 18px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
  overflow: hidden;
}

.follow-qr-item {
  border-radius: 12px;
  border: 1px solid rgba(212, 165, 116, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.follow-qr-name {
  font-weight: 800;
  color: rgba(0, 0, 0, 0.82);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.follow-qr-box {
  width: 100%;
  height: clamp(140px, 18vh, 190px);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 77, 64, 0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.follow-qr-box:empty {
  padding: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 2px, rgba(255, 255, 255, 0.0) 2px 6px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.035) 0 2px, rgba(255, 255, 255, 0.0) 2px 6px),
    rgba(255, 255, 255, 0.78);
  border: 1px dashed rgba(0, 77, 64, 0.22);
}

.follow-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.follow-qr-note {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.66);
  margin-top: 2px;
}

.member-panel-content[hidden] {
  display: none;
}

.member-panel-embed {
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(212, 165, 116, 0.28);
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.member-panel-embed .member-panel-tabs {
  padding: 8px 8px;
  flex-wrap: wrap;
}

.member-panel-embed .member-tab {
  padding: 8px 6px;
  font-size: 12px;
  flex: 1 1 calc(50% - 8px);
}

.member-panel-embed .member-panel-body {
  padding: 10px 12px 12px;
  flex: 1;
  overflow: auto;
}

@media (max-width: 768px) {
  .lanterns {
    top: 120px;
    left: 12px;
    gap: 12px;
  }

  .lanterns .lantern {
    width: 90px;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 77, 64, 1), rgba(0, 121, 107, 0.8));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2200;
}

.navbar-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 100px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  max-height: 90px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text-cn {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.logo-text-en {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-item-with-dropdown {
  position: relative;
}

.nav-item-with-dropdown > a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item-with-dropdown > a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 10px;
  margin-top: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 2300;
}

.nav-dropdown a {
  display: block;
  text-decoration: none;
  color: var(--text-dark);
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 14px;
}

.nav-dropdown a:hover {
  background: rgba(212, 165, 116, 0.25);
}

.nav-item-with-dropdown:hover .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.user-center {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-center:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page {
  width: 100%;
}

.page-container {
  width: 1200px;
  max-width: 92vw;
  margin: 0 auto;
  padding: 28px 0 60px;
}

.profile-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(212, 196, 176, 0.7);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.profile-cover {
  height: 120px;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.95), rgba(212, 165, 116, 0.95));
}

.profile-body {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 22px 24px 24px;
  align-items: center;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-top: -52px;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255, 255, 255, 0.6)),
    linear-gradient(135deg, rgba(0, 77, 64, 0.9), rgba(0, 121, 107, 0.85));
  border: 5px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.profile-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-title h1 {
  font-size: 26px;
  letter-spacing: 1px;
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 121, 107, 0.12);
  color: rgba(0, 77, 64, 1);
  font-weight: 800;
}

.profile-sub {
  color: var(--text-light);
  margin-top: 6px;
}

.profile-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 77, 64, 1), rgba(0, 121, 107, 0.9));
  box-shadow: 0 8px 18px rgba(0, 121, 107, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 12px 26px rgba(0, 121, 107, 0.22);
}

.btn-ghost {
  color: rgba(0, 77, 64, 1);
  background: rgba(0, 121, 107, 0.08);
}

.btn-ghost:hover {
  background: rgba(0, 121, 107, 0.12);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #b42318, #dc2626);
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.22);
}

.grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(212, 196, 176, 0.7);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(212, 165, 116, 0.28);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 {
  font-size: 16px;
  font-weight: 900;
}

.card-text {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

.card-link {
  margin-top: auto;
  text-decoration: none;
  color: rgba(0, 77, 64, 1);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link:hover {
  text-decoration: underline;
}

.wide {
  grid-column: span 4;
  min-height: 160px;
}

.settings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.setting-item {
  background: rgba(245, 230, 211, 0.6);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(212, 196, 176, 0.65);
}

.setting-label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.setting-value {
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-top: 6px;
  color: var(--text-dark);
}

.wide-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

#nav-center-link,
#nav-logout-link {
  display: none;
}

@media (max-width: 1100px) {
  .nav-center {
    display: none;
  }
  .navbar-container {
    padding: 0 18px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wide {
    grid-column: span 2;
  }
  .settings {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    padding-top: 90px;
  }
  .navbar-container {
    height: 90px;
  }
  .logo img {
    max-height: 70px;
  }
  .profile-body {
    grid-template-columns: 1fr;
  }
  .avatar {
    margin-top: -52px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: span 1;
  }

  .windchime {
    right: 8px;
    width: 220px;
    height: 680px;
    top: 96px;
  }
}
