/* 美粉圈 V3 — 现代编辑式家庭俱乐部视觉系统 */
:root {
  --v3-yellow: #ffcf31;
  --v3-ink: #22231f;
  --v3-paper: #fff;
  --v3-muted: #797a73;
  --v3-border: #e9e8e0;
  --v3-bg: #f7f7f3;
}
.workspace main {
  max-width: 1470px;
  margin: auto;
}
.page-heading {
  margin-bottom: 25px;
}
.page-heading h1 {
  letter-spacing: -0.8px;
}
.sidebar {
  background: #fff;
}
.sidebar .side-nav {
  overflow-y: auto;
  max-height: calc(100vh - 314px);
  scrollbar-width: thin;
}
.nav-item {
  min-height: 38px;
}
.sidebar .nav-label {
  font-size: 11px;
}
.side-club {
  padding-bottom: 13px;
}
.side-club strong {
  font-size: 26px;
}
.side-nav {
  gap: 1px;
}
.v3-eyebrow {
  font-size: 11px;
  letter-spacing: 2.1px;
  font-weight: 850;
  color: #c28e0d;
}
.v3-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.65fr);
  gap: 20px;
  min-height: 295px;
  overflow: hidden;
  border: 1px solid #eee4ce;
  border-radius: 26px;
  margin: 8px 0 26px;
  padding: 43px clamp(25px, 4vw, 54px);
  background: linear-gradient(108deg, #fff6da 0%, #fffaf0 63%, #fff 100%);
}
.v3-hero-parent {
  min-height: 360px;
}
.v3-hero-compact {
  min-height: 260px;
}
.v3-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 710px;
}
.v3-hero h1 {
  font-size: clamp(27px, 3.3vw, 45px);
  letter-spacing: -1.2px;
  line-height: 1.25;
  margin: 18px 0 9px;
  font-weight: 900;
  color: #25231f;
}
.v3-hero-lead {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 650;
  color: #444037;
  line-height: 1.6;
  margin: 0;
}
.v3-hero-sub {
  font-size: 13px;
  color: #7c7467;
  line-height: 1.85;
  margin: 12px 0 20px;
  max-width: 535px;
}
.v3-hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 285px;
  min-width: 0;
}
.v3-hero-art img {
  width: 100%;
  max-width: 230px;
  height: 260px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.v3-hero-compact .v3-hero-art img {
  max-height: 195px;
}
.v3-hero-art .v3-img-empty {
  min-height: 80px;
}
.v3-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.v3-kpis-parent {
  grid-template-columns: repeat(3, 1fr);
}
.v3-kpi {
  background: white;
  border: 1px solid var(--v3-border);
  border-radius: 16px;
  padding: 20px 21px;
  min-height: 104px;
}
.v3-kpi small {
  display: block;
  color: #8c8b84;
  font-size: 11px;
  font-weight: 600;
}
.v3-kpi strong {
  display: inline-block;
  font-size: 30px;
  margin-top: 9px;
  letter-spacing: -1px;
}
.v3-kpi span {
  margin-left: 5px;
  color: #999;
  font-size: 11px;
}
.v3-dash-hero {
  border-radius: 23px;
  background: linear-gradient(100deg, #252721, #3f3c29);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 27px 38px;
  color: white;
  margin: 8px 0 20px;
  min-height: 176px;
}
.v3-dash-hero h2 {
  font-size: 26px;
  line-height: 1.4;
  margin: 8px 0;
}
.v3-dash-hero p {
  color: #d2d1bf;
  margin: 5px 0;
  font-size: 13px;
}
.v3-dash-hero span {
  font-size: 11px;
  color: #ecd37d;
}
.v3-dash-hero img {
  height: 150px;
  object-fit: contain;
}
.v3-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 13px 0 25px;
}
.v3-admin-grid-sm {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.v3-work-tile {
  border: 1px solid var(--v3-border);
  background: white;
  border-radius: 16px;
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px;
  text-align: left;
  cursor: pointer;
  gap: 9px;
  transition:
    transform 0.16s,
    box-shadow 0.16s,
    border-color 0.16s;
  color: var(--v3-ink);
}
.v3-work-tile:hover {
  transform: translateY(-2px);
  border-color: #e8c66a;
  box-shadow: 0 12px 30px #332e1815;
}
.v3-tile-icon {
  font-size: 25px;
  display: block;
  height: 32px;
  color: #be901d;
}
.v3-work-tile b {
  font-size: 16px;
}
.v3-work-tile small {
  font-size: 11px;
  line-height: 1.6;
  color: var(--v3-muted);
}
.v3-tile-more {
  margin-top: auto;
  font-size: 11px;
  font-weight: 750;
  color: #9f7c21;
}
.v3-wallet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #fff;
  border: 1px solid var(--v3-border);
  padding: 18px 24px;
  border-radius: 17px;
  margin: 20px 0 26px;
}
.v3-wallet > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 4px 11px;
  border-right: 1px solid #eeede9;
}
.v3-wallet > div:last-child {
  border: 0;
}
.v3-wallet small {
  font-size: 11px;
  color: #8a887f;
}
.v3-wallet b {
  font-size: 22px;
}
.v3-wallet em {
  font-style: normal;
  font-size: 13px;
  color: #8c8b83;
}
.v3-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e3e2dc;
  margin-top: 25px;
  margin-bottom: 22px;
}
.v3-tabs button {
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 750;
  padding: 12px 21px;
  color: #898780;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.v3-tabs button.active {
  color: #282720;
  border-bottom-color: #ffce27;
}
.v3-caption {
  font-size: 13px;
  line-height: 1.7;
  color: #87857f;
  margin: -3px 0 19px;
}
.v3-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 15px 0 33px;
}
.v3-product,
.v3-event-card {
  background: #fff;
  border: 1px solid #eae8e2;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 7px 15px #201e1408;
}
.v3-product-cover,
.v3-event-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #fff9ec;
}
.v3-product-body {
  padding: 20px 20px 21px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.v3-product-overline {
  font-size: 11px;
  color: #b68b23;
  letter-spacing: 0.25px;
  font-weight: 750;
}
.v3-product h3,
.v3-event-card h3 {
  font-size: 19px;
  margin: 9px 0 7px;
  line-height: 1.4;
}
.v3-product p,
.v3-event-card p {
  font-size: 12px;
  line-height: 1.76;
  color: #77776f;
  margin: 0 0 12px;
}
.v3-product-detail {
  border-top: 1px solid #f0eee7;
  margin: 3px 0 14px !important;
  padding-top: 11px;
  flex: 1;
}
.v3-product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid #eeece6;
  padding-top: 15px;
}
.v3-product-footer small,
.v3-product-footer span {
  font-size: 11px;
  color: #8d8c82;
  max-width: 170px;
  line-height: 1.6;
}
.v3-product-footer .btn {
  white-space: normal;
  min-height: 37px;
  padding: 10px 14px;
}
.v3-locked {
  opacity: 0.75;
}
.v3-cost {
  font-size: 25px;
  color: #d49412;
}
.v3-cost small {
  font-size: 11px;
  font-weight: 500;
}
.v3-applied {
  border-radius: 8px;
  background: #fff5da;
  font-size: 11px;
  padding: 8px 10px;
  margin-top: 10px;
  color: #9a791c;
}
.v3-img-empty {
  height: 190px;
  background: linear-gradient(130deg, #fff7df, #f5eacb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #be9c4b;
  letter-spacing: 1.3px;
  font-weight: 750;
  font-size: 14px;
}
.v3-table-card {
  background: white;
  border: 1px solid var(--v3-border);
  border-radius: 15px;
  overflow-x: auto;
}
.v3-tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 30px;
  background: #f4f2e9;
  color: #766947;
  font-size: 11px;
  white-space: nowrap;
}
.v3-soft-box {
  padding: 17px 22px;
  background: #fdf7e6;
  border-radius: 13px;
  color: #88754b;
  font-size: 12px;
  margin: 20px 0;
  line-height: 1.8;
}
.v3-favorites {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}
.v3-level-id {
  background: #2c2b25;
  color: white;
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.v3-level-id b {
  font-size: 29px;
  margin: 16px 0 5px;
}
.v3-level-id p {
  font-size: 13px;
  color: #c6c3b9;
  margin: 0 0 20px;
}
.v3-level-id > span:not(.v3-eyebrow) {
  font-size: 11px;
  color: #dfd1a3;
  margin-bottom: 14px;
}
.v3-level-id .btn {
  margin-top: auto;
}
.v3-feature {
  background: #fff;
  border: 1px solid var(--v3-border);
  border-radius: 18px;
  overflow: hidden;
}
.v3-feature-image {
  width: 100%;
  height: 155px;
  object-fit: cover;
}
.v3-feature > div {
  padding: 17px;
}
.v3-feature small {
  font-size: 10px;
  color: #bb922d;
}
.v3-feature h3 {
  margin: 5px 0 8px;
  font-size: 16px;
}
.v3-feature p {
  margin: 0 0 10px;
  font-size: 12px;
  color: #777;
}
.v3-text-link {
  border: 0;
  background: none;
  padding: 0;
  color: #ad8420;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.v3-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 15px 0 30px;
}
.v3-shortcut {
  padding: 22px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--v3-border);
  display: flex;
  gap: 7px;
  flex-direction: column;
  text-align: left;
  color: #222;
  cursor: pointer;
}
.v3-shortcut > span {
  font-size: 29px;
  color: #b99127;
}
.v3-shortcut b {
  font-size: 16px;
}
.v3-shortcut small {
  font-size: 12px;
  color: #8e8c85;
}
.v3-shortcut i {
  font-style: normal;
  text-align: right;
  font-size: 18px;
  color: #b9932c;
}
.v3-event-small {
  border: 1px solid var(--v3-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.v3-event-small > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.v3-event-small > div {
  padding: 20px;
}
.v3-event-small small {
  color: #a38432;
}
.v3-event-small h3 {
  margin: 9px 0;
}
.v3-event-small p {
  font-size: 13px;
  color: #89847d;
}
.v3-passport-cover {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 380px;
  background: #fffefb;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #dfd8c6;
  box-shadow: 0 17px 36px #2c281508;
  margin: 13px 0 31px;
}
.v3-passport-left {
  padding: clamp(25px, 3.4vw, 47px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.v3-passport-label {
  font-size: 12px;
  color: #b89133;
  font-weight: 800;
  margin-top: 25px;
}
.v3-passport-left h2 {
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.28;
  letter-spacing: -1.5px;
  margin: 10px 0;
}
.v3-passport-left p {
  color: #77705e;
  font-size: 16px;
  line-height: 1.65;
  max-width: 520px;
}
.v3-passport-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.v3-passport-meta span {
  border: 1px solid #eae1c7;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}
.v3-passport-caption {
  font-size: 12px;
  color: #9b927b;
  line-height: 1.7;
}
.v3-passport-right {
  position: relative;
  background: linear-gradient(160deg, #fff4c6, #fffaf0);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed #d7c9a4;
}
.v3-passport-illustration {
  width: min(75%, 220px);
  max-height: 285px;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px #63552d26);
}
.v3-passport-seal {
  position: absolute;
  z-index: 1;
  top: 21px;
  right: 22px;
  border: 2px solid #cba958;
  color: #b68e36;
  border-radius: 50%;
  height: 76px;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}
.v3-passport-seal span {
  font-size: 19px;
}
.v3-passport-seal small {
  font-size: 8px;
  letter-spacing: 1.3px;
}
.v3-passport-stamp {
  position: absolute;
  bottom: 26px;
  left: 28px;
  transform: rotate(-8deg);
  color: #c39e5e;
  opacity: 0.65;
  border: 2px solid #c39e5e;
  padding: 10px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 900;
}
.v3-timeline {
  border-left: 2px solid #eadcc0;
  margin: 20px 0 25px 14px;
  padding-left: 32px;
}
.v3-memory {
  position: relative;
  background: #fff;
  border: 1px solid #efede4;
  border-radius: 15px;
  margin-bottom: 13px;
  padding: 21px;
}
.v3-memory-dot {
  position: absolute;
  left: -43px;
  top: 26px;
  width: 17px;
  height: 17px;
  background: #ffca36;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #e6d09f;
}
.v3-memory-date {
  font-size: 11px;
  color: #b69441;
}
.v3-memory-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.v3-memory h3 {
  font-size: 17px;
  margin: 10px 0;
}
.v3-memory p {
  color: #78776e;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.v3-memory-image {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
}
.v3-memory-symbol {
  font-size: 40px;
  color: #d0ad4d;
}
.v3-event-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 14px;
}
.v3-event-meta span {
  font-size: 11px;
  background: #f6f5ef;
  border-radius: 6px;
  padding: 5px 8px;
  color: #756e5e;
}
.v3-event-detail {
  white-space: pre-wrap;
}
.v3-community-top {
  background: #fff;
  border: 1px solid #ebe8df;
  padding: 24px 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
  gap: 15px;
  margin-bottom: 19px;
}
.v3-community-top h2 {
  font-size: 22px;
  margin: 7px 0;
}
.v3-community-top p {
  margin: 0;
  color: #86837b;
  font-size: 12px;
  line-height: 1.8;
}
.v3-forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 19px;
}
.v3-forum-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}
.v3-forum-tabs button {
  font-size: 12px;
  border: 1px solid #e9e7df;
  background: #fff;
  padding: 10px 12px;
  border-radius: 9px;
  cursor: pointer;
}
.v3-forum-tabs button.active {
  background: #232520;
  color: white;
  border-color: #232520;
}
.v3-thread {
  background: #fff;
  padding: 23px;
  border: 1px solid var(--v3-border);
  border-radius: 16px;
  margin-bottom: 13px;
}
.v3-thread-top {
  display: flex;
  align-items: center;
  gap: 9px;
}
.v3-avatar {
  background: #ffda6c;
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}
.v3-thread-top > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-right: auto;
}
.v3-thread-top b {
  font-size: 12px;
}
.v3-thread-top small {
  font-size: 10px;
  color: #aaa;
}
.v3-small-pill {
  font-size: 10px;
  border-radius: 18px;
  background: #f3f1e8;
  padding: 5px 8px;
  color: #8c784b;
}
.v3-pinned {
  color: #c69113;
  font-size: 10px;
}
.v3-thread h3 {
  font-size: 18px;
  margin: 19px 0 8px;
}
.v3-thread > p {
  font-size: 13px;
  line-height: 1.8;
  color: #6f6e67;
  white-space: pre-wrap;
}
.v3-thread-image {
  max-width: 95%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 11px;
}
.v3-thread-actions {
  display: flex;
  gap: 17px;
  border-top: 1px solid #efeee8;
  margin-top: 17px;
  padding-top: 14px;
}
.v3-thread-actions button {
  border: 0;
  background: none;
  color: #948c78;
  font-size: 12px;
  cursor: pointer;
}
.v3-thread-actions button:hover {
  color: #b78418;
}
.v3-comments {
  background: #faf9f4;
  border-radius: 11px;
  padding: 13px 16px;
  margin-top: 11px;
}
.v3-comment {
  border-bottom: 1px solid #eae6dd;
  padding: 9px 0;
}
.v3-comment:last-child {
  border: 0;
}
.v3-comment b {
  font-size: 12px;
}
.v3-comment p {
  font-size: 12px;
  line-height: 1.7;
  color: #56554f;
}
.v3-comment small {
  font-size: 10px;
  color: #999;
}
.v3-comment-empty {
  color: #9b9991;
  font-size: 12px;
}
.v3-forum-aside {
  background: #fff7e2;
  border: 1px solid #f4e5bd;
  border-radius: 17px;
  padding: 25px;
  align-self: start;
  min-height: 360px;
}
.v3-forum-aside h3 {
  font-size: 21px;
  line-height: 1.5;
}
.v3-forum-aside p {
  font-size: 12px;
  line-height: 1.8;
  color: #7b715b;
}
.v3-forum-rule {
  font-size: 12px;
  line-height: 2.1;
  border-top: 1px solid #e4d8ba;
  padding-top: 15px;
  color: #8b7953;
}
.v3-forum-aside img {
  width: 110px;
  height: 125px;
  object-fit: contain;
  display: block;
  margin: 10px auto 0;
}
.v3-task-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 25px 36px;
  border: 1px solid #e9e1c8;
  background: #fff7db;
  border-radius: 18px;
  margin-bottom: 21px;
  overflow: hidden;
}
.v3-task-banner h2 {
  font-size: 25px;
  margin: 11px 0;
}
.v3-task-banner p {
  font-size: 12px;
  color: #84765b;
}
.v3-task-banner img {
  height: 127px;
  max-width: 115px;
  object-fit: contain;
}
.v3-task-script {
  background: #fcf8ea;
  border-radius: 9px;
  padding: 11px 14px;
  margin-bottom: 15px;
}
.v3-task-script span {
  font-size: 10px;
  font-weight: 850;
  color: #bd9431;
}
.v3-task-script p {
  margin: 5px 0 !important;
  white-space: pre-wrap;
}
.v3-zero {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 33px;
  grid-column: 1/-1;
  color: #8c8880;
  text-align: center;
}
.v3-zero img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.v3-zero b {
  font-size: 17px;
  color: #5b5547;
}
.v3-zero span {
  font-size: 12px;
}
.v3-admin-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 20px 0 28px;
}
.v3-admin-row {
  background: #fff;
  border: 1px solid var(--v3-border);
  padding: 13px 17px;
  border-radius: 13px;
  display: flex;
  gap: 19px;
  align-items: center;
  min-width: 0;
}
.v3-admin-thumb {
  flex: 0 0 120px;
  width: 120px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  background: #f8f4e9;
}
.v3-admin-row > .v3-img-empty {
  flex: 0 0 120px;
  width: 120px;
  height: 84px;
  border-radius: 10px;
  font-size: 9px;
}
.v3-admin-row > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.v3-admin-row h3 {
  font-size: 15px;
  margin: 5px 0;
}
.v3-admin-row small {
  font-size: 11px;
  color: #ab862a;
}
.v3-admin-row p {
  font-size: 12px;
  line-height: 1.55;
  color: #86827b;
  margin: 0 0 4px;
  max-width: 780px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.v3-admin-icon {
  flex: 0 0 67px;
  height: 67px;
  display: grid;
  place-items: center;
  background: #fff6de;
  border-radius: 12px;
  color: #bd8b10;
  font-size: 27px;
}
.v3-admin-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: stretch;
}
.v3-admin-actions .btn {
  padding: 8px;
  min-height: 30px;
}
.v3-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.v3-media {
  background: #fff;
  padding: 11px;
  border-radius: 14px;
  border: 1px solid var(--v3-border);
}
.v3-media img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}
.v3-media small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #777;
  margin: 10px 0;
  font-size: 11px;
}
.v3-editor .v3-editor-head {
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 14px;
}
.v3-editor .v3-editor-head h2 {
  font-size: 25px;
  margin: 8px 0;
}
.v3-editor .v3-editor-head p {
  font-size: 12px;
  color: #89877f;
  line-height: 1.6;
}
.v3-editor input,
.v3-editor select,
.v3-editor textarea {
  width: 100%;
  font-size: 13px;
}
.v3-editor .v3-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-weight: 500;
}
.v3-editor .v3-check input {
  width: auto;
}
.v3-editor label {
  font-size: 12px;
  color: #62635d;
  line-height: 1.7;
}
.v3-editor .form-actions {
  position: sticky;
  bottom: -30px;
  padding: 15px 0;
  background: #fff;
}
.v3-editor .v3-form-hint {
  line-height: 1.7;
  color: #988a69;
  font-size: 11px;
}
.v3-editor .v3-image-input {
  border: 1px dashed #e0d8bd;
  border-radius: 13px;
  padding: 13px 15px;
  margin: 14px 0;
  background: #fffdf6;
}
.v3-input-preview {
  max-width: 100%;
  display: block;
  margin: 6px 0 13px;
  overflow: hidden;
  border-radius: 9px;
}
.v3-input-preview > img {
  display: block;
  width: 100%;
  max-height: 174px;
  object-fit: contain;
  background: #f7f6f2;
}
.v3-input-preview .v3-img-empty {
  height: 95px;
  font-size: 12px;
}
.v3-image-input input[type="file"] {
  font-size: 11px;
  background: #fff;
  border: 1px solid #e8e4d6;
  border-radius: 8px;
  padding: 8px;
}
.modal:has(.v3-editor) {
  max-height: min(92vh, 1000px);
  overflow: auto;
  width: min(96vw, 790px);
}
@media (max-width: 1200px) {
  .v3-admin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .v3-kpis {
    grid-template-columns: repeat(3, 1fr);
  }
  .v3-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v3-favorites {
    grid-template-columns: 1fr 1fr;
  }
  .v3-level-id {
    grid-column: 1/-1;
  }
  .v3-media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 850px) {
  .v3-forum-layout {
    grid-template-columns: 1fr;
  }
  .v3-forum-aside {
    display: none;
  }
  .v3-passport-cover {
    grid-template-columns: 1.35fr 0.65fr;
  }
  .v3-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v3-hero {
    padding: 28px 25px;
    min-height: 260px;
  }
  .v3-hero-art img {
    height: 180px;
  }
  .v3-favorites {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .v3-hero {
    grid-template-columns: 1fr 95px;
    padding: 26px 19px;
    min-height: 230px;
    gap: 2px;
  }
  .v3-hero h1 {
    font-size: 26px;
    max-width: 260px;
  }
  .v3-hero-lead {
    font-size: 14px;
  }
  .v3-hero-sub {
    font-size: 11px;
    line-height: 1.6;
  }
  .v3-hero-art {
    align-self: end;
  }
  .v3-hero-art img {
    height: 120px;
    width: 120px;
    max-width: 120px;
    object-position: center bottom;
  }
  .v3-hero .btn {
    font-size: 11px;
    padding: 10px 12px;
  }
  .v3-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .v3-kpis-parent {
    grid-template-columns: repeat(3, 1fr);
  }
  .v3-kpi {
    padding: 14px;
    min-height: 85px;
  }
  .v3-kpi strong {
    font-size: 24px;
  }
  .v3-admin-grid,
  .v3-card-grid,
  .v3-favorites,
  .v3-link-grid {
    grid-template-columns: 1fr;
  }
  .v3-admin-grid-sm {
    grid-template-columns: repeat(2, 1fr);
  }
  .v3-work-tile {
    min-height: 130px;
  }
  .v3-wallet {
    padding: 12px;
    gap: 0;
  }
  .v3-wallet > div {
    padding: 3px 7px;
  }
  .v3-wallet b {
    font-size: 15px;
  }
  .v3-tabs button {
    font-size: 12px;
    padding: 11px 10px;
  }
  .v3-passport-cover {
    grid-template-columns: 1fr;
  }
  .v3-passport-right {
    min-height: 195px;
    order: -1;
    border-left: 0;
    border-bottom: 1px dashed #d7c9a4;
  }
  .v3-passport-illustration {
    height: 167px;
    max-width: 150px;
  }
  .v3-passport-stamp {
    bottom: 8px;
  }
  .v3-passport-left {
    padding: 22px;
  }
  .v3-passport-meta {
    margin: 18px 0;
  }
  .v3-community-top {
    flex-wrap: wrap;
    padding: 17px;
  }
  .v3-admin-row {
    align-items: flex-start;
    gap: 10px;
    padding: 11px;
  }
  .v3-admin-row h3 {
    font-size: 13px;
  }
  .v3-admin-row .v3-admin-thumb,
  .v3-admin-row > .v3-img-empty {
    width: 73px;
    height: 70px;
    flex-basis: 73px;
  }
  .v3-admin-row .btn {
    padding: 8px;
    font-size: 10px;
  }
  .v3-admin-row > div:nth-child(2) {
    max-width: 100%;
    overflow: hidden;
  }
  .v3-admin-row .v3-admin-actions {
    align-self: flex-end;
  }
  .v3-admin-row:has(.v3-admin-actions) {
    flex-wrap: wrap;
  }
  .v3-admin-row:has(.v3-admin-actions) .v3-admin-actions {
    flex-direction: row;
    width: 100%;
  }
  .v3-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v3-dash-hero {
    padding: 20px;
  }
  .v3-dash-hero h2 {
    font-size: 20px;
  }
  .v3-dash-hero img {
    height: 100px;
  }
  .v3-event-small > img {
    height: 120px;
  }
  .v3-product-cover,
  .v3-event-cover {
    height: 175px;
  }
  .v3-task-banner {
    padding: 18px;
  }
  .v3-task-banner h2 {
    font-size: 19px;
  }
  .v3-task-banner img {
    height: 90px;
  }
  .v3-thread {
    padding: 15px;
  }
  .v3-thread-top {
    flex-wrap: wrap;
  }
}

.v3-gallery-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding: 8px;
  margin: 9px 0;
  border: 1px solid #eee7d8;
  border-radius: 11px;
  background: #fff;
}
.v3-gallery-picker button {
  border: 1px solid #e4e1d7;
  background: #fff;
  border-radius: 8px;
  padding: 3px;
  cursor: pointer;
}
.v3-gallery-picker img {
  width: 100%;
  height: 66px;
  object-fit: cover;
  border-radius: 4px;
}
.v3-gallery-picker p {
  grid-column: 1/-1;
  font-size: 12px;
  color: #888;
}
