/* =========================================================
   游界主题 · 浅色
   ========================================================= */
:root {
	--bg: #FFFFFF;
	--surface: #FFFFFF;
	--surface-2: #F6F6F7;
	--surface-3: #EFEFF1;
	--line: #EBEBEE;
	--line-2: #D9D9DE;
	--text: #1A1A1F;
	--text-2: #3F3F46;
	--muted: #6B6B76;
	--accent: #EB0119;
	--accent-ink: #FFFFFF;
	--accent-text: #D10016;
	--accent-soft: #FFF0F1;
	--orange: #FFB700;
	--orange-ink: #2A1B00;
	--orange-text: #9A5B00;
	--orange-soft: #FFF6DD;
	--violet: #1F1F26;
	--violet-text: #1F1F26;
	--violet-soft: #F6F6F7;
	--blue-text: #1D5E99;
	--blue-soft: #E6F1FB;
	--danger: #C62828;
	--danger-soft: #FDECEC;
	--ok: #2E7D32;
	--ok-soft: #E8F5E9;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(26, 26, 31, .04), 0 6px 20px rgba(26, 26, 31, .06);
	--font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-num: "DIN Alternate", "Bahnschrift", "Roboto Condensed", "Segoe UI", var(--font);
	--wrap: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: #A8000E; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid #EB0119; outline-offset: 2px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.yj-i { flex: none; vertical-align: middle; }
.yj-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.yj-muted { color: var(--muted); }
.yj-num { font-family: var(--font-num); }

/* ---------- 按钮 ---------- */
.yj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; background: var(--surface); color: var(--text); font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.yj-btn--primary { background: var(--accent); color: var(--accent-ink); }
.yj-btn--primary:hover { background: #C9000F; color: var(--accent-ink); }
.yj-btn--orange { background: var(--orange); color: var(--orange-ink); }
.yj-btn--orange:hover { background: #F0A800; color: var(--orange-ink); }
.yj-btn--ghost { border-color: var(--line-2); color: var(--text); font-weight: 500; }
.yj-btn--ghost:hover { border-color: #B5B5BD; color: var(--text); }
.yj-btn--danger { border-color: #F2B8B8; color: var(--danger); font-weight: 500; background: var(--surface); }
.yj-btn--danger:hover { background: var(--danger-soft); color: var(--danger); }
.yj-btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.yj-btn--block { width: 100%; }
.yj-btn[disabled] { opacity: .5; cursor: not-allowed; }
.yj-iconbtn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 0; background: none; color: var(--text-2); }
.yj-iconbtn:hover { background: var(--surface-3); color: var(--text); }
.yj-iconbtn--app { color: var(--accent-text); background: #FFF1F3; border: 1px solid rgba(235,1,25,.16); }
.yj-iconbtn--app:hover { background: #FFE3E7; color: var(--accent-text); }

/* ---------- 头部 ---------- */
.yj-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .yj-header { top: 32px; }
.yj-header__in { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 12px 28px; }
.yj-logo { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.yj-logo:hover { color: var(--text); }
.yj-logo__img { max-height: 40px; width: auto; }
.yj-logo__pic { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.yj-logo__mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-num); font-weight: 700; font-size: 18px; }
.yj-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.yj-logo__name { font-weight: 900; font-size: 20px; letter-spacing: 1px; }
.yj-logo__sub { font-family: var(--font-num); font-size: 10px; color: var(--muted); letter-spacing: 2px; }
.yj-nav { flex: 1 1 auto; min-width: 0; }
.yj-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; }
.yj-menu > li { position: relative; }
.yj-menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; color: var(--text-2); }
.yj-menu > li > a:hover, .yj-menu > li.is-current > a, .yj-menu > li.current-menu-item > a, .yj-menu > li.current-menu-ancestor > a { color: var(--accent-text); }
.yj-menu > li.is-current > a, .yj-menu > li.current-menu-item > a { font-weight: 700; }
.yj-menu > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 4px; }
.yj-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: -16px; width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(23,26,33,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 60; }
.yj-menu > li:hover > .sub-menu, .yj-menu > li:focus-within > .sub-menu, .yj-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.yj-menu .sub-menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.yj-menu .sub-menu a:hover { background: var(--surface-2); }
.yj-menu .sub-menu small { font-size: 12px; color: var(--muted); }
.yj-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.yj-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-size: 14px; white-space: nowrap; }
.yj-pill:hover { color: var(--text); border-color: #B5B5BD; }
.yj-pill--vip { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); font-weight: 700; }
.yj-pill--vip:hover { color: var(--orange-ink); background: #F0A800; }
.yj-pill--app { background: var(--text); border-color: var(--text); color: #fff; font-weight: 700; }
.yj-pill--app:hover { background: #33333C; border-color: #33333C; color: #fff; }
.yj-menu-toggle { display: none; }
.yj-search-pop { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 24px; display: none; box-shadow: 0 12px 24px rgba(23,26,33,.06); }
.yj-search-pop.is-open { display: block; }
.yj-search-pop form { max-width: 720px; margin: 0 auto; display: flex; gap: 8px; }

/* 用户菜单 */
.yj-usermenu { position: relative; }
.yj-usermenu__btn { border: 2px solid var(--violet); padding: 0; border-radius: 50%; background: none; display: flex; }
.yj-usermenu__panel { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(23,26,33,.14); padding: 8px; display: none; z-index: 70; }
.yj-usermenu.is-open .yj-usermenu__panel { display: block; }
.yj-usermenu__head { display: flex; gap: 12px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.yj-usermenu__name { font-weight: 700; }
.yj-usermenu__mail { font-size: 12px; color: var(--muted); word-break: break-all; }
.yj-usermenu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.yj-usermenu a:hover { background: var(--surface-2); }
.yj-usermenu a.is-logout { color: var(--danger); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; }

.yj-avatar { border-radius: 50%; object-fit: cover; flex: none; }
.yj-avatar--text { display: inline-flex; align-items: center; justify-content: center; background: #BFC4CE; color: #fff; font-weight: 700; }
.yj-lv { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 6px; vertical-align: middle; line-height: 1.5; }
.yj-lv--vip { background: var(--orange); color: var(--orange-ink); }
.yj-lv--svip { background: #1F1F26; color: #FFC93C; }

/* ---------- 主体 ---------- */
.yj-main { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 72px; display: flex; flex-direction: column; gap: 56px; }
.yj-main--tight { gap: 28px; }
.yj-section { display: flex; flex-direction: column; gap: 20px; }
.yj-main > .yj-section + .yj-section { padding-top: 8px; }
.yj-section__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.yj-h2 { font-size: 26px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.yj-h2::before { content: ""; width: 10px; height: 26px; border-radius: 3px; background: var(--accent); }
.yj-h2--orange::before { background: var(--orange); }
.yj-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.yj-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.yj-box--pad { padding: 24px; }
.yj-alert { padding: 12px 16px; border-radius: 12px; font-size: 14px; border: 1px solid; }
.yj-alert--success { background: var(--ok-soft); border-color: #B9DFBB; color: var(--ok); }
.yj-alert--error { background: var(--danger-soft); border-color: #F2B8B8; color: var(--danger); }
.yj-alert--info { background: var(--blue-soft); border-color: #BFDCF5; color: var(--blue-text); }
.yj-alert--warn { background: #FFF7E0; border-color: #F1DB9C; color: #7A5800; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- 首页 Hero ---------- */
.yj-hero { display: flex; flex-wrap: wrap; gap: 20px; }
.yj-slider { flex: 999 1 600px; min-width: 0; position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: #2A2A31; }
.yj-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity .4s; }
.yj-slide.is-active { opacity: 1; visibility: visible; }
.yj-slide__bg { position: absolute; inset: 0; }
.yj-slide__bg img, .yj-slide__bg .yj-cover { width: 100%; height: 100%; object-fit: cover; }
.yj-slide__bg .yj-cover img { width: 100%; height: 100%; object-fit: cover; }
.yj-slide__panel { position: relative; margin: 0; padding: 28px 32px; background: rgba(255,255,255,.93); display: flex; flex-direction: column; gap: 10px; }
.yj-slide__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.yj-chip { font-size: 12px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); }
.yj-chip--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.yj-slide__title { font-size: 34px; font-weight: 900; color: var(--text); }
.yj-slide__desc { color: var(--text-2); max-width: 620px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yj-slide__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.yj-slider__ctrl { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.yj-slider__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; }
.yj-slider__dot { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: #C3C8D2; transition: width .2s; }
.yj-slider__dot.is-active { width: 24px; background: var(--accent-text); }
.yj-slider__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #E8EBF2; text-align: center; padding: 24px; }

.yj-hero__side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.yj-finder { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.yj-finder__top { display: flex; align-items: center; justify-content: space-between; }
.yj-finder__title { font-weight: 700; font-size: 17px; }
.yj-finder__row { display: flex; gap: 8px; }
.yj-input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 15px; }
.yj-input:focus { border-color: #EB0119; outline: none; box-shadow: 0 0 0 3px rgba(235,1,25,.15); }
textarea.yj-input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
select.yj-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235F6678' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.yj-hotwords { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.yj-hotwords a { padding: 5px 10px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
.yj-hotwords a:hover { background: var(--surface-3); color: var(--text); }
.yj-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; flex: 1; }
.yj-channel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--text); transition: border-color .15s, transform .15s; min-height: 112px; }
.yj-channel:hover { border-color: #EB0119; transform: translateY(-2px); color: var(--text); }
.yj-channel__mark { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent-text); }
.yj-channel b { font-size: 17px; }
.yj-channel span:last-child { font-size: 13px; color: var(--muted); }

/* ---------- 标签页 / 胶囊 ---------- */
.yj-seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.yj-seg button, .yj-seg a { padding: 7px 14px; border-radius: 9px; border: 0; background: none; color: var(--text-2); font-size: 14px; }
.yj-seg .is-active { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.yj-seg button:not(.is-active):hover, .yj-seg a:not(.is-active):hover { background: var(--surface-2); color: var(--text); }

/* ---------- 卡片 ---------- */
.yj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.yj-grid--sm { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.yj-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); transition: transform .18s, border-color .18s, box-shadow .18s; }
.yj-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); color: var(--text); }
.yj-card[hidden] { display: none; }
.yj-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.yj-cover { width: 100%; height: 100%; position: relative; overflow: hidden; }
.yj-cover img { width: 100%; height: 100%; object-fit: cover; }
.yj-cover.is-empty::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 40px); }
.yj-cover__mark { position: absolute; right: 12px; bottom: -8px; font-family: var(--font-num); font-weight: 700; font-size: 80px; line-height: 1; color: rgba(255,255,255,.18); }
.yj-card__badge, .yj-card__size { position: absolute; left: 10px; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(10,12,18,.72); color: #fff; }
.yj-card__badge { top: 10px; font-weight: 700; }
.yj-card:hover .yj-card__badge { background: var(--accent); color: var(--accent-ink); }
.yj-card__size { bottom: 10px; font-family: var(--font-num); }
.yj-card__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.yj-card__title { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yj-card__sub { font-size: 13px; color: var(--muted); margin-top: -6px; }
.yj-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.yj-tag { font-size: 12px; padding: 1px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); }
.yj-tag--genre { border-color: #FFC9CE; color: var(--accent-text); background: #FFF5F6; }
.yj-tag--lang { border-color: #BFDCF5; color: var(--blue-text); }
.yj-tag--dim { border-color: #DADADF; color: var(--violet-text); }
.yj-card__meta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); font-family: var(--font-num); }
.yj-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.yj-card__time { margin-left: auto; }

/* ---------- 分页 ---------- */
.yj-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 8px; }
.yj-pager .page-numbers { min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-num); font-weight: 600; }
.yj-pager a.page-numbers:hover { background: var(--surface-3); color: var(--text); }
.yj-pager .current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.yj-pager .dots { border: 0; background: none; }

/* ---------- 排行 ---------- */
.yj-rank { display: flex; flex-wrap: wrap; gap: 20px; }
.yj-rank__top { flex: 1 1 380px; min-width: 0; }
.yj-rank__top .yj-card__media { aspect-ratio: 16 / 9; }
.yj-rank__no { position: absolute; top: 14px; left: 14px; width: 50px; height: 50px; border-radius: 14px; background: var(--orange); color: var(--orange-ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-num); font-weight: 700; font-size: 24px; }
.yj-rank__list { flex: 999 1 520px; min-width: 0; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 4px; align-content: start; }
.yj-rank__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; color: var(--text); }
.yj-rank__item:hover { background: var(--surface-2); color: var(--text); }
.yj-rank__idx { width: 30px; font-family: var(--font-num); font-weight: 700; font-size: 20px; color: #8A91A3; }
.yj-rank__idx.is-hot { color: var(--orange-text); }
.yj-rank__thumb { width: 72px; height: 48px; border-radius: 10px; overflow: hidden; flex: none; }
.yj-rank__thumb .yj-cover__mark { font-size: 28px; bottom: -4px; right: 6px; }
.yj-rank__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.yj-rank__info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yj-rank__info small { color: var(--muted); font-size: 12px; }
.yj-rank__val { font-family: var(--font-num); font-size: 13px; color: var(--muted); }

/* ---------- 会员 ---------- */
.yj-member { padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.yj-member__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.yj-eyebrow { font-family: var(--font-num); letter-spacing: 3px; color: var(--orange-text); font-size: 13px; }
.yj-member__plans { flex: 999 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.yj-plan { border-radius: 18px; padding: 20px; border: 1px solid var(--line-2); background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.yj-plan--vip { border-color: var(--orange); }
.yj-plan--svip { border-color: var(--violet); }
.yj-plan__price { font-family: var(--font-num); font-size: 28px; font-weight: 700; }
.yj-plan__price small { font-size: 14px; color: var(--muted); font-weight: 400; }

/* ---------- 页脚 ---------- */
.yj-footer { margin-top: 16px; border-top: 1px solid var(--line); background: #F6F6F7; }
.yj-footer__in { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 28px; display: flex; flex-direction: column; gap: 36px; }
.yj-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.yj-footer__col { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 14px; }
.yj-footer__col b { color: var(--text); font-size: 15px; }
.yj-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.yj-footer__col a { color: var(--text-2); }
.yj-footer__col a:hover { color: var(--accent-text); }
.yj-footer__bar { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.yj-footer__bar a { color: var(--muted); }

/* 悬浮助手 */
.yj-fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.yj-fab__btn { width: 58px; height: 58px; border-radius: 18px; border: 0; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(235,1,25,.3); }
.yj-fab__panel { width: 320px; max-width: calc(100vw - 48px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(23,26,33,.16); overflow: hidden; display: none; }
.yj-fab.is-open .yj-fab__panel { display: block; }
.yj-fab__head { padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.yj-fab__head::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #EB0119; }
.yj-fab__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.yj-fab__links { display: flex; flex-wrap: wrap; gap: 6px; }
.yj-fab__links a { font-size: 13px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); }

/* ---------- 详情页 ---------- */
.yj-crumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.yj-crumb a { color: var(--muted); }
.yj-crumb a:hover { color: var(--accent-text); }
.yj-detail-top { display: flex; flex-wrap: wrap; gap: 28px; }
.yj-gallery { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.yj-gallery__main { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #2A2A31; position: relative; }
.yj-gallery__main img, .yj-gallery__main .yj-cover { width: 100%; height: 100%; object-fit: cover; }
.yj-gallery__main .yj-cover__mark { font-size: 180px; }
.yj-gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.yj-gallery__thumb { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); }
.yj-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yj-gallery__thumb.is-active { border-color: #EB0119; }
.yj-info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.yj-info h1 { font-size: 32px; font-weight: 900; }
.yj-info__orig { font-family: var(--font-num); color: var(--muted); margin-top: -8px; }
.yj-score { display: flex; align-items: baseline; gap: 6px; }
.yj-score b { font-family: var(--font-num); font-size: 40px; color: var(--accent-text); line-height: 1; }
.yj-score span { font-size: 13px; color: var(--muted); }
.yj-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.yj-stats span { display: inline-flex; align-items: center; gap: 4px; }
.yj-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.yj-dl > div { background: var(--surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.yj-dl dt { font-size: 12px; color: var(--muted); }
.yj-dl dd { margin: 0; font-weight: 700; font-size: 14px; }
.yj-dl dd a { color: var(--text); }
.yj-dl dd a:hover { color: var(--accent-text); }
.yj-taglinks { display: flex; flex-wrap: wrap; gap: 6px; }
.yj-taglinks a { font-size: 13px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); }
.yj-taglinks a:hover { border-color: #EB0119; color: var(--accent-text); }
.yj-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.yj-act { height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; }
.yj-act:hover { border-color: #B5B5BD; }
.yj-act.is-on[data-type="like"] { border-color: #EB0119; background: var(--accent-soft); color: var(--accent-text); }
.yj-act.is-on[data-type="fav"] { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-text); }
.yj-cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.yj-col-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.yj-col-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.yj-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.yj-tabs button, .yj-tabs a { padding: 10px 16px; border-radius: 10px; border: 0; background: none; color: var(--text-2); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.yj-tabs .is-active { background: var(--surface-3); color: var(--accent-text); font-weight: 700; }
.yj-tabpanel { padding: 24px; }
.yj-tabpanel[hidden] { display: none; }
.yj-prose { line-height: 1.85; color: var(--text-2); }
.yj-prose > * + * { margin-top: 14px; }
.yj-prose img { border-radius: 12px; }
.yj-prose h2, .yj-prose h3 { color: var(--text); margin-top: 22px; }
.yj-prose ul, .yj-prose ol { padding-left: 22px; }
.yj-prose a { text-decoration: underline; }
.yj-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.yj-specs > div { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.yj-specs b { display: block; margin-bottom: 8px; }
.yj-specs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; color: var(--text-2); }
.yj-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.yj-log li { display: flex; gap: 12px; flex-wrap: wrap; }
.yj-log b { font-family: var(--font-num); min-width: 72px; }
.yj-log time { color: var(--muted); font-size: 13px; min-width: 90px; }
.yj-get { display: flex; flex-direction: column; gap: 18px; }
.yj-h3 { font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.yj-ver { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.yj-ver__info { display: flex; flex-direction: column; gap: 4px; flex: 1 1 240px; }
.yj-ver__info b { font-size: 17px; }
.yj-ver__info small { font-size: 13px; color: var(--muted); }
.yj-badge-new { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); margin-left: 6px; }
.yj-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.yj-tier { text-align: left; padding: 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.yj-tier.is-mine { border-color: #EB0119; background: #FFF5F6; }
.yj-tier__chip { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; background: #E3E6EC; color: var(--text); }
.yj-tier--vip .yj-tier__chip { background: var(--orange); color: var(--orange-ink); }
.yj-tier--svip .yj-tier__chip { background: #1F1F26; color: #FFC93C; }
.yj-tier__price { font-family: var(--font-num); font-size: 24px; font-weight: 700; }
.yj-tier--vip .yj-tier__price { color: var(--orange-text); }
.yj-tier--svip .yj-tier__price { color: var(--violet-text); }
.yj-tier small { font-size: 12px; color: var(--muted); }
.yj-lockbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px dashed #B8BFCC; }
.yj-lockbar > span { flex: 1 1 260px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.yj-lockbar .yj-i { color: var(--orange-text); }
.yj-buy { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.yj-downloads { display: flex; flex-direction: column; gap: 10px; }
.yj-download { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid #FFC9CE; background: #FFF5F6; }
.yj-download b { flex: 1 1 160px; }
.yj-code { white-space: nowrap; font-family: var(--font-num); background: var(--surface); border: 1px solid var(--line-2); padding: 4px 10px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.yj-copy { border: 0; background: none; color: var(--accent-text); padding: 0; display: inline-flex; }
.yj-side-h { font-size: 18px; font-weight: 900; }
.yj-related { display: flex; flex-direction: column; gap: 4px; }
.yj-related a { display: flex; gap: 12px; padding: 8px; border-radius: 12px; color: var(--text); }
.yj-related a:hover { background: var(--surface-2); color: var(--text); }
.yj-related__thumb { width: 104px; height: 64px; border-radius: 10px; overflow: hidden; flex: none; }
.yj-related__thumb .yj-cover__mark { font-size: 34px; }
.yj-related__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.yj-related__info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yj-related__info small { font-size: 12px; color: var(--muted); }

/* 评论 */
.yj-comments { display: flex; flex-direction: column; gap: 16px; }
.yj-comments .comment-list, .yj-comments .children { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.yj-comments .children { margin: 12px 0 0 24px; padding-left: 16px; border-left: 2px solid var(--line); }
.yj-cmt { padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.yj-cmt__head { display: flex; gap: 10px; align-items: center; }
.yj-cmt__time { font-size: 12px; color: var(--muted); }
.yj-cmt__body { margin: 8px 0 0 46px; color: var(--text-2); }
.yj-cmt__reply { margin-left: 46px; font-size: 13px; }
.comment-respond { display: flex; flex-direction: column; gap: 10px; }
.comment-reply-title { font-size: 15px; font-weight: 700; }
.comment-form { display: flex; flex-direction: column; gap: 10px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form .form-submit { margin: 0; display: flex; justify-content: flex-end; }
.comment-form .submit { min-height: 44px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.comment-form label { font-size: 14px; font-weight: 700; display: block; margin-bottom: 4px; }
.comment-notes, .logged-in-as { font-size: 13px; color: var(--muted); }

/* ---------- 游戏库 ---------- */
.yj-libhead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; }
.yj-libhead h1 { font-size: 32px; font-weight: 900; }
.yj-libhead form { display: flex; gap: 8px; flex: 0 1 420px; min-width: 260px; margin-left: auto; }
.yj-libhead .yj-input { height: 44px; }
.yj-filter { flex: 1 1 260px; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.yj-filter__head { display: flex; align-items: center; justify-content: space-between; }
.yj-filter fieldset { border: 0; margin: 0; padding: 0; }
.yj-filter legend { font-size: 13px; color: var(--muted); padding: 0; margin-bottom: 10px; }
.yj-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.yj-opt { padding: 7px 12px; border-radius: 9px; font-size: 13px; border: 1px solid var(--line); color: var(--text-2); }
.yj-opt:hover { background: var(--surface-2); color: var(--text); }
.yj-opt.is-active { border-color: #EB0119; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.yj-results { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.yj-results__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.yj-active-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); }
.yj-sortsel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-left: auto; }
.yj-sortsel select { height: 40px; }
.yj-viewtoggle { display: flex; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.yj-viewtoggle button { width: 40px; height: 36px; border-radius: 8px; border: 0; background: none; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.yj-viewtoggle .is-active { background: var(--surface-3); color: var(--accent-text); }
.yj-grid.is-list { grid-template-columns: 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 6px; }
.yj-grid.is-list .yj-card { flex-direction: row; border: 0; border-radius: 12px; align-items: center; }
.yj-grid.is-list .yj-card:hover { transform: none; box-shadow: none; background: var(--surface-2); }
.yj-grid.is-list .yj-card__media { width: 140px; flex: none; border-radius: 10px; margin: 8px; }
.yj-grid.is-list .yj-card__badge, .yj-grid.is-list .yj-card__size { display: none; }
.yj-grid.is-list .yj-card__body { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 8px 14px 8px 4px; }
.yj-grid.is-list .yj-card__title { flex: 1 1 100%; }
.yj-grid.is-list .yj-card__meta { border: 0; padding: 0; margin: 0 0 0 auto; }

/* ---------- 通用页 / 列表 ---------- */
.yj-page-head { display: flex; flex-direction: column; gap: 6px; }
.yj-page-head h1 { font-size: 30px; font-weight: 900; }
.yj-article { padding: 32px; }
.yj-article h1 { font-size: 30px; font-weight: 900; margin-bottom: 8px; }

/* ---------- 帮助中心 ---------- */
.yj-help-head { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.yj-help-head h1 { font-size: 30px; font-weight: 900; }
.yj-help-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.yj-help-nav a { padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 14px; }
.yj-help-nav a:hover { border-color: #EB0119; color: var(--accent-text); }
.yj-help-sec { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.yj-help-sec > p { color: var(--muted); font-size: 14px; margin-top: -6px; }
.yj-acc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.yj-acc summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.yj-acc summary::-webkit-details-marker { display: none; }
.yj-acc summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--accent-text); line-height: 1; }
.yj-acc[open] summary::after { content: "×"; }
.yj-acc__body { padding: 0 18px 18px; }

/* ---------- 登录注册 ---------- */
.yj-auth { max-width: 480px; margin: 24px auto 0; width: 100%; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.yj-auth h1 { font-size: 24px; font-weight: 900; text-align: center; }
.yj-auth__sub { text-align: center; color: var(--muted); font-size: 14px; margin-top: -8px; }
.yj-field { display: flex; flex-direction: column; gap: 6px; }
.yj-field label { font-size: 14px; font-weight: 700; }
.yj-field small { font-size: 12px; color: var(--muted); }
.yj-field__row { display: flex; gap: 8px; }
.yj-pwd { position: relative; }
.yj-pwd .yj-input { padding-right: 48px; }
.yj-pwd button { position: absolute; right: 4px; top: 4px; }
.yj-auth__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; flex-wrap: wrap; gap: 8px; }
.yj-check { display: inline-flex; align-items: center; gap: 8px; }
.yj-check input { width: 18px; height: 18px; accent-color: #EB0119; }

/* ---------- 个人中心 ---------- */
.yj-uc { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.yj-uc__side { flex: 1 1 260px; min-width: 0; max-width: 320px; padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.yj-uc__side-title { font-weight: 900; font-size: 17px; padding: 0 10px 8px; }
.yj-uc__group { font-size: 12px; color: var(--muted); padding: 14px 12px 6px; }
.yj-uc__link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); font-size: 14px; }
.yj-uc__link:hover { background: var(--surface-2); color: var(--text); }
.yj-uc__link.is-active { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.yj-uc__link .yj-caret { margin-left: auto; transition: transform .15s; }
.yj-uc__item.is-open .yj-caret { transform: rotate(90deg); }
.yj-uc__sub { display: none; flex-direction: column; padding-left: 18px; }
.yj-uc__item.is-open .yj-uc__sub { display: flex; }
.yj-uc__sub a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13px; color: var(--muted); }
.yj-uc__sub a:hover { background: var(--surface-2); color: var(--text); }
.yj-uc__sub a.is-active { color: var(--accent-text); font-weight: 700; }
.yj-uc__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.yj-uc__title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.yj-uc__title h1 { font-size: 22px; font-weight: 900; }
.yj-uc__title small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.yj-uc__ico { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; flex: none; }
.yj-uc__title .yj-btn { margin-left: auto; }
.yj-profile { padding: 20px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.yj-profile .yj-avatar { border: 3px solid var(--violet); }
.yj-profile__name { font-size: 18px; font-weight: 700; }
.yj-profile__mail { color: var(--muted); font-size: 14px; }
.yj-statcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.yj-statcard { border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.yj-statcard__label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.yj-statcard__label .yj-i { padding: 6px; width: 30px; height: 30px; border-radius: 10px; background: var(--surface-2); }
.yj-statcard__value { font-family: var(--font-num); font-size: 34px; font-weight: 700; line-height: 1.1; }
.yj-statcard__note { font-size: 13px; color: var(--muted); }
.yj-statcard .yj-btn { align-self: flex-start; margin-top: auto; }
.yj-statcard--level { border-color: #DADADF; background: #F8F8F9; }
.yj-statcard--level .yj-statcard__value { color: var(--violet-text); }
.yj-statcard--level .yj-statcard__label .yj-i { background: #EBEBEE; color: var(--violet-text); }
.yj-statcard--wallet { border-color: #FFC9CE; background: #FFF5F6; }
.yj-statcard--wallet .yj-statcard__value { color: var(--accent-text); }
.yj-statcard--wallet .yj-statcard__label .yj-i { background: #FFE3E6; color: var(--accent-text); }
.yj-quick { padding: 0; }
.yj-quick__head { padding: 18px 24px; border-bottom: 1px solid var(--line); font-weight: 900; font-size: 17px; }
.yj-quick__body { padding: 8px 24px 24px; }
.yj-quick__group { font-size: 13px; color: var(--muted); margin: 18px 0 10px; }
.yj-quick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.yj-quick__grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; border-radius: 14px; border: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.yj-quick__grid a:hover { border-color: #EB0119; color: var(--accent-text); background: #FFF5F6; }
.yj-panel { overflow: hidden; }
.yj-panel__body { padding: 24px; }
.yj-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 56px 20px; }
.yj-empty__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); color: var(--muted); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.yj-empty__title { font-weight: 700; font-size: 16px; color: var(--text-2); }
.yj-empty__desc { font-size: 13px; color: var(--muted); }
.yj-setrow { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--bg); flex-wrap: wrap; }
.yj-setrow + .yj-setrow { margin-top: 12px; }
.yj-setrow__ico { color: var(--muted); }
.yj-setrow__txt { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; }
.yj-setrow__txt small { font-size: 12px; color: var(--muted); }
.yj-setrow__txt b { font-weight: 500; }
.yj-setrow form { flex: 1 1 100%; display: none; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.yj-setrow.is-editing form { display: flex; }
.yj-setrow form .yj-input { flex: 1 1 200px; height: 44px; }
.yj-avatar-up { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.yj-avatar-up__pic { position: relative; }
.yj-avatar-up__pic label { position: absolute; right: -4px; bottom: -4px; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.yj-plans3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.yj-plancard { position: relative; border-radius: 20px; padding: 28px 24px; border: 2px solid var(--line); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.yj-plancard:hover { border-color: var(--line-2); }
.yj-plancard.is-active { border-color: #EB0119; box-shadow: 0 0 0 4px rgba(235,1,25,.15); }
.yj-plancard input { position: absolute; opacity: 0; pointer-events: none; }
.yj-plancard__crown { color: var(--violet-text); }
.yj-plancard--vip .yj-plancard__crown { color: var(--orange-text); }
.yj-plancard__name { font-size: 18px; font-weight: 900; margin-top: 6px; }
.yj-plancard__days { font-size: 13px; color: var(--muted); }
.yj-plancard__price { font-family: var(--font-num); font-size: 30px; font-weight: 700; color: var(--violet-text); margin-top: 8px; }
.yj-plancard--vip .yj-plancard__price { color: var(--orange-text); }
.yj-plancard__price s { font-size: 14px; color: var(--muted); font-weight: 400; margin-right: 6px; }
.yj-plancard__save { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); }
.yj-plancard__flag { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--danger); color: #fff; }
.yj-plancard ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); width: 100%; text-align: left; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }
.yj-plancard li { display: flex; gap: 8px; align-items: center; }
.yj-plancard li .yj-i { color: var(--ok); }
.yj-promo { border-radius: 20px; padding: 24px 28px; display: flex; align-items: center; gap: 16px; background: #F8F8F9; border: 1px solid #DADADF; }
.yj-promo .yj-i { color: var(--violet-text); }
.yj-promo b { font-size: 18px; display: block; }
.yj-promo span { font-size: 14px; color: var(--text-2); }
.yj-levelswitch { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); gap: 4px; }
.yj-levelswitch a { padding: 8px 18px; border-radius: 9px; color: var(--text-2); font-weight: 700; }
.yj-levelswitch a.is-active { background: var(--text); color: #fff; }
.yj-paybar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 20px; }
.yj-paybar__methods { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 300px; }
.yj-method { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 2px solid var(--line); cursor: pointer; font-size: 14px; }
.yj-method input { accent-color: #EB0119; }
.yj-method.is-active { border-color: #EB0119; background: #FFF5F6; }
.yj-method.is-disabled { opacity: .5; cursor: not-allowed; }
.yj-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.yj-amount { position: relative; border-radius: 16px; border: 2px solid var(--line); padding: 26px 10px; text-align: center; cursor: pointer; background: var(--surface); }
.yj-amount input { position: absolute; opacity: 0; pointer-events: none; }
.yj-amount b { display: block; font-family: var(--font-num); font-size: 34px; color: var(--blue-text); line-height: 1.1; }
.yj-amount span { font-size: 13px; color: var(--muted); }
.yj-amount.is-active { border-color: #EB0119; background: #FFF5F6; }
.yj-amount.is-active b { color: var(--accent-text); }
.yj-amount__hot { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: var(--danger); color: #fff; }
.yj-amount .yj-amount__hot { color: #fff; }
.yj-note { border-radius: 16px; padding: 18px 22px; background: var(--blue-soft); border: 1px solid #BFDCF5; font-size: 14px; color: var(--text-2); }
.yj-note b { color: var(--text); display: block; margin-bottom: 6px; }
.yj-note ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.yj-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.yj-filters a { padding: 6px 14px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 14px; }
.yj-filters a.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.yj-orders { display: flex; flex-direction: column; gap: 12px; }
.yj-order { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.yj-order__main { flex: 1 1 360px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.yj-order__no { font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; word-break: break-all; }
.yj-order__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.yj-order__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-left: auto; }
.yj-order__amount { font-family: var(--font-num); font-size: 18px; font-weight: 700; color: var(--accent-text); }
.yj-order__ops { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.yj-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-2); font-weight: 500; }
.yj-badge--type { border-color: #BFDCF5; color: var(--blue-text); }
.yj-badge--paid, .yj-badge--resolved, .yj-badge--approved { background: var(--ok-soft); border-color: #B9DFBB; color: var(--ok); }
.yj-badge--pending, .yj-badge--open { background: #FFF7E0; border-color: #F1DB9C; color: #7A5800; }
.yj-badge--waiting, .yj-badge--need_more { background: var(--blue-soft); border-color: #BFDCF5; color: var(--blue-text); }
.yj-badge--failed, .yj-badge--rejected { background: var(--danger-soft); border-color: #F2B8B8; color: var(--danger); }
.yj-badge--expired, .yj-badge--closed { background: var(--surface-2); color: var(--muted); }
.yj-form { display: flex; flex-direction: column; gap: 18px; }
.yj-counter { font-size: 12px; color: var(--muted); }
.yj-upload { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.yj-upload__btn { width: 92px; height: 92px; border-radius: 14px; border: 2px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 13px; cursor: pointer; }
.yj-upload__btn:hover { border-color: #EB0119; color: var(--accent-text); }
.yj-upload__prev { display: flex; gap: 8px; flex-wrap: wrap; }
.yj-upload__prev img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; }
.yj-thread { display: flex; flex-direction: column; gap: 12px; }
.yj-msg { padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.yj-msg--staff { background: #FFF5F6; border-color: #FFC9CE; }
.yj-msg__head { font-size: 13px; color: var(--muted); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.yj-msg__head b { color: var(--text); }
.yj-msg p { white-space: pre-wrap; color: var(--text-2); }
.yj-msg__imgs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.yj-msg__imgs img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.yj-list { display: flex; flex-direction: column; }
.yj-list__row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--text); flex-wrap: wrap; }
.yj-list__row:first-child { border-top: 0; }
a.yj-list__row:hover { background: var(--surface-2); color: var(--text); }
.yj-list__row b { flex: 1 1 200px; }
.yj-list__row small { color: var(--muted); font-size: 13px; }
.yj-history { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; padding: 20px; }
.yj-history .yj-card__time { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
	.yj-pill--hide-md { display: none; }
}
@media (max-width: 960px) {
	.yj-header__in { flex-wrap: wrap; }
	.yj-menu-toggle { display: inline-flex; margin-left: auto; }
	.yj-nav { order: 10; flex: 1 1 100%; display: none; }
	.yj-nav.is-open { display: block; }
	.yj-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.yj-menu > li > a { padding: 12px 4px; width: 100%; }
	.yj-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: auto; padding: 0 0 8px 12px; display: none; }
	.yj-menu > li.is-open > .sub-menu { display: block; }
	.yj-header__actions .yj-pill { display: none; }
	.yj-header__actions .yj-pill--app { display: inline-flex; padding: 8px 10px; }
	.yj-header__actions .yj-pill--app span { display: none; }
	.yj-uc__side { max-width: none; }
}
@media (max-width: 782px) {
	.admin-bar .yj-header { top: 46px; }
}
@media (max-width: 640px) {
	body { font-size: 14px; }
	.yj-wrap, .yj-main, .yj-header__in, .yj-footer__in { padding-left: 16px; padding-right: 16px; }
	.yj-main { gap: 40px; padding-top: 20px; }
	.yj-slider { min-height: 360px; }
	.yj-slide__panel { padding: 18px; }
	.yj-slide__title { font-size: 24px; }
	.yj-slider__ctrl { margin-left: 0; }
	.yj-h2 { font-size: 22px; }
	.yj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.yj-card__body { padding: 10px; gap: 8px; }
	.yj-card__title { font-size: 14px; }
	.yj-card__meta span:nth-child(3) { display: none; }
	.yj-tags .yj-tag--plat { display: none; }
	.yj-rank__list { grid-template-columns: 1fr; }
	.yj-info h1 { font-size: 24px; }
	.yj-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.yj-dl { grid-template-columns: 1fr 1fr; }
	.yj-tabpanel, .yj-box--pad, .yj-panel__body { padding: 16px; }
	.yj-member { padding: 20px; }
	.yj-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yj-auth { padding: 24px 18px; }
	.yj-order__side { align-items: flex-start; margin-left: 0; }
	.yj-grid.is-list .yj-card__media { width: 96px; }
	.yj-fab { right: 16px; bottom: 16px; }
}
