/*
Theme Name: QiuFeng Portal
Template: twentytwentyfive
Version: 2.0.0
Description: A visual member-station front page inspired by the supplied reference.
*/

:root {
  --qf-dark: #171b24;
  --qf-ink: #2a2118;
  --qf-gold: #c18a2f;
  --qf-gold-deep: #84551e;
  --qf-cream: #f7f3ea;
  --qf-border: #d9cbb8;
  --qf-shadow: 0 12px 28px rgba(40, 26, 13, .16);
}

body.qf-reference-page { margin: 0; background: #eeeae3; color: var(--qf-ink); font-family: "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
body.qf-reference-page a { color: inherit; }
body.qf-reference-page *, body.qf-reference-page *::before, body.qf-reference-page *::after { box-sizing: border-box; }

.qf-reference { min-height: 100vh; padding-bottom: 48px; background: linear-gradient(180deg, #ece8e0 0, #f7f6f2 66%, #eeece7 100%); }
.qf-topbar { height: 72px; padding: 0 max(24px, calc((100% - 1140px) / 2)); display: flex; align-items: center; gap: 28px; color: #f7e5bd; background: linear-gradient(90deg, #090c12, #17141b 55%, #090b10); border-bottom: 1px solid rgba(214, 164, 78, .45); position: relative; z-index: 10; }
.qf-topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, transparent, #d49a36, transparent); opacity: .8; }
.qf-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; }
.qf-brand__seal { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid #e6bd6e; border-radius: 50%; color: #fff2c9; font-family: serif; font-weight: 700; line-height: 1.05; text-align: center; box-shadow: inset 0 0 0 2px rgba(79, 44, 14, .65); background: radial-gradient(circle, #cd9a37, #6b3511 75%); }
.qf-brand__name { font-family: Georgia, serif; font-size: 19px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.qf-brand__sub { display: block; margin-top: 3px; color: #bca878; font-size: 10px; letter-spacing: .12em; }
.qf-nav { display: flex; align-items: stretch; gap: 2px; height: 72px; margin-left: auto; overflow: hidden; }
.qf-nav a { min-width: 78px; padding: 0 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; color: #d5a75b; font-size: 13px; text-decoration: none; transition: background .2s, color .2s; }
.qf-nav a small { color: #8f6b34; font-size: 9px; text-transform: uppercase; }
.qf-nav a:hover, .qf-nav a.is-active { color: #fff4d3; background: linear-gradient(#8d5017, #a66419); }
.qf-nav a:hover small, .qf-nav a.is-active small { color: #ffe9ad; }

.qf-hero { min-height: 466px; position: relative; overflow: hidden; color: #fff; background: #2b2c32 center/cover no-repeat; isolation: isolate; }
.qf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 9, 14, .25), transparent 44%, rgba(5, 5, 8, .3)); }
.qf-hero__inner { width: min(1140px, calc(100% - 34px)); min-height: 466px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.qf-hero__copy { max-width: 650px; min-width: 0; padding: 46px 0 76px; text-shadow: 0 3px 15px rgba(0,0,0,.45); }
.qf-hero__kicker { margin: 0 0 15px; color: #f6cb73; font-size: 13px; font-weight: 700; letter-spacing: .24em; }
.qf-hero h1 { margin: 0; color: #fff4d7; font-family: Georgia, "STKaiti", serif; font-size: clamp(35px, 5.5vw, 68px); font-weight: 700; letter-spacing: .08em; line-height: 1.08; }
.qf-hero__copy p { max-width: 540px; margin: 17px 0 0; color: rgba(255, 245, 222, .85); font-size: 15px; line-height: 1.9; }
.qf-hero__buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.qf-btn { min-height: 38px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(240, 195, 107, .72); border-radius: 3px; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: filter .2s, transform .2s; }
.qf-btn:hover { filter: brightness(1.14); transform: translateY(-1px); }
.qf-btn--gold { color: #3a2108; background: linear-gradient(180deg, #f5d177, #bc7f22); box-shadow: 0 4px 13px rgba(0,0,0,.22); }
.qf-btn--dark { color: #f7d98c; background: rgba(19, 19, 22, .62); }
.qf-btn--muted { color: #867a6c; border-color: #cfc3b4; background: #eeeae4; cursor: default; }

.qf-ticker { position: absolute; left: 50%; bottom: 0; width: min(720px, calc(100% - 40px)); height: 32px; transform: translateX(-50%); overflow: hidden; display: flex; align-items: center; border: 1px solid rgba(255, 255, 255, .17); border-bottom: 0; background: rgba(17, 14, 17, .76); color: #f7dca0; font-size: 12px; white-space: nowrap; }
.qf-ticker__label { height: 100%; padding: 0 12px; display: inline-flex; align-items: center; flex: 0 0 auto; color: #1c1207; font-weight: 700; background: #dba648; }
.qf-ticker__track { min-width: max-content; padding-left: 22px; animation: qf-ticker 22s linear infinite; }
@keyframes qf-ticker { from { transform: translateX(0); } to { transform: translateX(-48%); } }

.qf-float { position: absolute; z-index: 5; top: 84px; width: 105px; display: flex; flex-direction: column; gap: 10px; }
.qf-float--left { left: max(12px, calc((100% - 1400px) / 2)); }
.qf-float--right { right: max(12px, calc((100% - 1400px) / 2)); }
.qf-float__image { width: 105px; display: block; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,.3); }
.qf-seal-art, .qf-customer-art { min-height: 105px; display: grid; place-items: center; color: #fff5d2; font-family: Georgia, serif; font-size: 19px; font-weight: 700; line-height: 1.1; text-align: center; text-shadow: 0 2px 5px rgba(0,0,0,.55); }
.qf-seal-art { border: 8px double #e1bb62; border-radius: 50%; background: radial-gradient(circle at 37% 30%, #fff1aa, #bb7726 30%, #542718 72%, #17131b 100%); }
.qf-customer-art { border: 1px solid #f0a4bd; background: radial-gradient(circle at 65% 24%, #ffd8df, transparent 20%), linear-gradient(135deg, #e57c9d, #68215d 72%); }
.qf-float__link { display: block; padding: 9px 5px; border: 1px solid rgba(248, 214, 141, .65); border-radius: 4px; color: #fff5d5 !important; background: rgba(40, 24, 15, .78); font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; }
.qf-float__link:hover { background: #9b5d1d; }
.qf-float__link--pink { color: #fff; border-color: #f0a2c1; background: linear-gradient(135deg, #ca417e, #5a1b54); }
.qf-float__link--purple { color: #fff; border-color: #ad9bff; background: linear-gradient(135deg, #5544af, #201449); }

.qf-member { position: absolute; z-index: 4; right: max(22px, calc((100% - 1140px) / 2)); bottom: 20px; width: 190px; padding: 14px; color: #3b2c1d; border: 1px solid rgba(255,255,255,.7); background: rgba(255, 253, 248, .96); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.qf-member__top { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #e5dbcc; }
.qf-member__avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-family: serif; font-size: 21px; background: linear-gradient(135deg, #e8ae53, #9a4b1b); }
.qf-member__name { font-size: 13px; font-weight: 700; }
.qf-member__muted { margin-top: 3px; color: #978a7c; font-size: 11px; }
.qf-member__stats { display: grid; grid-template-columns: 1fr 1fr; padding: 11px 0; text-align: center; }
.qf-member__stats b { display: block; margin-top: 4px; color: #271c14; font-size: 17px; }
.qf-member__stats span { color: #9a8b7a; font-size: 10px; }
.qf-member__actions { display: flex; gap: 8px; }
.qf-member__actions a, .qf-member__actions span { flex: 1; min-height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; font-size: 12px; font-weight: 700; text-decoration: none; }
.qf-member__login { color: #fff; background: #ef6c37; }
.qf-member__charge { color: #766b60; background: #eeeae3; cursor: default; }

.qf-content { position: relative; width: min(1140px, calc(100% - 34px)); margin: 0 auto; padding: 30px 0 50px; }
.qf-content::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background: url("assets/hero.svg") center top / cover no-repeat; pointer-events: none; }
.qf-filter { min-height: 52px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #e5dfd5; background: rgba(231, 225, 217, .92); }
.qf-filter__title { margin-right: 3px; font-family: Georgia, serif; font-size: 17px; font-weight: 700; white-space: nowrap; }
.qf-filter__switch { display: flex; gap: 5px; }
.qf-filter__tag { padding: 5px 10px; border: 1px solid #b5a693; border-radius: 16px; color: #5c4a38; background: #f6f1e9; font-size: 11px; white-space: nowrap; cursor: pointer; }
.qf-filter__tag.is-active, .qf-filter__tag:hover { color: #fff; border-color: #715027; background: #715027; }
.qf-search { width: 160px; height: 29px; margin-left: auto; padding: 0 12px; border: 1px solid #b9aa98; border-radius: 16px; color: #574a3b; outline: 0; background: #f9f6f0; font-size: 11px; }

.qf-section { margin-top: 24px; }
.qf-section__heading { display: flex; align-items: baseline; gap: 11px; margin: 0 0 10px 7px; font-family: Georgia, "STKaiti", serif; }
.qf-section__heading h2 { margin: 0; color: #3c2b1b; font-size: 30px; letter-spacing: .03em; }
.qf-section__heading span { color: #b8a58e; font-family: Georgia, serif; font-size: 16px; }
.qf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.qf-card { overflow: hidden; border: 1px solid #dfd4c7; background: #fffdfa; box-shadow: 0 5px 14px rgba(58, 38, 18, .08); transition: transform .2s, box-shadow .2s; }
.qf-card:hover { transform: translateY(-3px); box-shadow: 0 12px 23px rgba(58, 38, 18, .16); }
.qf-card__cover { height: 124px; position: relative; overflow: hidden; background: #3d362e center/cover no-repeat; }
.qf-card__cover::after { content: "精品服"; position: absolute; left: -26px; top: 11px; width: 100px; padding: 3px 0; transform: rotate(-45deg); color: #3b2407; background: #e6b63e; font-size: 10px; font-weight: 700; text-align: center; }
.qf-card__body { padding: 10px 11px 12px; }
.qf-card__title { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.qf-card h3 { margin: 0; color: #332318; font-size: 15px; }
.qf-card__state { color: #84652b; font-size: 10px; white-space: nowrap; }
.qf-card__meta { min-height: 34px; margin: 6px 0 9px; color: #756759; font-size: 11px; line-height: 1.55; }
.qf-card__buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.qf-card__buttons a, .qf-card__buttons span { min-height: 27px; display: flex; align-items: center; justify-content: center; border: 1px solid #aa8b60; color: #5d3f20; background: #f6f0e7; font-size: 10px; font-weight: 700; text-decoration: none; }
.qf-card__buttons a:hover { color: #fff; background: #8e5b23; }
.qf-card__buttons .is-disabled { border-color: #d3c9bc; color: #a69a8e; background: #f1eee9; cursor: default; }

.qf-bottom-bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; min-height: 31px; padding: 7px 16px; color: #fff7de; background: rgba(26, 27, 30, .83); font-size: 11px; text-align: center; }
.qf-fab { position: fixed; z-index: 21; right: 20px; bottom: 50px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #5574f4; box-shadow: 0 5px 14px rgba(31, 47, 120, .3); font-size: 18px; cursor: pointer; }

@media (max-width: 1000px) {
  .qf-topbar { gap: 12px; }
  .qf-nav a { min-width: 63px; padding: 0 5px; font-size: 11px; }
  .qf-nav a small { font-size: 8px; }
  .qf-float { display: none; }
  .qf-member { right: 18px; }
  .qf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .qf-topbar { height: auto; min-height: 65px; padding: 10px 13px; }
  .qf-brand__name { font-size: 16px; }
  .qf-nav { display: none; }
  .qf-hero, .qf-hero__inner { min-height: 650px; }
  .qf-hero__inner { width: calc(100% - 26px); align-items: flex-start; }
  .qf-hero__copy { width: 100%; padding-top: 38px; padding-bottom: 290px; }
  .qf-hero__copy p { width: min(330px, 100%) !important; max-width: 330px !important; font-size: 13px; white-space: normal !important; overflow-wrap: anywhere; word-break: break-all; }
  .qf-hero h1 { font-size: 40px; }
  .qf-member { left: 13px; right: 13px; bottom: 50px; width: auto; }
  .qf-ticker { width: calc(100% - 26px); }
  .qf-filter { align-items: flex-start; flex-wrap: wrap; padding: 11px; }
  .qf-search { width: 100%; margin-left: 0; }
  .qf-content { width: calc(100% - 26px); padding-top: 20px; }
  .qf-grid { grid-template-columns: 1fr; }
  .qf-section__heading h2 { font-size: 26px; }
}
