:root {
  color-scheme: dark;
  --bg: #101719;
  --text: #f3eee1;
  --muted: #9badae;
  --gold: #d6b779;
  --line: #d6b77926;
  --hero-art: url('/assets/world-background.png');
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; min-width: 280px; line-height: 1.65; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #ffe0a2; outline-offset: 6px; }
.wrap { width: min(100% - 104px, 1200px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 10px 18px; z-index: 10; color: var(--bg); background: var(--gold); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 3; background: #101719; border-bottom: 1px solid #d6b77917; }
.header-inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand img { object-fit: contain; }
.brand-name { display: block; font-size: 14px; letter-spacing: .12em; line-height: 1.6; color: #e2d6b7; }
.brand-english { display: block; color: #a89673; font-size: 8px; letter-spacing: .26em; }
.site-nav { display: flex; gap: 40px; align-self: stretch; align-items: center; }
.site-nav a { position: relative; display: flex; align-items: center; height: 100%; font-size: 13px; letter-spacing: .08em; color: var(--muted); transition: color .2s ease; }
.site-nav a:hover, .site-nav .nav-current { color: var(--text); }
.site-nav .nav-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 21px; height: 1px; background: var(--gold); }
.hero { position: relative; display: grid; align-items: center; min-height: min(690px, calc(100svh - 92px)); isolation: isolate; overflow: hidden; background: #172426; }
.hero-landscape { position: absolute; inset: 0; z-index: -3; background-image: var(--hero-art), radial-gradient(ellipse at 78% 25%, #dab87345 0, #788a7640 19%, #233b3c 49%, #162326 78%); background-size: cover; background-position: center center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #101719ed 0%, #101719b5 26%, #1017195c 56%, #1017190a 82%), linear-gradient(0deg, #101719 0%, #10171921 23%, transparent 57%, #10171920 100%); }
.hero-grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; background-image: repeating-linear-gradient(0deg, #ffffff06 0, #ffffff06 1px, transparent 1px, transparent 3px); }
.hero-content { padding-top: 52px; padding-bottom: 110px; }
.hero-heading { max-width: 670px; }
.eyebrow { margin: 0 0 10px; font-size: 9px; font-weight: 500; color: var(--gold); letter-spacing: .23em; line-height: 1.8; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: #e9cd95; font-size: 11px; letter-spacing: .24em; }
.hero-eyebrow > span { display: block; width: 24px; height: 1px; background: currentColor; }
.hero h1 { margin: 0; font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif; font-size: clamp(48px, 6.35vw, 88px); line-height: 1.3; font-weight: 500; letter-spacing: .12em; text-shadow: 0 3px 35px #06101375; }
.heading-rule { display: flex; align-items: center; gap: 15px; width: 115px; margin-block: 29px 43px; color: #d6b77990; }
.heading-rule span { width: 44px; height: 1px; background: currentColor; }
.heading-rule i { font-size: 12px; line-height: 1; font-style: normal; }
.entry-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; width: min(100%, 564px); }
.entry { display: flex; align-items: center; justify-content: space-between; min-height: 96px; padding: 17px 25px; border: 1px solid; border-radius: 3px; transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.entry-text { display: flex; flex-direction: column; gap: 3px; }
.entry-category { font-size: 8px; font-weight: 600; letter-spacing: .18em; line-height: 1.6; }
.entry-title { font-size: 22px; font-weight: 600; letter-spacing: .07em; line-height: 1.6; }
.entry-arrow { font-size: 22px; line-height: 1; transition: transform .2s ease; }
.entry-player { background: linear-gradient(105deg, #e4c891, #c6a468); border-color: #edd4a1; color: #2c2417; box-shadow: 0 8px 35px #050c1230; }
.entry-player .entry-category { color: #5a472c; }
.entry-player:hover { background: linear-gradient(105deg, #f0d7a3, #d5b579); box-shadow: 0 8px 35px #d6b77921; }
.entry-dm { background: #111d22c4; border-color: #d6b7798a; color: #f2e3c7; backdrop-filter: blur(8px); }
.entry-dm .entry-category { color: #c2ae89; }
.entry-dm:hover { border-color: #eed19b; background: #192a2edf; }
.entry:hover { transform: translateY(-3px); }
.entry:hover .entry-arrow { transform: translate(2px, -2px); }
.hero-scroll { position: absolute; bottom: 29px; left: 50%; width: 34px; height: 34px; display: grid; place-items: center; transform: translateX(-50%); color: #dcc394; font-size: 20px; opacity: .72; transition: opacity .2s; }
.hero-scroll:hover { opacity: 1; }
.hero-edge { position: absolute; left: 52px; right: 52px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #d6b77945 10%, #d6b77945 90%, transparent); }
.world-content { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 84px; padding-block: 62px 74px; }
.section-heading { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 18px; row-gap: 2px; margin-bottom: 30px; }
.section-heading .eyebrow { order: 2; margin: 0; }
h2 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: .08em; line-height: 1.4; }
.announcement-list { border-top: 1px solid var(--line); }
.announcement { display: grid; grid-template-columns: 103px minmax(0, 1fr) 14px; align-items: center; column-gap: 26px; min-height: 88px; border-bottom: 1px solid var(--line); padding-block: 21px; }
.announcement time { font-variant-numeric: tabular-nums; font-size: 11px; letter-spacing: .04em; color: #9aaca9; }
.announcement h3 { margin: 0; font-size: 15px; font-weight: 400; letter-spacing: .04em; color: #e6e5db; }
.announcement-star { color: #c5a76b; font-size: 10px; }
.dice-section { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-left: 1px solid var(--line); padding-left: 32px; }
.dice-heading .eyebrow { margin-top: 4px; font-size: 8px; letter-spacing: .17em; }
.dice-heading h2 { margin-top: 8px; font-size: 18px; white-space: nowrap; }
.dice-button { border: 0; padding: 0; background: none; color: var(--gold); cursor: pointer; }
.dice-button:disabled { cursor: default; opacity: .45; }
.dice-face { position: relative; width: 74px; height: 78px; display: grid; place-items: center; isolation: isolate; transition: transform .25s ease; }
.dice-face::before, .dice-face::after { content: ""; position: absolute; z-index: -1; inset: 2px 0; clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%); }
.dice-face::before { background: #ac915b; }
.dice-face::after { inset: 3px 1px; background: #182323; }
.dice-lines { position: absolute; width: 51px; height: 54px; border: 1px solid #d6b77970; clip-path: polygon(50% 0, 100% 75%, 50% 100%, 0 75%); transform: rotate(180deg); z-index: -1; }
.dice-lines::before { content: ""; position: absolute; inset: 0; background: linear-gradient(30deg, transparent 47%, #d6b77942 48%, #d6b77942 49%, transparent 50%), linear-gradient(-30deg, transparent 47%, #d6b77942 48%, #d6b77942 49%, transparent 50%); }
#dice-face-value { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; line-height: 1; text-shadow: 0 1px 5px #101719; }
.dice-label { display: flex; justify-content: center; gap: 10px; margin-top: 8px; font-size: 10px; color: #b8b099; letter-spacing: .12em; }
.dice-button:not(:disabled):hover .dice-face { transform: rotate(8deg) translateY(-3px); }
.dice-button:not(:disabled):hover .dice-label { color: #e6ca8d; }
.dice-button.is-rolling .dice-face { animation: dice-tumble .55s ease-in-out; }
.dice-button.is-result .dice-face { animation: dice-reveal .35s ease-out; }
.site-footer { display: flex; align-items: center; gap: 28px; padding-block: 26px 31px; border-top: 1px solid #ffffff0d; font-size: 11px; color: #8c9995; }
.footer-brand { margin-right: auto; font-size: 9px; letter-spacing: .21em; color: #7e8b84; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--gold); }
.site-footer a > span { margin-left: 8px; color: #a59370; }
.footer-top { padding: 3px 7px; font-size: 17px; }
.about-page { background: radial-gradient(ellipse at 73% 23%, #b3975420, transparent 38%), var(--bg); }
.about-main { min-height: calc(100svh - 176px); padding-block: 107px 120px; }
.about-layout { max-width: 720px; }
.about-symbol { width: 68px; height: 68px; margin-bottom: 26px; object-fit: contain; opacity: .88; }
.about-main h1 { margin: 0 0 36px; font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(40px, 6vw, 64px); font-weight: 500; letter-spacing: .1em; line-height: 1.45; }
.about-prose { max-width: 570px; font-size: 17px; line-height: 2; color: #bec7bf; }
.about-prose p { margin: 0 0 22px; }
.about-return { display: inline-flex; align-items: center; gap: 35px; border-bottom: 1px solid #d6b77966; padding-block: 11px; margin-top: 34px; color: #dfc58e; font-size: 13px; }
.about-return:hover { border-color: #efd49b; color: #efd49b; }
@keyframes dice-tumble { 0% { transform: rotate(0) scale(1); } 25% { transform: rotate(-18deg) scale(.91); } 65% { transform: rotate(24deg) scale(1.08); } 100% { transform: rotate(0) scale(1); } }
@keyframes dice-reveal { 0% { filter: brightness(1.7); transform: scale(1.09); } 100% { filter: brightness(1); transform: scale(1); } }
@media (min-width: 1600px) { .hero { min-height: 750px; } .hero-content { padding-bottom: 125px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 72px); }
  .hero { min-height: 610px; }
  .hero-content { padding-top: 45px; padding-bottom: 85px; }
  .hero h1 { font-size: 65px; }
  .hero::before { background: linear-gradient(90deg, #101719de, #10171980 58%, #10171924), linear-gradient(0deg, #101719, transparent 48%); }
  .world-content { grid-template-columns: minmax(0, 1fr) 215px; gap: 36px; }
  .dice-section { padding-left: 24px; gap: 12px; }
  .dice-heading h2 { font-size: 16px; }
  .dice-heading .eyebrow { font-size: 7px; letter-spacing: .1em; }
  .announcement { grid-template-columns: 90px minmax(0, 1fr) 10px; column-gap: 18px; }
  .hero-edge { left: 36px; right: 36px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { min-height: 80px; gap: 16px; }
  .brand { gap: 9px; }
  .brand img { width: 30px; height: 30px; }
  .brand-name { font-size: 12px; }
  .brand-english { font-size: 6px; }
  .site-nav { gap: 24px; }
  .site-nav a { font-size: 12px; }
  .site-nav .nav-current::after { bottom: 17px; }
  .hero { min-height: 590px; align-items: end; }
  .hero-landscape { background-position: 76% center; }
  .hero::before { background: linear-gradient(0deg, #101719 0%, #101719dd 16%, #1017198f 49%, #10171918 84%), linear-gradient(90deg, #10171966, transparent 75%); }
  .hero-content { padding-top: 90px; padding-bottom: 94px; }
  .hero-eyebrow { font-size: 9px; margin-bottom: 18px; gap: 10px; }
  .hero h1 { font-size: clamp(39px, 8.9vw, 61px); }
  .heading-rule { margin-block: 22px 32px; }
  .entry-links { gap: 12px; width: 100%; }
  .entry { min-height: 90px; padding: 15px 17px; }
  .entry-title { font-size: 19px; }
  .entry-category { font-size: 7px; letter-spacing: .12em; }
  .entry-arrow { font-size: 18px; }
  .hero-scroll { bottom: 29px; }
  .hero-edge { left: 22px; right: 22px; }
  .world-content { grid-template-columns: 1fr; gap: 42px; padding-block: 44px 48px; }
  .section-heading { margin-bottom: 23px; }
  .section-heading .eyebrow { font-size: 8px; }
  h2 { font-size: 21px; }
  .announcement { min-height: 87px; column-gap: 14px; grid-template-columns: 84px minmax(0, 1fr) 10px; }
  .announcement time { font-size: 10px; }
  .announcement h3 { font-size: 14px; }
  .dice-section { align-items: center; justify-content: flex-start; gap: 40px; padding: 0; border: 0; }
  .dice-heading .eyebrow { font-size: 8px; letter-spacing: .17em; }
  .dice-heading h2 { font-size: 18px; }
  .dice-button { display: flex; align-items: center; gap: 19px; }
  .dice-label { margin-top: 0; }
  .dice-face { width: 61px; height: 65px; }
  .dice-lines { width: 43px; height: 46px; }
  #dice-face-value { font-size: 21px; }
  .site-footer { gap: 17px; padding-block: 23px; font-size: 10px; }
  .footer-brand { font-size: 8px; letter-spacing: .12em; }
  .about-main { padding-block: 72px 83px; min-height: calc(100svh - 150px); }
  .about-prose { font-size: 16px; }
}
@media (max-width: 380px) {
  .site-nav { gap: 17px; }
  .brand-name { font-size: 11px; letter-spacing: .04em; }
  .brand-english { letter-spacing: .18em; }
  .entry { padding-inline: 13px; }
  .entry-title { font-size: 17px; }
  .entry-category { font-size: 6px; }
  .announcement { grid-template-columns: 1fr 12px; row-gap: 8px; }
  .announcement time { grid-column: 1 / -1; }
  .footer-brand { letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
