:root {
  color-scheme: light;
  --wine: #3b1214;
  --wine-2: #5b1719;
  --red: #b9191d;
  --red-light: #d72d25;
  --gold: #f0ae55;
  --gold-light: #ffd69a;
  --cream: #fff7eb;
  --paper: #fffdf9;
  --ink: #392526;
  --muted: #8e7470;
  --line: #ead9c6;
  --shadow: 0 16px 40px rgba(58, 18, 20, .12);
}
* { box-sizing: border-box; }
html { background: #f6eee4; }
body.home-page {
  margin: 0; color: var(--ink); background: linear-gradient(180deg, #4a1517 0, #7b1718 340px, #f6eee4 340px, #f6eee4 100%);
  font: 15px/1.55 "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-light); }
.shell { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: rgba(44, 12, 15, .94); border-bottom: 1px solid rgba(255, 214, 154, .2); color: #fff5e7; }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #f1be78; border-radius: 13px; color: #ffe1b2; background: linear-gradient(145deg, #a51a1d, #4a1114); font: 700 23px Georgia, serif; box-shadow: inset 0 0 0 3px rgba(255,220,170,.08); }
.brand strong,.brand small { display: block; }
.brand strong { font-size: 19px; letter-spacing: .08em; }
.brand small { color: #d9b5a3; font-size: 11px; letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 28px); flex: 1; }
.main-nav a { color: #f4ded0; font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: var(--gold-light); }
.header-action { border: 1px solid rgba(255,214,154,.5); border-radius: 999px; padding: 9px 15px; color: #ffe1b2; white-space: nowrap; font-size: 13px; }
.hero { min-height: 292px; margin: 28px 0 20px; padding: 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: 30px; align-items: center; border: 1px solid rgba(255,222,179,.55); border-radius: 22px; color: #fff6e9; background: radial-gradient(ellipse at 78% 20%, rgba(247,174,78,.32), transparent 38%), linear-gradient(125deg, #74191b, #b92020 57%, #70201c); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 330px; height: 330px; right: 31%; bottom: -235px; border: 1px solid rgba(255,214,154,.22); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,214,154,.035), 0 0 0 42px rgba(255,214,154,.03); pointer-events: none; }
.hero-copy,.hero-panel { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 6px; color: #b88458; font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: .16em; }
.hero .eyebrow { color: #f4c886; }
h1,h2,p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; letter-spacing: .04em; }
h1 em { color: #ffd185; font-style: normal; }
.hero-intro { max-width: 620px; margin-bottom: 22px; color: #f2d9c6; font-size: 15px; }
.hero-actions { display: flex; gap: 10px; }
.button { min-width: 116px; padding: 10px 18px; display: inline-flex; justify-content: center; border-radius: 9px; font-size: 14px; font-weight: 700; }
.button-gold { color: #4a1715; background: linear-gradient(135deg, #ffe0a4, #e7a447); box-shadow: 0 5px 16px rgba(28,8,9,.2); }
.button-outline { color: #fff2e1; border: 1px solid rgba(255,233,199,.45); background: rgba(54,10,12,.18); }
.hero-panel { align-self: stretch; padding: 19px 20px 13px; border: 1px solid rgba(255,231,192,.28); border-radius: 15px; background: rgba(46, 9, 12, .36); backdrop-filter: blur(4px); }
.panel-heading { padding-bottom: 11px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,238,216,.16); color: #fff3df; font-weight: 700; }
.panel-heading > a { margin-left: auto; color: #f6c987; font-size: 12px; font-weight: 500; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffca64; box-shadow: 0 0 0 4px rgba(255,202,100,.14); }
.compact-list,.post-list { list-style: none; margin: 0; padding: 0; }
.compact-list li { display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 7px 0; border-bottom: 1px solid rgba(255,238,216,.09); }
.compact-list li:last-child { border: 0; }
.compact-list li::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #f2b35d; }
.compact-list a { color: #f8e5d4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.compact-list time { margin-left: auto; color: #d4a48b; font-size: 10px; white-space: nowrap; }
.quick-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.quick-links a { min-height: 77px; padding: 14px 16px; display: grid; grid-template-columns: 35px 1fr; grid-template-rows: auto auto; column-gap: 11px; align-content: center; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: 0 5px 14px rgba(58,18,20,.04); }
.quick-links a:hover { border-color: #d79a52; transform: translateY(-1px); }
.quick-links span { grid-row: 1 / 3; align-self: center; color: #cf7f34; font: 700 13px Georgia,serif; }
.quick-links strong { font-size: 14px; }
.quick-links small { color: var(--muted); font-size: 11px; }
.content-grid { display: grid; grid-template-columns: minmax(205px, .78fr) minmax(0, 2.05fr) minmax(205px, .78fr); gap: 14px; align-items: stretch; }
.content-card { border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 8px 24px rgba(58,18,20,.055); }
.updates-card,.community-card,.player-card { min-height: 320px; padding: 16px; display: flex; flex-direction: column; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.section-heading h2 { margin: 0; color: #4a1c1b; font-size: 17px; line-height: 1.35; }
.more-link { padding-top: 4px; color: #a45223; font-size: 12px; white-space: nowrap; }
.post-list { margin-top: 12px; flex: 1; }
.post-list li { min-width: 0; padding: 5px 0; display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid #f1e8dc; }
.post-list li::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #d28b43; }
.post-list li a { min-width: 0; flex: 1; color: #59403b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.post-list li a:hover { color: var(--red); }
.post-list time { color: #aa9690; font-size: 10px; white-space: nowrap; }
.updates-card .post-list li { align-items: flex-start; }
.updates-card .post-list li a { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.empty-state { color: var(--muted); font-size: 13px; }
.card-description { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.community-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.card-footer-link { margin-top: 12px; padding-top: 11px; display: flex; justify-content: space-between; border-top: 1px solid #eee2d4; color: #9b4b26; font-size: 12px; font-weight: 700; }
.player-photo { height: 175px; margin-top: 17px; padding: 7px; display: grid; place-items: center; border: 1px solid #efd6b8; border-radius: 11px; background: #fff0d8; overflow: hidden; }
.player-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.player-card .card-description { margin-top: 12px; }
.gallery-section { margin-top: 20px; padding: 20px; }
.gallery-carousel { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; gap: 10px; align-items: center; margin-top: 14px; }
.gallery-viewport { min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; width: max-content; gap: 13px; }
.gallery-item { width: clamp(220px, 30vw, 370px); height: 175px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 2px solid #d9b77f; border-radius: 13px; background: linear-gradient(145deg, #fffaf2, #f1e5d3); box-shadow: inset 0 0 0 3px rgba(255,255,255,.82), 0 4px 12px rgba(74,38,20,.10); scroll-snap-align: start; }
.gallery-item img { width: auto; height: auto; max-width: calc(100% - 12px); max-height: calc(100% - 12px); display: block; object-fit: contain; transition: filter .25s ease; }
.gallery-item:hover img { filter: brightness(1.04); }
.gallery-control { width: 38px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid #e6c8a4; border-radius: 10px; color: #8f3028; background: #fff8ec; font: 26px/1 Georgia,serif; cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.gallery-control:hover { color: #fff5e7; border-color: #7b1919; background: #7b1919; }
.gallery-control:focus-visible,.gallery-viewport:focus-visible { outline: 3px solid #c48a4c; outline-offset: 3px; }
.notice { margin: 20px 0 28px; padding: 17px 19px; display: flex; gap: 13px; align-items: flex-start; background: #fff5e5; }
.notice-icon { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: #b63b28; font-weight: 800; }
.notice h2 { margin: 1px 0 4px; color: #632520; font-size: 13px; }
.notice p { margin: 0; color: #80645a; font-size: 12px; }
.site-footer { color: #ddc2ad; background: #351013; }
.footer-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: #efd0b3; }
@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; padding: 13px 0; gap: 14px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding: 3px 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { max-width: none; }
  .content-grid { grid-template-columns: minmax(190px,.8fr) minmax(0,2fr); }
  .player-card { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 1fr 190px; align-items: center; gap: 10px 18px; }
  .player-card .section-heading,.player-card .card-description,.player-card .card-footer-link { grid-column: 1; }
  .player-photo { grid-column: 2; grid-row: 1 / 4; margin: 0; }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 560px); }
  body.home-page { background: linear-gradient(180deg, #4a1517 0, #7b1718 410px, #f6eee4 410px); }
  .header-inner { min-height: 0; }
  .header-action { margin-left: auto; }
  .hero { margin-top: 16px; padding: 21px; gap: 20px; border-radius: 16px; }
  .hero-panel { padding: 15px; }
  .quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .quick-links a { min-height: 69px; padding: 10px; }
  .content-grid,.community-grid { grid-template-columns: 1fr; }
  .content-card { border-radius: 13px; }
  .updates-card,.community-card,.player-card { min-height: 0; padding: 17px; }
  .post-list li { padding: 8px 0; }
  .player-card { display: flex; }
  .player-photo { width: 100%; height: 210px; }
  .gallery-carousel { grid-template-columns: 32px minmax(0,1fr) 32px; gap: 7px; }
  .gallery-control { width: 32px; height: 38px; }
  .gallery-item { width: min(76vw, 360px); height: 190px; }
  .footer-inner { padding: 16px 0; flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.home-page .site-header{position:relative;z-index:30}.home-page .main-nav{overflow:visible;white-space:nowrap}.home-page .main-nav>.nav-home,.home-page .home-nav-group>.home-nav-trigger{display:flex;align-items:center;gap:5px;padding:10px 0;color:#f4ded0;font-size:14px;white-space:nowrap}.home-page .main-nav>.nav-home:hover,.home-page .home-nav-group:hover>.home-nav-trigger,.home-page .main-nav>a:hover{color:var(--gold-light)}.home-nav-group{position:relative}.home-nav-trigger span{color:var(--gold);font-size:12px;transition:transform .16s ease}.home-nav-dropdown{position:absolute;z-index:40;top:100%;left:-12px;min-width:176px;padding:7px;border:1px solid rgba(231,184,117,.4);border-radius:8px;background:#451316;box-shadow:0 14px 30px rgba(20,5,5,.35);visibility:hidden;opacity:0;pointer-events:none;transition:opacity .16s ease,visibility .16s}.home-nav-group:hover>.home-nav-dropdown,.home-nav-group:focus-within>.home-nav-dropdown{visibility:visible;opacity:1;pointer-events:auto}.home-nav-group:hover>.home-nav-trigger span,.home-nav-group:focus-within>.home-nav-trigger span{transform:rotate(180deg)}.home-nav-dropdown a{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border-radius:5px;color:#f5dfc3;font-size:12px}.home-nav-dropdown a:hover{color:#fff0ce;background:rgba(212,143,67,.17)}.home-nav-dropdown .home-nav-group-home{margin-bottom:4px;border-bottom:1px solid rgba(233,193,133,.2);color:#ffd18b;font-weight:700}
@media(max-width:980px){.home-page .main-nav{flex-wrap:wrap;overflow:visible;gap:4px 14px}.home-page .main-nav>.nav-home,.home-page .home-nav-group>.home-nav-trigger,.home-page .main-nav>a{font-size:13px}.home-nav-dropdown{left:0}}
@media(max-width:680px){.home-page .main-nav{order:3;width:100%;flex:0 0 100%;justify-content:flex-start;overflow:visible;flex-wrap:wrap;gap:3px 14px;padding:4px 0}.home-page .main-nav>.nav-home,.home-page .home-nav-group>.home-nav-trigger,.home-page .main-nav>a{padding:6px 0}.home-nav-dropdown{top:100%;left:0}.home-nav-group:nth-last-child(-n+2) .home-nav-dropdown{left:auto;right:0}}
@media(min-width:981px) and (max-width:1200px){.home-page .header-inner{gap:14px}.home-page .main-nav{gap:8px}.home-page .main-nav>.nav-home,.home-page .home-nav-group>.home-nav-trigger,.home-page .main-nav>a{font-size:12px}.home-page .header-action{padding:8px 10px}}
