@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Zhi+Mang+Xing&family=Liu+Jian+Mao+Cao&family=Long+Cang&family=Noto+Serif+TC:wght@700;900&display=swap');
:root{
  --bg:#07080d;--bg2:#0d0f17;--panel:#12141f;--panel2:#191b28;--line:rgba(238,190,92,.26);
  --gold:#e9b75b;--gold2:#ffdf99;--red:#be1732;--text:#f8f0df;--muted:#bfb4a5;--dark:#05060a;
  --shadow:0 28px 90px rgba(0,0,0,.5);--radius:24px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:"Noto Sans TC","Microsoft JhengHei",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 10% 0%,rgba(190,23,50,.2),transparent 36rem),radial-gradient(circle at 92% 10%,rgba(233,183,91,.13),transparent 34rem),linear-gradient(180deg,#06070b,#11131c 46%,#06070b);min-height:100vh}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:99;background:rgba(5,6,10,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(233,183,91,.18)}.navbar{height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-weight:950;color:var(--gold2);letter-spacing:.03em}.brand img{width:132px;filter:drop-shadow(0 0 22px rgba(233,183,91,.24))}.brand span{white-space:nowrap;text-shadow:0 0 18px rgba(233,183,91,.18)}.nav-links{display:flex;align-items:center;gap:7px}.nav-links a{padding:10px 13px;border-radius:999px;font-size:15px;font-weight:850;color:#eee2cf;transition:.2s ease;white-space:nowrap}.nav-links a:hover,.nav-links a.active{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#16100a;box-shadow:0 10px 28px rgba(233,183,91,.22)}.nav-links .nav-panel{border:1px solid rgba(233,183,91,.35);color:var(--gold2);background:rgba(233,183,91,.08)}.menu-toggle{display:none;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:var(--text);border-radius:12px;padding:10px 12px;font-size:18px}.hero{position:relative;isolation:isolate;min-height:calc(100vh - 82px);display:flex;align-items:center;overflow:hidden;background-image:linear-gradient(90deg,rgba(5,6,10,.92),rgba(5,6,10,.52) 45%,rgba(5,6,10,.12)),var(--hero-img);background-position:center;background-size:cover}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(7,8,13,.96));z-index:-1}.hero:after{content:"";position:absolute;inset:auto 0 0 0;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:.7}.hero-content{width:min(830px,100%);padding:92px 0 118px}.kicker{display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border-radius:999px;border:1px solid var(--line);background:rgba(0,0,0,.32);color:var(--gold2);font-size:13px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 18px var(--red)}h1,h2,h3{font-family:"Noto Serif TC","Microsoft JhengHei",serif;line-height:1.15;margin:0}h1{font-size:clamp(48px,7vw,98px);margin-top:22px;letter-spacing:.04em;text-shadow:0 8px 38px rgba(0,0,0,.75)}h2{font-size:clamp(32px,4vw,54px);letter-spacing:.03em}h3{font-size:24px;color:#fff0c6}.gold,.text-gold{color:var(--gold2)}.lead,.page-lead{font-size:clamp(18px,2.2vw,24px);line-height:1.86;color:#efe4d3;text-shadow:0 3px 20px rgba(0,0,0,.72);max-width:850px}.lead{margin:24px 0 32px}.page-lead{margin:20px 0 0}.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 22px;border-radius:999px;font-weight:950;letter-spacing:.03em;border:1px solid transparent;transition:.2s ease;cursor:pointer}.btn-primary{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#170f07;box-shadow:0 16px 38px rgba(233,183,91,.25)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 22px 50px rgba(233,183,91,.34)}.btn-ghost{border-color:rgba(233,183,91,.36);background:rgba(0,0,0,.35);color:#f4ead8}.btn-ghost:hover{border-color:var(--gold);background:rgba(233,183,91,.12);transform:translateY(-2px)}.hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:42px}.stat{padding:18px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(20,22,32,.78),rgba(9,10,15,.62));box-shadow:var(--shadow)}.stat strong{display:block;color:var(--gold2);font-size:25px}.stat span{color:var(--muted);font-size:14px}.section{padding:90px 0;position:relative}.section-alt{background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(0,0,0,.12));border-top:1px solid rgba(233,183,91,.07);border-bottom:1px solid rgba(233,183,91,.07)}.section-title{margin-bottom:34px;display:flex;justify-content:space-between;gap:22px;align-items:end}.section-title.center{display:block;text-align:center;max-width:820px;margin-inline:auto;margin-bottom:38px}.section-title p,.split-grid p,.card p,.image-card p,.feature-card span,.story-card span,.mini-card span,.race-grid span,.timeline span,.download-card p{color:var(--muted);line-height:1.85}.grid{display:grid;gap:22px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.small-gap{gap:14px}.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}.align-center{align-items:center}.reverse> :first-child{order:2}.media-card,.device-frame,.image-card,.story-card,.raid-grid article,.player-frame-card{border:1px solid var(--line);background:linear-gradient(180deg,rgba(25,27,40,.88),rgba(9,10,16,.88));border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);position:relative}.media-card img{width:100%;height:100%;object-fit:cover;min-height:360px}.tilted{transform:rotate(.7deg)}.device-frame{padding:16px}.device-frame:before{content:"";display:block;height:24px;margin:-16px -16px 14px;background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.02));border-bottom:1px solid rgba(233,183,91,.18)}.device-frame img{margin:auto;border-radius:14px}.device-frame.slim{max-width:420px;margin-inline:auto}.media-stack{display:grid;grid-template-columns:1fr 1fr;gap:18px}.media-stack img{height:310px;width:100%;object-fit:cover;border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow)}.media-stack img:first-child{grid-column:1/-1;height:340px}.card{position:relative;overflow:hidden;border:1px solid var(--line);background:linear-gradient(180deg,rgba(22,24,34,.92),rgba(12,13,20,.92));border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}.card:before,.feature-card:before,.image-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 0%,rgba(233,183,91,.13),transparent 18rem);pointer-events:none}.icon{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;margin-bottom:18px;background:linear-gradient(135deg,rgba(190,23,50,.88),rgba(233,183,91,.22));border:1px solid rgba(233,183,91,.25);font-weight:950;color:#fff4d7}.feature-card{position:relative;display:flex;flex-direction:column;min-height:310px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:#10121a;box-shadow:var(--shadow);transition:.22s ease}.feature-card:hover{transform:translateY(-5px);border-color:rgba(233,183,91,.55)}.feature-card img{height:168px;width:100%;object-fit:cover}.feature-card strong{font-family:"Noto Serif TC","Microsoft JhengHei",serif;font-size:24px;color:#fff0c6;margin:18px 18px 8px}.feature-card span{margin:0 18px 20px}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.story-card{min-height:340px}.story-card.wide{grid-row:span 2}.story-card img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0;opacity:.72}.story-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.82))}.story-card div{position:absolute;inset:auto 24px 24px;z-index:2}.story-card b{display:block;color:#fff0c6;font-family:"Noto Serif TC","Microsoft JhengHei",serif;font-size:26px;margin-bottom:8px}.page-hero{padding:102px 0 62px;position:relative;isolation:isolate;background-image:linear-gradient(90deg,rgba(5,6,10,.88),rgba(5,6,10,.42)),var(--hero-img);background-size:cover;background-position:center}.page-hero.compact{padding-bottom:46px}.page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(7,8,13,.82));z-index:-1}.page-hero h1{font-size:clamp(40px,6vw,72px)}.breadcrumb{display:flex;gap:10px;margin-top:18px;color:var(--muted)}.breadcrumb a{color:var(--gold2)}.badge-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.badge{padding:8px 12px;border:1px solid rgba(233,183,91,.24);background:rgba(255,255,255,.05);border-radius:999px;color:#eadfcf;font-weight:850;font-size:14px}.mini-list{display:grid;gap:14px;margin-top:24px}.mini-list div,.mini-card,.number-grid div,.timeline div,.race-grid article{border:1px solid rgba(233,183,91,.18);background:rgba(255,255,255,.045);border-radius:18px;padding:17px}.mini-list b,.mini-card b,.timeline b,.race-grid b{display:block;color:#fff0c6;font-size:18px;margin-bottom:5px}.mini-list span,.mini-card span{color:var(--muted);line-height:1.7}.image-card img{height:205px;width:100%;object-fit:cover}.image-card div{padding:22px}.image-card h3{margin-bottom:8px}.number-grid{display:grid;gap:14px;margin-top:24px}.number-grid div{display:grid;grid-template-columns:64px 1fr;align-items:center}.number-grid strong{font-size:34px;color:var(--gold2);font-family:Georgia,serif}.race-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.timeline{display:grid;gap:14px;margin-top:24px}.timeline div{border-left:4px solid var(--gold)}.raid-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.raid-grid article img{height:190px;width:100%;object-fit:cover}.raid-grid article div{padding:20px}.raid-grid article span{color:var(--gold2);font-weight:900;font-size:13px;letter-spacing:.12em}.raid-grid article b{display:block;font-family:"Noto Serif TC","Microsoft JhengHei",serif;font-size:25px;color:#fff0c6;margin:4px 0 8px}.raid-grid article p{color:var(--muted);line-height:1.75;margin:0}.info-panel{border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:rgba(0,0,0,.18);box-shadow:var(--shadow)}.info-table{width:100%;border-collapse:separate;border-spacing:0 10px}.info-table th,.info-table td{padding:16px 18px;background:rgba(255,255,255,.045);border-top:1px solid rgba(233,183,91,.12);border-bottom:1px solid rgba(233,183,91,.12);text-align:left;line-height:1.65}.info-table th{width:220px;color:var(--gold2);font-weight:950;border-left:1px solid rgba(233,183,91,.12);border-radius:14px 0 0 14px}.info-table td{color:#e1d7c7;border-right:1px solid rgba(233,183,91,.12);border-radius:0 14px 14px 0}.download-card{display:flex;gap:20px;align-items:flex-start;border:1px solid var(--line);background:linear-gradient(180deg,rgba(22,24,34,.92),rgba(12,13,20,.92));border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.download-card .icon{flex:0 0 52px;margin:0}.steps{font-size:18px;line-height:2;color:#e5d9c7}.steps li{margin-bottom:6px}.notice{border-left:4px solid var(--gold);padding:18px 20px;background:rgba(233,183,91,.08);border-radius:16px;color:#eadfcf;line-height:1.8}.mt-32{margin-top:32px}.cta-section{padding-top:40px}.cta-box{display:flex;justify-content:space-between;align-items:center;gap:26px;border:1px solid var(--line);border-radius:30px;padding:34px;background:linear-gradient(135deg,rgba(190,23,50,.18),rgba(233,183,91,.09),rgba(0,0,0,.12));box-shadow:var(--shadow)}.cta-box p{color:var(--muted);line-height:1.8}.footer{padding:44px 0;border-top:1px solid rgba(233,183,91,.16);background:#050508}.footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:center}.footer img{width:160px}.footer p{color:var(--muted);margin:8px 0 0}.footer-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.footer-links a{color:#dcd0bd;border:1px solid rgba(255,255,255,.08);padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.035)}code{color:var(--gold2);background:rgba(0,0,0,.3);padding:2px 6px;border-radius:7px}.iframe-section{padding-top:42px}.player-frame-card{background:#090a0f}.frame-toolbar{height:44px;display:flex;align-items:center;gap:8px;padding:0 14px;border-bottom:1px solid rgba(233,183,91,.18);background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02))}.frame-toolbar span{width:12px;height:12px;border-radius:50%;background:rgba(233,183,91,.55)}.frame-toolbar span:nth-child(2){background:rgba(190,23,50,.75)}.frame-toolbar span:nth-child(3){background:rgba(255,255,255,.25)}.frame-toolbar b{margin-left:10px;color:#d8cab5;font-size:14px}.player-frame{display:block;width:100%;height:78vh;min-height:720px;border:0;background:#111522}.text-gold:hover{text-decoration:underline}
@media (max-width:1180px){.brand span{display:none}.nav-links a{font-size:14px;padding:9px 10px}.grid-4,.raid-grid,.race-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split-grid{grid-template-columns:1fr;gap:30px}.reverse> :first-child{order:0}.media-stack img,.media-stack img:first-child{height:270px}.story-grid{grid-template-columns:1fr}.story-card,.story-card.wide{min-height:360px;grid-row:auto}.hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:880px){.brand img{width:132px}.navbar{height:74px}.menu-toggle{display:inline-flex}.nav-links{position:fixed;inset:74px 16px auto 16px;display:none;flex-direction:column;align-items:stretch;padding:16px;border:1px solid var(--line);border-radius:20px;background:rgba(8,9,14,.98);box-shadow:var(--shadow)}.nav-links.open{display:flex}.nav-links a{text-align:center}.hero{min-height:auto}.hero-content{padding:82px 0 96px}.grid-3{grid-template-columns:1fr}.cta-box{display:block}.cta-box .actions{margin-top:20px}.section-title{display:block}.footer-inner{display:block}.footer-links{justify-content:flex-start;margin-top:20px}.device-frame.slim{max-width:100%}.player-frame{height:72vh;min-height:620px}}
@media (max-width:640px){.container{width:min(100% - 28px,1180px)}.hero-stats,.grid-2,.grid-4,.raid-grid,.race-grid{grid-template-columns:1fr}.section{padding:62px 0}.hero-content{padding:70px 0 82px}.media-stack{grid-template-columns:1fr}.media-stack img,.media-stack img:first-child{height:240px}.feature-card{min-height:auto}.info-table th,.info-table td{display:block;width:100%;border-radius:14px}.info-table th{border-right:1px solid rgba(233,183,91,.12);border-bottom:0}.info-table td{border-left:1px solid rgba(233,183,91,.12)}.download-card{flex-direction:column}.number-grid div{grid-template-columns:1fr}.number-grid strong{font-size:26px}.story-card{min-height:300px}.player-frame{height:70vh;min-height:520px}.page-hero{padding-top:76px}}


/* v5 updates: clearer generated boss art, race background, clan intro */
.wide-art-card{margin-top:30px;border:1px solid var(--line);border-radius:30px;overflow:hidden;box-shadow:var(--shadow);background:linear-gradient(180deg,rgba(25,27,40,.88),rgba(9,10,16,.88));position:relative}.wide-art-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(5,6,10,.36));pointer-events:none}.wide-art-card img{width:100%;height:430px;object-fit:cover}.race-art img{object-position:center}.boss-feature-grid .image-card img{height:340px;object-fit:cover}.raid-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-hero{background-position:center}.feature-card img{height:160px;object-fit:cover}
@media (max-width:1180px){.raid-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wide-art-card img{height:330px}.boss-feature-grid .image-card img{height:280px}}
@media (max-width:640px){.raid-grid{grid-template-columns:1fr}.wide-art-card img{height:230px}.boss-feature-grid .image-card img{height:230px}}


/* =========================================================
   v6 cinematic background upgrade
   參考舊版首頁的「有背景、有層次」視覺：不再讓後方只剩一片黑。
   ========================================================= */
html{background:#05060a}
body{
  background:
    radial-gradient(circle at 12% 0%,rgba(190,23,50,.24),transparent 34rem),
    radial-gradient(circle at 88% 8%,rgba(233,183,91,.16),transparent 38rem),
    linear-gradient(180deg,rgba(5,6,10,.82),rgba(7,8,13,.94) 36%,rgba(5,6,10,.98)),
    url('../img/darkraven-hero-v3.jpg') top center/100% auto no-repeat fixed,
    #07080d;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 22% 16%,rgba(233,183,91,.11),transparent 28rem),
    radial-gradient(circle at 82% 72%,rgba(190,23,50,.13),transparent 32rem),
    linear-gradient(120deg,rgba(255,255,255,.04) 0 1px,transparent 1px 140px),
    linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.55));
  opacity:.95;
}
.hero.hero-depth{
  background-image:
    linear-gradient(90deg,rgba(5,6,10,.86),rgba(5,6,10,.48) 46%,rgba(5,6,10,.10)),
    var(--hero-img);
  background-position:center;
}
.hero.hero-depth:before{
  background:
    radial-gradient(circle at 20% 62%,rgba(190,23,50,.22),transparent 28rem),
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(7,8,13,.90) 78%,rgba(7,8,13,1));
}
.hero.hero-depth .lead,
.hero.hero-depth h1{
  text-shadow:0 8px 34px rgba(0,0,0,.92),0 0 22px rgba(233,183,91,.13);
}
.section{
  isolation:isolate;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(7,8,13,.78),rgba(7,8,13,.91)),
    radial-gradient(circle at 14% 0%,rgba(233,183,91,.08),transparent 28rem),
    var(--section-scene,url('../img/generated/darkraven_castle_banner.jpg')) center/cover no-repeat fixed;
}
.section-alt{
  background:
    linear-gradient(180deg,rgba(11,12,20,.80),rgba(5,6,10,.92)),
    radial-gradient(circle at 86% 8%,rgba(190,23,50,.13),transparent 30rem),
    var(--section-scene,url('../img/darkraven-hero-v3.jpg')) center/cover no-repeat fixed;
}
.section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(233,183,91,.045) 0 1px,transparent 1px 160px),
    linear-gradient(180deg,rgba(255,255,255,.035) 0 1px,transparent 1px 150px),
    radial-gradient(circle at 18% 18%,rgba(233,183,91,.10),transparent 24rem),
    radial-gradient(circle at 90% 84%,rgba(190,23,50,.10),transparent 28rem);
  opacity:.68;
}
.section::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:1px;
  z-index:0;
  background:linear-gradient(90deg,transparent,rgba(233,183,91,.42),transparent);
  pointer-events:none;
}
.section > .container{position:relative;z-index:1}
section.section:nth-of-type(2n){--section-scene:url('../img/generated/v5/world_races_bg_v5.jpg')}
section.section:nth-of-type(2n+1){--section-scene:url('../img/generated/v5/clan_intro_v5.jpg')}
section.section.cta-section{--section-scene:url('../img/generated/v5/fire_dragon_valakas_v5.jpg')}
section.section.iframe-section{--section-scene:url('../img/generated/darkraven_castle_banner.jpg')}
.page-hero{
  background-image:
    linear-gradient(90deg,rgba(5,6,10,.90),rgba(5,6,10,.50) 52%,rgba(5,6,10,.22)),
    var(--hero-img),
    url('../img/darkraven-hero-v3.jpg');
  background-attachment:scroll,scroll,fixed;
  box-shadow:inset 0 -120px 110px rgba(7,8,13,.88);
}
.page-hero:before{
  background:
    radial-gradient(circle at 18% 10%,rgba(233,183,91,.12),transparent 26rem),
    linear-gradient(180deg,rgba(0,0,0,.04),rgba(7,8,13,.88));
}
.card,.media-card,.device-frame,.image-card,.story-card,.raid-grid article,.player-frame-card,.download-card,.wide-art-card,.cta-box,.info-panel{
  backdrop-filter:blur(3px);
  background-color:rgba(12,14,22,.72);
}
.feature-card,.stat,.mini-list div,.mini-card,.number-grid div,.timeline div,.race-grid article{
  backdrop-filter:blur(2px);
}
.media-card,.image-card,.story-card,.feature-card,.raid-grid article,.wide-art-card{
  box-shadow:0 26px 90px rgba(0,0,0,.58),0 0 0 1px rgba(233,183,91,.04) inset;
}
.footer{
  background:
    linear-gradient(180deg,rgba(5,6,10,.94),rgba(2,3,6,.98)),
    url('../img/darkraven-hero-v3.jpg') center bottom/cover no-repeat;
}
@media (max-width:880px){
  body{background-attachment:scroll}
  .section,.section-alt{background-attachment:scroll}
}


/* === V7 gradient polish overrides === */
.info-panel{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(255,255,255,.06),rgba(9,11,18,.84) 38%,rgba(6,8,14,.96) 100%),
    radial-gradient(circle at 0% 50%,rgba(233,183,91,.11),transparent 42%),
    radial-gradient(circle at 100% 0%,rgba(77,98,164,.10),transparent 34%);
  border:1px solid rgba(233,183,91,.18);
  box-shadow:0 30px 90px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.02);
}
.info-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(233,183,91,.08),transparent 18%),
    linear-gradient(135deg,transparent 52%,rgba(255,255,255,.035) 100%);
  opacity:.9;
}
.info-table{
  position:relative;
  z-index:1;
  border-spacing:0 12px;
}
.info-table th,.info-table td{
  position:relative;
  background:
    linear-gradient(90deg,rgba(255,255,255,.07) 0%,rgba(25,28,42,.95) 36%,rgba(10,12,19,.97) 100%),
    radial-gradient(circle at 12% 50%,rgba(233,183,91,.09),transparent 42%),
    radial-gradient(circle at 100% 0,rgba(83,108,186,.08),transparent 38%);
  backdrop-filter:blur(5px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 10px 22px rgba(0,0,0,.14);
}
.info-table th::after,.info-table td::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.03),transparent 45%,rgba(233,183,91,.03) 72%,transparent);
}
.info-table th{
  color:var(--gold2);
  background:
    linear-gradient(90deg,rgba(233,183,91,.18) 0%,rgba(40,30,18,.84) 40%,rgba(15,16,24,.96) 100%),
    radial-gradient(circle at 0% 50%,rgba(255,222,164,.12),transparent 40%);
}
.info-table td a{font-weight:900;text-decoration:none}

.card,.feature-card,.mini-list div,.mini-card,.number-grid div,.timeline div,.race-grid article,.download-card,.wide-art-card,.cta-box,.panel-toolbar,.player-frame-card,.device-frame,.image-card,.media-card,.raid-grid article{
  background:
    linear-gradient(90deg,rgba(255,255,255,.065) 0%,rgba(22,24,36,.94) 30%,rgba(10,12,19,.97) 100%),
    radial-gradient(circle at 0% 0%,rgba(233,183,91,.12),transparent 34%),
    radial-gradient(circle at 100% 0%,rgba(84,104,172,.08),transparent 30%),
    linear-gradient(180deg,rgba(22,24,34,.92),rgba(12,13,20,.92));
}
.card::after,.feature-card::after,.mini-list div::after,.mini-card::after,.number-grid div::after,.timeline div::after,.race-grid article::after,.download-card::after,.wide-art-card::after,.cta-box::after,.player-frame-card::after,.device-frame::after,.image-card::after,.media-card::after,.raid-grid article::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(135deg,rgba(255,255,255,.035),transparent 42%,rgba(233,183,91,.025) 78%,transparent),
    radial-gradient(circle at 92% 18%,rgba(255,255,255,.05),transparent 18%);
}
.card,.download-card,.wide-art-card,.cta-box,.feature-card,.mini-list div,.mini-card,.number-grid div,.timeline div,.race-grid article,.raid-grid article{position:relative;overflow:hidden}
.feature-card strong,.card h3,.download-card h3,.wide-art-card h3{position:relative;z-index:1}
.feature-card span,.card p,.download-card p,.mini-list span,.mini-card span,.number-grid span,.timeline span,.race-grid span,.raid-grid article p{position:relative;z-index:1}
.icon{box-shadow:0 10px 22px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08)}

.section-alt{
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(0,0,0,.12)),
    radial-gradient(circle at 14% 22%,rgba(233,183,91,.06),transparent 22rem),
    radial-gradient(circle at 88% 14%,rgba(77,98,164,.05),transparent 18rem);
}
.footer-links a,.badge,.btn-ghost,.mini-list div,.mini-card,.number-grid div,.timeline div,.race-grid article{box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}


/* === V8 brighter hero background overrides === */
.hero{
  background-image:
    linear-gradient(90deg,rgba(5,6,10,.76),rgba(5,6,10,.34) 45%,rgba(5,6,10,.10)),
    var(--hero-img);
  background-position:center right;
}
.hero:before{
  background:
    radial-gradient(circle at 76% 28%,rgba(255,255,255,.06),transparent 20rem),
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(7,8,13,.82));
}

.page-hero{
  background-image:
    linear-gradient(90deg,rgba(5,6,10,.68),rgba(5,6,10,.26) 52%,rgba(5,6,10,.10)),
    var(--hero-img),
    url('../img/darkraven-hero-v3.jpg');
  background-position:left center, center right, center right;
  background-size:cover, cover, cover;
  box-shadow:inset 0 -90px 90px rgba(7,8,13,.74);
}
.page-hero:before{
  background:
    radial-gradient(circle at 78% 28%,rgba(255,255,255,.08),transparent 20rem),
    radial-gradient(circle at 18% 10%,rgba(233,183,91,.10),transparent 24rem),
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(7,8,13,.70));
}
.page-hero .page-lead,
.page-hero .breadcrumb,
.page-hero p{
  text-shadow:0 3px 18px rgba(0,0,0,.72);
}
@media (max-width:980px){
  .hero{background-position:center center}
  .page-hero{background-position:center center, 68% center, 68% center}
}


/* === V9 visible hero backgrounds fix === */
.hero,
.page-hero{
  overflow:hidden;
}

.hero{
  background:
    linear-gradient(90deg,rgba(5,6,10,.54),rgba(5,6,10,.20) 42%,rgba(5,6,10,.06) 70%,rgba(5,6,10,.14) 100%),
    radial-gradient(circle at 10% 50%,rgba(125,10,32,.30),transparent 32%),
    radial-gradient(circle at 88% 20%,rgba(233,183,91,.10),transparent 28%);
  border-bottom:1px solid rgba(233,183,91,.22);
  box-shadow:inset 0 -90px 100px rgba(7,8,13,.55);
}
.hero:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:var(--hero-img),url('../img/darkraven-hero-v4.jpg');
  background-size:cover;
  background-position:center right;
  filter:brightness(1.42) saturate(1.10) contrast(1.04);
  transform:scale(1.02);
}
.hero:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 76% 28%,rgba(255,255,255,.12),transparent 20rem),
    linear-gradient(180deg,rgba(0,0,0,.01),rgba(7,8,13,.45) 72%,rgba(7,8,13,.76) 100%);
}
.hero-content{position:relative;z-index:2}

.page-hero{
  background:
    linear-gradient(90deg,rgba(5,6,10,.50),rgba(5,6,10,.16) 48%,rgba(5,6,10,.04) 74%,rgba(5,6,10,.12) 100%),
    radial-gradient(circle at 12% 42%,rgba(125,10,32,.22),transparent 30%),
    radial-gradient(circle at 84% 18%,rgba(233,183,91,.08),transparent 22%);
  border-bottom:1px solid rgba(233,183,91,.18);
  box-shadow:inset 0 -72px 90px rgba(7,8,13,.42);
}
.page-hero:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:var(--hero-img),url('../img/darkraven-hero-v3.jpg');
  background-size:cover;
  background-position:center right;
  filter:brightness(1.38) saturate(1.08) contrast(1.02);
  transform:scale(1.02);
}
.page-hero:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 78% 28%,rgba(255,255,255,.12),transparent 18rem),
    linear-gradient(180deg,rgba(0,0,0,.00),rgba(7,8,13,.30) 70%,rgba(7,8,13,.60));
}
.page-hero .container{position:relative;z-index:2}
.page-hero .page-lead,.page-hero .breadcrumb,.page-hero p{color:#f2e7d8;text-shadow:0 2px 16px rgba(0,0,0,.65)}
.lead{color:#f4e8d7}

@media (max-width:980px){
  .hero:before,.page-hero:before{background-position:68% center}
}
@media (max-width:640px){
  .hero:before,.page-hero:before{background-position:64% center;filter:brightness(1.24) saturate(1.06)}
  .hero{background:linear-gradient(180deg,rgba(5,6,10,.38),rgba(5,6,10,.56)),radial-gradient(circle at 20% 20%,rgba(125,10,32,.22),transparent 26%)}
  .page-hero{background:linear-gradient(180deg,rgba(5,6,10,.34),rgba(5,6,10,.54)),radial-gradient(circle at 16% 18%,rgba(125,10,32,.18),transparent 20%)}
}


/* === V10 homepage samurai hero image === */
.hero:before{
  background-image:var(--hero-img),url('../img/generated/darkraven_samurai_banner.jpg');
  background-size:cover,cover;
  background-position:center center,center center;
  filter:brightness(1.18) saturate(1.08) contrast(1.03);
}
.page-hero:before{
  background-image:var(--hero-img),url('../img/generated/darkraven_castle_banner.jpg');
  background-size:cover,cover;
  background-position:center center,center center;
}
@media (min-width:981px){
  .hero{min-height:760px}
  .hero-content{width:min(760px,100%)}
}


/* === V11 homepage carousel hero === */
.hero.hero-slider{
  min-height:760px;
  background:none;
  position:relative;
  isolation:isolate;
}
.hero.hero-slider:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(5,6,10,.58),rgba(5,6,10,.18) 42%,rgba(5,6,10,.08) 72%,rgba(5,6,10,.18) 100%),
    radial-gradient(circle at 12% 48%,rgba(125,10,32,.34),transparent 30%),
    radial-gradient(circle at 85% 18%,rgba(233,183,91,.10),transparent 24%);
}
.hero.hero-slider:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 78% 30%,rgba(255,255,255,.10),transparent 18rem),
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(7,8,13,.36) 70%,rgba(7,8,13,.72) 100%);
  border-bottom:1px solid rgba(233,183,91,.22);
}
.hero-slides{
  position:absolute;
  inset:0;
  z-index:-3;
}
.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center center;
  opacity:0;
  transform:scale(1.03);
  transition:opacity .9s ease, transform 6s ease;
}
.hero-slide.active{
  opacity:1;
  transform:scale(1);
}
.hero-slider .hero-content{position:relative;z-index:2;width:min(820px,100%)}
.hero-slider .lead,.hero-slider h1{text-shadow:0 8px 34px rgba(0,0,0,.92),0 0 22px rgba(233,183,91,.16)}
.hero-slide-meta{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
  padding:14px 18px;
  width:fit-content;
  max-width:100%;
  border-radius:18px;
  border:1px solid rgba(233,183,91,.22);
  background:linear-gradient(135deg,rgba(8,10,18,.62),rgba(8,10,18,.38));
  backdrop-filter:blur(8px);
  box-shadow:0 18px 42px rgba(0,0,0,.26);
}
.hero-slide-tag{
  padding:7px 12px;
  border-radius:999px;
  background:rgba(233,183,91,.12);
  color:var(--gold2);
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
}
.hero-slide-meta strong{
  font-size:22px;
  color:#fff0c6;
  font-family:"Noto Serif TC","Microsoft JhengHei",serif;
}
.hero-indicators{display:flex;gap:10px;align-items:center}
.hero-dot{
  width:13px;height:13px;border-radius:50%;border:1px solid rgba(233,183,91,.55);
  background:rgba(255,255,255,.14);cursor:pointer;padding:0;transition:.2s ease;
  box-shadow:0 0 0 0 rgba(233,183,91,0);
}
.hero-dot.active,.hero-dot:hover{
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  transform:scale(1.08);
  box-shadow:0 0 16px rgba(233,183,91,.45);
}
@media (max-width:980px){
  .hero.hero-slider{min-height:690px}
  .hero-slide-meta{gap:12px}
}
@media (max-width:640px){
  .hero.hero-slider{min-height:620px}
  .hero-slide{background-position:66% center}
  .hero-slide-meta{padding:12px 14px}
  .hero-slide-meta strong{font-size:18px}
}


/* === V12 restore subpage hero to V9 === */
.page-hero{
  background:
    linear-gradient(90deg,rgba(5,6,10,.50),rgba(5,6,10,.16) 48%,rgba(5,6,10,.04) 74%,rgba(5,6,10,.12) 100%),
    radial-gradient(circle at 12% 42%,rgba(125,10,32,.22),transparent 30%),
    radial-gradient(circle at 84% 18%,rgba(233,183,91,.08),transparent 22%);
  border-bottom:1px solid rgba(233,183,91,.18);
  box-shadow:inset 0 -72px 90px rgba(7,8,13,.42);
}
.page-hero:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:var(--hero-img),url('../img/darkraven-hero-v3.jpg');
  background-size:cover,cover;
  background-position:center right,center right;
  filter:brightness(1.38) saturate(1.08) contrast(1.02);
  transform:scale(1.02);
}
.page-hero:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 78% 28%,rgba(255,255,255,.12),transparent 18rem),
    linear-gradient(180deg,rgba(0,0,0,.00),rgba(7,8,13,.30) 70%,rgba(7,8,13,.60));
}
.page-hero .container{position:relative;z-index:2}
.page-hero .page-lead,.page-hero .breadcrumb,.page-hero p{color:#f2e7d8;text-shadow:0 2px 16px rgba(0,0,0,.65)}

@media (max-width:980px){
  .page-hero:before{background-position:68% center,68% center}
}
@media (max-width:640px){
  .page-hero:before{background-position:64% center,64% center;filter:brightness(1.24) saturate(1.06)}
  .page-hero{background:linear-gradient(180deg,rgba(5,6,10,.34),rgba(5,6,10,.54)),radial-gradient(circle at 16% 18%,rgba(125,10,32,.18),transparent 20%)}
}


/* === V13 SAMURAI:CROW official-preview inspired video hero === */
.hero-video-hero{
  min-height:820px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#030407 url('../img/generated/samurai_crow_video_poster.jpg') center/cover no-repeat;
  border-bottom:1px solid rgba(234,195,112,.32);
  box-shadow:inset 0 -120px 120px rgba(7,8,13,.78),0 24px 80px rgba(0,0,0,.32);
}
.hero-video-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(3,4,7,.84),rgba(3,4,7,.42) 38%,rgba(3,4,7,.16) 66%,rgba(3,4,7,.42)),
    radial-gradient(circle at 16% 56%,rgba(165,0,28,.34),transparent 34rem),
    radial-gradient(circle at 82% 18%,rgba(255,242,202,.16),transparent 24rem),
    repeating-linear-gradient(100deg,rgba(255,255,255,.035) 0 1px,transparent 1px 160px);
  pointer-events:none;
}
.hero-video-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(7,8,13,.34) 68%,rgba(7,8,13,.86)),
    radial-gradient(circle at 73% 30%,rgba(255,255,255,.11),transparent 18rem),
    radial-gradient(circle at 50% 120%,rgba(200,20,42,.22),transparent 28rem);
}
.hero-bg-video,.hero-video-poster{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  pointer-events:none;
}
.hero-bg-video{
  z-index:-4;
  filter:brightness(1.08) contrast(1.09) saturate(.9);
  transform:scale(1.01);
}
.hero-video-poster{
  z-index:-5;
  background:url('../img/generated/samurai_crow_video_poster.jpg') center/cover no-repeat;
}
.hero-ink-wash{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.7;
  background:
    radial-gradient(ellipse at 12% 22%,rgba(255,255,255,.08),transparent 23rem),
    radial-gradient(ellipse at 8% 78%,rgba(0,0,0,.64),transparent 35rem),
    radial-gradient(ellipse at 92% 84%,rgba(0,0,0,.58),transparent 35rem),
    linear-gradient(100deg,transparent 0 46%,rgba(255,255,255,.055) 47%,transparent 50% 100%);
  mix-blend-mode:screen;
}
.hero-video-content{
  position:relative;
  z-index:2;
  width:min(850px,100%);
  padding-top:180px;
  padding-bottom:72px;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 16px;
  border-radius:999px;
  border:1px solid rgba(234,195,112,.28);
  background:linear-gradient(90deg,rgba(120,0,20,.34),rgba(10,12,19,.42));
  box-shadow:0 16px 40px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-brush-title{
  margin-top:20px;
  letter-spacing:.04em;
  text-shadow:0 12px 42px rgba(0,0,0,.95),0 0 30px rgba(170,0,32,.28);
}
.samurai-title-card{
  margin-top:26px;
  display:inline-grid;
  gap:5px;
  padding:18px 24px 20px;
  min-width:min(430px,100%);
  border-left:4px solid rgba(170,0,32,.96);
  border-radius:0 22px 22px 0;
  background:
    linear-gradient(90deg,rgba(122,0,24,.68),rgba(10,12,18,.54) 48%,rgba(10,12,18,.22)),
    radial-gradient(circle at 0% 50%,rgba(255,232,175,.16),transparent 38%);
  backdrop-filter:blur(7px);
  box-shadow:0 24px 70px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06);
}
.samurai-title-card span{
  display:inline-flex;
  width:max-content;
  padding:4px 12px;
  border-radius:999px;
  color:#fff4d3;
  background:rgba(126,0,24,.76);
  font-size:12px;
  letter-spacing:.22em;
  font-weight:900;
}
.samurai-title-card strong{
  color:#fff;
  font-family:"Noto Serif TC","Microsoft JhengHei",serif;
  font-size:clamp(42px,7vw,84px);
  line-height:.82;
  letter-spacing:.03em;
  text-transform:uppercase;
  text-shadow:0 8px 24px rgba(0,0,0,.8),0 0 18px rgba(255,255,255,.16);
}
.samurai-title-card em{
  color:#f6d99b;
  font-style:normal;
  font-weight:900;
  letter-spacing:.12em;
}
.hero-video-stats{
  margin-top:28px;
}
.hero-video-stats .stat{
  background:
    linear-gradient(135deg,rgba(16,18,28,.78),rgba(10,11,17,.52)),
    radial-gradient(circle at 0% 0%,rgba(234,195,112,.13),transparent 38%);
  border-color:rgba(234,195,112,.20);
  backdrop-filter:blur(8px);
}
.hero-video-stats .stat strong{
  color:#ffe1a0;
}
@media (max-width:980px){
  .hero-video-hero{min-height:720px}
  .hero-video-content{padding-top:150px;width:min(760px,100%)}
  .hero-bg-video{object-position:64% center}
}
@media (max-width:640px){
  .hero-video-hero{min-height:680px}
  .hero-video-content{padding-top:124px;padding-bottom:54px}
  .samurai-title-card{padding:15px 18px;min-width:0;width:100%}
  .hero-bg-video{object-position:66% center;filter:brightness(1.02) contrast(1.05) saturate(.92)}
}
@media (prefers-reduced-motion:reduce){
  .hero-bg-video{display:none}
}


/* === V14 official video full-page background & raid video updates === */
body.official-video-page{
  background:#020306;
}
body.official-video-page::before{
  z-index:0;
  opacity:.52;
  background:
    radial-gradient(circle at 18% 12%,rgba(234,195,112,.09),transparent 28rem),
    radial-gradient(circle at 82% 28%,rgba(172,0,32,.12),transparent 34rem),
    linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.52));
}
.site-video-bg{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:#020306;
}
.site-video-bg video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  filter:brightness(1.18) contrast(1.08) saturate(1.02);
  transform:scale(1.035);
}
.site-video-vignette{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0, 1, 2, 0.08),rgba(2,3,6,.18) 38%,rgba(2,3,6,.06) 66%,rgba(2,3,6,.24)),
    linear-gradient(180deg,rgba(0,0,0,.06),rgba(5,6,10,.18) 55%,rgba(5,6,10,.48)),
    radial-gradient(circle at 76% 22%,rgba(255,245,214,.12),transparent 18rem),
    radial-gradient(circle at 16% 74%,rgba(165,0,28,.16),transparent 30rem);
}
body.official-video-page > header,
body.official-video-page > section,
body.official-video-page > footer{
  position:relative;
  z-index:1;
}
.home-page .site-header{
  background:rgba(4,5,8,.72);
}
.home-page .hero-video-hero{
  min-height:calc(100vh - 82px);
  background:transparent;
  border-bottom:1px solid rgba(234,195,112,.24);
  box-shadow:inset 0 -90px 120px rgba(5,6,10,.30);
}
.home-page .hero-video-hero::before{
  z-index:0;
  background:
    linear-gradient(90deg,rgba(3,4,7,.62),rgba(3,4,7,.24) 42%,rgba(3,4,7,.02) 72%,rgba(3,4,7,.14)),
    radial-gradient(circle at 18% 52%,rgba(170,0,32,.18),transparent 32rem),
    repeating-linear-gradient(100deg,rgba(255,255,255,.04) 0 1px,transparent 1px 160px);
}
.home-page .hero-video-hero::after{
  z-index:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.01),rgba(7,8,13,.08) 58%,rgba(7,8,13,.34)),
    radial-gradient(circle at 80% 24%,rgba(255,255,255,.14),transparent 20rem);
}
.home-page .hero-ink-wash{z-index:1;opacity:.46}
.home-page .hero-video-content{
  z-index:2;
  width:min(900px,100%);
  padding-top:155px;
  padding-bottom:96px;
}
.home-page .section,
.home-page .section-alt{
  background:
    linear-gradient(180deg,rgba(7,8,13,.42),rgba(7,8,13,.58)),
    radial-gradient(circle at 14% 0%,rgba(234,195,112,.08),transparent 28rem),
    radial-gradient(circle at 86% 60%,rgba(170,0,32,.08),transparent 36rem);
  backdrop-filter:blur(1.5px);
}
.home-page .section-alt{
  background:
    linear-gradient(180deg,rgba(10,11,18,.50),rgba(5,6,10,.66)),
    radial-gradient(circle at 86% 8%,rgba(190,23,50,.13),transparent 30rem),
    radial-gradient(circle at 18% 88%,rgba(234,195,112,.06),transparent 28rem);
}
.video-feature-section{
  border-top:1px solid rgba(234,195,112,.12);
  border-bottom:1px solid rgba(234,195,112,.12);
}
.video-feature-grid{gap:54px}
.cinema-video-card,
.wide-video-card{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  border:1px solid rgba(234,195,112,.30);
  background:linear-gradient(180deg,rgba(18,20,30,.76),rgba(6,7,11,.86));
  box-shadow:0 30px 100px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.035) inset;
}
.cinema-video-card::before,
.wide-video-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.34)),
    radial-gradient(circle at 14% 18%,rgba(255,232,170,.14),transparent 16rem),
    radial-gradient(circle at 86% 78%,rgba(185,0,34,.22),transparent 20rem);
  mix-blend-mode:screen;
}
.cinema-video{
  display:block;
  width:100%;
  height:420px;
  object-fit:cover;
  object-position:center center;
  filter:brightness(.92) contrast(1.12) saturate(.96);
  transform:scale(1.015);
}
.cinema-video-label,
.wide-video-caption{
  position:absolute;
  z-index:3;
  left:22px;
  right:22px;
  bottom:20px;
  display:grid;
  gap:5px;
  padding:16px 18px;
  border-left:4px solid rgba(201,24,48,.95);
  border-radius:0 18px 18px 0;
  background:linear-gradient(90deg,rgba(4,5,8,.78),rgba(4,5,8,.36));
  backdrop-filter:blur(8px);
}
.cinema-video-label span,
.wide-video-caption span{
  color:#ffd98d;
  font-size:12px;
  font-weight:950;
  letter-spacing:.18em;
}
.cinema-video-label strong,
.wide-video-caption strong{
  color:#fff3d4;
  font-family:"Noto Serif TC","Microsoft JhengHei",serif;
  font-size:clamp(24px,3vw,38px);
  line-height:1.06;
}
.wide-video-caption em{
  color:#e8ddca;
  font-style:normal;
  line-height:1.65;
}
.page-hero-video{
  overflow:hidden;
  min-height:560px;
  display:flex;
  align-items:center;
  background:#030407;
}
.page-hero-bg-video{
  position:absolute;
  inset:0;
  z-index:-3;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  filter:brightness(.86) contrast(1.13) saturate(1.02);
  transform:scale(1.025);
}
.page-video-scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: 
        linear-gradient(90deg, rgb(209 135 23 / 49%), rgb(182 197 241 / 25%) 44%, rgba(3, 4, 7, .16) 72%, rgb(27 54 137 / 60%)), 
        linear-gradient(180deg, rgba(0, 0, 0, .08), rgb(32 119 71 / 46%)),
        radial-gradient(circle at 80% 22%, rgb(233 228 218 / 46%), transparent 20rem), 
        radial-gradient(circle at 18% 72%, rgba(172, 0, 32, .18), transparent 30rem);
}
.page-hero-video::before{
  background:radial-gradient(circle at 18% 10%,rgba(234,195,112,.10),transparent 26rem),linear-gradient(180deg,rgba(0,0,0,.02),rgba(7,8,13,.56));
}
.dragon-video-card{
  margin:0 auto 34px;
}
.dragon-video-card .cinema-video{
  height:460px;
  object-position:center center;
  filter:brightness(.88) contrast(1.15) saturate(1.05);
}
@media (max-width:980px){
  .site-video-bg video{object-position:62% center}
  .home-page .hero-video-content{padding-top:130px}
  .cinema-video{height:330px}
  .page-hero-video{min-height:500px}
}
@media (max-width:640px){
  .site-video-bg video{object-position:66% center;transform:scale(1.08);filter:brightness(1.12) contrast(1.05) saturate(1.02)}
  .home-page .hero-video-hero{min-height:720px}
  .home-page .hero-video-content{padding-top:104px;padding-bottom:64px}
  .cinema-video{height:260px}
  .cinema-video-label,.wide-video-caption{left:14px;right:14px;bottom:14px;padding:13px 14px}
  .page-hero-video{min-height:460px}
  .dragon-video-card .cinema-video{height:300px}
}
@media (prefers-reduced-motion:reduce){
  .site-video-bg video,.cinema-video,.page-hero-bg-video{display:none}
  .site-video-bg{background:url('../img/generated/samurai_crow_video_poster.jpg') center/cover no-repeat}
}
body.official-video-page > header.site-header{z-index:99}

/* v15: homepage background video brightened per request */


/* === v16 races/jobs expansion === */
.job-section{position:relative}
.class-index{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:0 0 34px}
.class-index a{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:999px;border:1px solid rgba(234,195,112,.24);background:rgba(7,8,13,.58);color:#f2e5cf;font-weight:800;letter-spacing:.04em;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.class-index a:hover{transform:translateY(-2px);background:rgba(24,26,38,.84);border-color:rgba(234,195,112,.45)}
.job-group{margin-top:42px;scroll-margin-top:100px}
.job-group:first-of-type{margin-top:6px}
.job-group-head{display:flex;justify-content:space-between;align-items:end;gap:24px;padding-bottom:16px;margin-bottom:24px;border-bottom:1px solid rgba(234,195,112,.16)}
.job-group-head h3{margin:6px 0 0;font-size:clamp(28px,3vw,40px)}
.job-group-head p{max-width:640px;margin:0;color:#d8cebf;line-height:1.75}
.job-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.job-card-grid--special,.job-card-grid--triple{grid-template-columns:repeat(3,minmax(0,1fr))}
.job-card-grid--single{grid-template-columns:minmax(0,820px);justify-content:center}
.job-card{display:flex;flex-direction:column;overflow:hidden;border-radius:28px;border:1px solid rgba(234,195,112,.22);background:linear-gradient(180deg,rgba(18,20,30,.86),rgba(7,8,12,.96));box-shadow:0 24px 70px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.03) inset}
.job-card-media{position:relative;overflow:hidden;aspect-ratio:16/9;background:#08090f}
.job-card-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 48%,rgba(5,6,10,.76) 100%),radial-gradient(circle at 18% 12%,rgba(255,236,175,.09),transparent 16rem);pointer-events:none}
.job-card-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top;transform:scale(1.01)}
.job-card-body{padding:20px 20px 22px}
.job-topline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:10px}
.job-race{color:#ffd98d;font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.job-role{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;border:1px solid rgba(234,195,112,.20);background:rgba(234,195,112,.10);color:#fff4da;font-size:12px;font-weight:800;letter-spacing:.06em}
.job-card h4{margin:0 0 12px;font-size:clamp(24px,2.8vw,34px);line-height:1.08;color:#fff1d2}
.job-card p{margin:0;color:#ddd2c3;line-height:1.78}
.job-card p b{color:#fff3d4}
.job-tags{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0;padding:0}
.job-tags li{padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.06);color:#f0e6d7;font-size:13px;font-weight:700}
.job-note{margin:34px auto 0;max-width:1040px;padding:16px 18px;border-radius:18px;border:1px solid rgba(234,195,112,.14);background:rgba(255,255,255,.03);color:#cfc4b2;line-height:1.8}
@media (max-width:1120px){.job-card-grid--special,.job-card-grid--triple{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){.job-group-head{align-items:flex-start;flex-direction:column}.job-card-grid,.job-card-grid--special,.job-card-grid--triple,.job-card-grid--single{grid-template-columns:1fr}.job-card h4{font-size:28px}}
@media (max-width:560px){.class-index{gap:10px}.class-index a{width:calc(50% - 6px);padding:10px 12px}.job-card-body{padding:16px 16px 18px}.job-card p{font-size:15px;line-height:1.72}.job-group{margin-top:34px}}


/* === v16.1 official-like races page refinement === */
body.world-races-page{background:
  radial-gradient(circle at 50% -10%,rgba(110,94,184,.26),transparent 36rem),
  radial-gradient(circle at 84% 18%,rgba(236,196,115,.10),transparent 26rem),
  radial-gradient(circle at 12% 82%,rgba(70,117,212,.10),transparent 30rem),
  linear-gradient(180deg,#03040c 0%,#070814 28%,#04050c 100%)}
body.world-races-page::before{content:"";position:fixed;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,rgba(255,255,255,.015) 0 1px,transparent 1px 180px),linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0));opacity:.35;z-index:0}
body.world-races-page > *{position:relative;z-index:1}
.world-races-page .page-hero{background-image:linear-gradient(90deg,rgba(4,4,11,.92),rgba(4,4,11,.45) 52%,rgba(4,4,11,.18)),var(--hero-img)}
.world-races-page .page-hero::before{background:linear-gradient(180deg,rgba(6,8,20,.12),rgba(7,8,13,.86)),radial-gradient(circle at 75% 25%,rgba(255,226,167,.12),transparent 18rem)}
.world-races-page .section-title.center h2,.world-races-page .job-group-head h3{text-shadow:0 0 24px rgba(255,218,144,.10),0 10px 28px rgba(0,0,0,.35)}
.world-races-page .race-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.world-races-page .race-grid article{padding:22px 20px 20px;min-height:136px;border-radius:22px;border:1px solid rgba(226,197,130,.18);background:linear-gradient(180deg,rgba(8,13,36,.88),rgba(6,8,18,.94));box-shadow:0 22px 50px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.02)}
.world-races-page .race-grid article::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,rgba(255,232,174,.92),rgba(79,140,255,.28));opacity:.88}
.world-races-page .race-grid b{font-size:28px;font-family:"Noto Serif TC","Microsoft JhengHei",serif;color:#fff2cf;margin-bottom:8px}
.world-races-page .race-grid span{color:#d9d4cb;line-height:1.8}
.world-races-page .wide-art-card{border-color:rgba(226,197,130,.20);background:linear-gradient(180deg,rgba(10,15,38,.86),rgba(6,8,18,.92));box-shadow:0 30px 80px rgba(0,0,0,.34)}
.world-races-page .wide-art-card img{height:470px}
.world-races-page .job-section{background:linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.14));border-top:1px solid rgba(233,183,91,.08);border-bottom:1px solid rgba(233,183,91,.08)}
.world-races-page .class-guide-note{max-width:980px;margin:0 auto 22px;padding:16px 18px;border-radius:18px;border:1px solid rgba(226,197,130,.14);background:linear-gradient(180deg,rgba(12,16,42,.62),rgba(7,8,18,.70));color:#d9d0c0;line-height:1.85;text-align:center;box-shadow:0 18px 44px rgba(0,0,0,.16)}
.world-races-page .class-index{position:sticky;top:92px;z-index:8;margin:0 0 36px;padding:16px 18px;border-radius:22px;border:1px solid rgba(226,197,130,.14);background:rgba(5,7,16,.84);backdrop-filter:blur(14px);box-shadow:0 18px 44px rgba(0,0,0,.18)}
.world-races-page .class-index a{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border-color:rgba(226,197,130,.16)}
.world-races-page .class-index a:hover{background:linear-gradient(180deg,rgba(233,183,91,.18),rgba(255,255,255,.04));color:#fff4db}
.world-races-page .job-group{margin-top:50px}
.world-races-page .job-group-head{padding:0 2px 16px;border-bottom:1px solid rgba(226,197,130,.12)}
.world-races-page .job-group-head p{color:#d2c9bb}
.world-races-page .job-card-grid--special{grid-template-columns:repeat(2,minmax(0,1fr))}
.world-races-page .job-card{border:1px solid rgba(226,197,130,.16);background:linear-gradient(180deg,rgba(8,13,36,.90),rgba(5,7,16,.96));box-shadow:0 24px 64px rgba(0,0,0,.30),inset 0 0 0 1px rgba(255,255,255,.025);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.world-races-page .job-card:hover{transform:translateY(-5px);border-color:rgba(255,224,157,.28);box-shadow:0 30px 72px rgba(0,0,0,.36),0 0 0 1px rgba(255,255,255,.03) inset}
.world-races-page .job-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 14% 0%,rgba(255,236,175,.08),transparent 14rem),radial-gradient(circle at 88% 100%,rgba(86,120,223,.10),transparent 18rem)}
.world-races-page .job-card-media{aspect-ratio:16/10;border-bottom:1px solid rgba(226,197,130,.12);background:linear-gradient(180deg,rgba(13,18,46,.96),rgba(5,7,16,.96))}
.world-races-page .job-card-media::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,230,170,.75),transparent);opacity:.75;z-index:2}
.world-races-page .job-card-body{padding:22px 22px 24px}
.world-races-page .job-topline{margin-bottom:12px}
.world-races-page .job-race{color:#ffd98d}
.world-races-page .job-role{background:linear-gradient(180deg,rgba(233,183,91,.16),rgba(86,120,223,.14));border-color:rgba(226,197,130,.18)}
.world-races-page .job-card h4{margin-bottom:12px}
.world-races-page .job-card p{color:#ddd4c7}
.world-races-page .job-tags li{background:rgba(255,255,255,.04);border-color:rgba(226,197,130,.10)}
.world-races-page .job-note{background:linear-gradient(180deg,rgba(10,15,38,.70),rgba(6,8,18,.76));border-color:rgba(226,197,130,.16);box-shadow:0 20px 40px rgba(0,0,0,.18)}
@media (max-width:1180px){body.world-races-page .race-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.world-races-page .wide-art-card img{height:360px}}
@media (max-width:820px){.world-races-page .class-index{top:84px}.world-races-page .job-card-grid--special{grid-template-columns:1fr}.world-races-page .job-card-media{aspect-ratio:4/3}}
@media (max-width:640px){body.world-races-page .race-grid{grid-template-columns:1fr}.world-races-page .wide-art-card img{height:250px}.world-races-page .class-guide-note{padding:14px 15px}.world-races-page .class-index{padding:14px}.world-races-page .class-index a{width:calc(50% - 6px)}.world-races-page .race-grid b{font-size:25px}}


/* === v16.2 official interactive class switch === */
.official-class-stage-section{overflow:hidden}
.official-stage-title{max-width:980px}
.official-race-tabs{position:sticky;top:92px;z-index:10;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:0 auto 34px;padding:16px 18px;border-radius:26px;border:1px solid rgba(238,209,145,.18);background:linear-gradient(180deg,rgba(7,9,24,.90),rgba(5,6,15,.82));backdrop-filter:blur(14px);box-shadow:0 22px 70px rgba(0,0,0,.32)}
.official-race-tabs button{position:relative;min-width:104px;padding:14px 16px;border:1px solid rgba(238,209,145,.18);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));color:#e9dfcf;font-weight:950;letter-spacing:.04em;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease}
.official-race-tabs button::before{content:"";position:absolute;left:50%;bottom:7px;width:0;height:2px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#ffe5a6,transparent);transition:width .2s ease}
.official-race-tabs button:hover,.official-race-tabs button.active{transform:translateY(-2px);border-color:rgba(255,226,164,.56);background:radial-gradient(circle at 50% 0%,rgba(255,223,148,.24),rgba(255,255,255,.04) 55%,rgba(255,255,255,.02));color:#fff5dc;box-shadow:0 18px 38px rgba(0,0,0,.22),0 0 28px rgba(255,214,128,.12)}
.official-race-tabs button.active::before{width:72%}
.official-class-stage{position:relative;min-height:720px;border:1px solid rgba(238,209,145,.16);border-radius:34px;overflow:hidden;background:radial-gradient(circle at 58% 28%,rgba(143,115,255,.16),transparent 28rem),radial-gradient(circle at 74% 78%,rgba(255,213,128,.10),transparent 22rem),linear-gradient(120deg,rgba(5,7,22,.98),rgba(8,10,30,.90) 52%,rgba(3,5,14,.98));box-shadow:0 34px 110px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.03)}
.official-class-stage::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 145px),linear-gradient(180deg,rgba(255,255,255,.022) 0 1px,transparent 1px 115px),radial-gradient(circle at 50% 100%,rgba(255,238,191,.10),transparent 26rem);opacity:.58;pointer-events:none}
.official-race-panel{position:absolute;inset:0;display:grid;grid-template-columns:minmax(280px,.95fr) minmax(360px,1.28fr) minmax(270px,.88fr);gap:22px;align-items:stretch;padding:36px;opacity:0;visibility:hidden;transform:translateY(18px);transition:opacity .28s ease,transform .28s ease,visibility .28s ease}
.official-race-panel.active{opacity:1;visibility:visible;transform:translateY(0)}
.stage-copy{position:relative;z-index:2;align-self:center;padding:26px 0 26px 8px}
.stage-kicker{display:inline-flex;align-items:center;gap:10px;color:#ffd98d;font-weight:950;letter-spacing:.18em;font-size:13px;text-transform:uppercase;margin-bottom:16px}
.stage-kicker::before{content:"";width:12px;height:12px;background:url("../img/favicons/favicon-32x32.png") center/contain no-repeat;filter:drop-shadow(0 0 10px rgba(255,218,135,.55))}
.stage-copy h3{font-size:clamp(42px,4.2vw,72px);color:#fff2cf;line-height:1.04;margin:0 0 18px;text-shadow:0 0 30px rgba(255,223,150,.12),0 18px 38px rgba(0,0,0,.48)}
.stage-copy p{max-width:460px;color:#e0d6c8;line-height:1.92;font-size:17px;margin:0;text-shadow:0 6px 18px rgba(0,0,0,.50)}
.stage-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.stage-tags span{display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border-radius:999px;border:1px solid rgba(255,225,164,.18);background:rgba(255,255,255,.045);color:#fff0d4;font-weight:850;font-size:13px}
.stage-visual{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:center;min-height:650px;overflow:hidden}
.stage-visual::before{content:"";position:absolute;left:50%;bottom:6%;width:min(420px,90%);height:72px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,225,147,.34),rgba(96,117,255,.16) 42%,transparent 72%);filter:blur(6px)}
.stage-visual::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 28%,rgba(255,236,180,.10),transparent 18rem),linear-gradient(180deg,transparent 50%,rgba(4,5,12,.22));pointer-events:none}
.stage-visual img{position:relative;z-index:2;width:100%;height:680px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 28px 40px rgba(0,0,0,.62)) drop-shadow(0 0 26px rgba(255,226,158,.10));animation:stageFloat 5.6s ease-in-out infinite}
@keyframes stageFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.stage-side{position:relative;z-index:2;align-self:center;display:grid;gap:18px}
.stage-stat-card{padding:20px;border-radius:24px;border:1px solid rgba(255,225,164,.17);background:linear-gradient(180deg,rgba(8,12,32,.74),rgba(5,7,17,.86));box-shadow:0 24px 54px rgba(0,0,0,.24)}
.stage-stat-card b{display:block;color:#fff1d2;font-family:"Noto Serif TC","Microsoft JhengHei",serif;font-size:24px;margin-bottom:16px}
.stage-bars{display:grid;gap:13px}
.stage-bars span{display:grid;grid-template-columns:54px 1fr 36px;align-items:center;gap:10px;color:#e6dccb;font-size:13px;font-weight:800}
.stage-bars em{font-style:normal;color:#f7e5c3}.stage-bars i{display:block;height:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.stage-bars i::before{content:"";display:block;width:var(--v);height:100%;border-radius:inherit;background:linear-gradient(90deg,#715eff,#f0c678,#fff1c8);box-shadow:0 0 18px rgba(255,220,150,.38)}.stage-bars strong{color:#ffd98d;text-align:right}
.stage-character-list{display:grid;gap:12px;max-height:390px;overflow:auto;padding-right:4px}
.stage-character-list::-webkit-scrollbar{width:6px}.stage-character-list::-webkit-scrollbar-thumb{background:rgba(255,225,164,.24);border-radius:999px}.stage-character-list button{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:12px;width:100%;padding:10px;border-radius:18px;border:1px solid rgba(255,225,164,.12);background:rgba(255,255,255,.035);color:#eee1cf;text-align:left;font-weight:950;cursor:pointer;transition:.2s ease}
.stage-character-list button:hover,.stage-character-list button.active{border-color:rgba(255,225,164,.46);background:linear-gradient(90deg,rgba(255,218,135,.18),rgba(255,255,255,.04));transform:translateX(-4px);color:#fff4d8}
.stage-character-list img{width:76px;height:54px;object-fit:cover;object-position:center top;border-radius:12px;border:1px solid rgba(255,225,164,.16);filter:saturate(.94) contrast(1.04)}
.stage-character-list span{display:block;line-height:1.35}
.official-class-stage-section .job-note{max-width:1040px;text-align:center;margin-top:26px}
@media (max-width:1120px){.official-class-stage{min-height:980px}.official-race-panel{grid-template-columns:1fr 1fr;grid-template-areas:"copy side" "visual visual"}.stage-copy{grid-area:copy;align-self:start}.stage-side{grid-area:side;align-self:start}.stage-visual{grid-area:visual;min-height:560px}.stage-visual img{height:580px}}
@media (max-width:760px){.official-race-tabs{top:82px;justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding:12px}.official-race-tabs button{min-width:96px;padding:12px 13px}.official-class-stage{min-height:1180px;border-radius:26px}.official-race-panel{grid-template-columns:1fr;grid-template-areas:"copy" "visual" "side";padding:24px}.stage-copy{padding:8px 0}.stage-copy h3{font-size:44px}.stage-copy p{font-size:16px;line-height:1.78}.stage-visual{min-height:430px}.stage-visual img{height:440px}.stage-side{align-self:start}.stage-character-list{max-height:300px}.stage-character-list button{grid-template-columns:68px 1fr}.stage-character-list img{width:68px;height:50px}.stage-bars span{grid-template-columns:48px 1fr 32px}}
@media (max-width:480px){.official-class-stage{min-height:1120px}.official-race-panel{padding:18px}.stage-copy h3{font-size:38px}.stage-visual{min-height:360px}.stage-visual img{height:375px}.stage-tags span{font-size:12px}.stage-stat-card{padding:16px}.official-race-tabs button{min-width:90px;font-size:13px}}


/* === v16.3 user requested refinements: official tabs, larger class art, bright boss video === */
/* 職業選項卡：改成更接近官方頁上方切換列的黑底金色膠囊風格 */
.official-race-tabs{
  max-width:1120px;
  border-radius:999px;
  padding:10px 14px;
  gap:8px;
  border:1px solid rgba(240,205,124,.18);
  background:linear-gradient(180deg,rgba(3,4,10,.88),rgba(3,4,10,.72));
  box-shadow:0 18px 46px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.035);
}
.official-race-tabs button{
  min-width:96px;
  border-radius:999px;
  padding:12px 17px;
  border-color:transparent;
  background:transparent;
  color:#f0e7d8;
  box-shadow:none;
}
.official-race-tabs button::before{display:none}
.official-race-tabs button:hover{
  transform:translateY(-1px);
  color:#fff2d0;
  background:rgba(240,205,124,.08);
  border-color:rgba(240,205,124,.20);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.official-race-tabs button.active{
  transform:translateY(0);
  background:linear-gradient(135deg,#f4d177,#d8a644);
  color:#170f07;
  border-color:rgba(255,226,164,.72);
  box-shadow:0 14px 34px rgba(218,166,68,.26),inset 0 1px 0 rgba(255,255,255,.28);
}

/* 職業人物圖片放大：保留目前互動展示版本，只把主舞台角色拉大 */
.official-class-stage{min-height:800px}
.official-race-panel{grid-template-columns:minmax(280px,.88fr) minmax(430px,1.48fr) minmax(270px,.82fr)}
.stage-visual{min-height:735px;overflow:visible}
.stage-visual::before{width:min(520px,96%);height:92px;bottom:3%}
.stage-visual img{
  width:118%;
  max-width:none;
  height:790px;
  object-fit:contain;
  object-position:center bottom;
}
@keyframes stageFloat{0%,100%{transform:translateY(0) scale(1.04)}50%{transform:translateY(-10px) scale(1.04)}}
@media (max-width:1120px){.official-class-stage{min-height:1060px}.stage-visual{min-height:640px}.stage-visual img{width:112%;height:660px}}
@media (max-width:760px){.official-race-tabs{border-radius:24px}.official-class-stage{min-height:1220px}.stage-visual{min-height:480px;overflow:hidden}.stage-visual img{width:120%;height:500px}}
@media (max-width:480px){.official-class-stage{min-height:1160px}.stage-visual{min-height:390px}.stage-visual img{width:122%;height:420px}}

/* 首領副本：最上方龍族影片全面調亮，降低暗色遮罩 */
.boss-page .boss-dragon-hero{background:#08090f;min-height:560px}
.boss-page .boss-dragon-hero .page-hero-bg-video{
  opacity:1;
  filter:brightness(2.35) contrast(1.16) saturate(1.22);
  transform:scale(1.015);
}
.boss-page .boss-dragon-hero .page-video-scrim{
  background:
    linear-gradient(90deg,rgba(3,4,7,.70),rgba(3,4,7,.28) 36%,rgba(3,4,7,.00) 70%,rgba(3,4,7,.04)),
    linear-gradient(180deg,rgba(0,0,0,.02),rgba(7,8,13,.20)),
    radial-gradient(circle at 80% 24%,rgba(255,220,132,.20),transparent 22rem);
}
.boss-page .boss-dragon-hero::before{
  background:linear-gradient(180deg,rgba(0,0,0,.00),rgba(7,8,13,.16));
}
.boss-page .boss-dragon-hero .container{position:relative;z-index:2}
.boss-page .boss-dragon-hero h1,.boss-page .boss-dragon-hero .page-lead{text-shadow:0 8px 28px rgba(0,0,0,.82)}
.boss-page .dragon-video-card .cinema-video{filter:brightness(1.35) contrast(1.08) saturate(1.10)}


/* === v17 mobile world class panel + HTTP player iframe fix ===
   1) 行動版職業舞台改成內容自動高度，避免底部職業選項被父層裁切。
   2) 行動版職業圖片改為 cover 填滿視覺區，修掉人物圖上方大片空白。 */
@media (max-width:760px){
  body.official-class-switch-page .official-class-stage{
    min-height:0 !important;
    height:auto !important;
    overflow:visible !important;
  }
  body.official-class-switch-page .official-race-panel{
    position:relative !important;
    inset:auto !important;
    display:none !important;
    grid-template-columns:1fr !important;
    grid-template-areas:"copy" "visual" "side" !important;
    gap:18px !important;
    padding:22px !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
  }
  body.official-class-switch-page .official-race-panel.active{
    display:grid !important;
  }
  body.official-class-switch-page .stage-copy{
    grid-area:copy !important;
    align-self:start !important;
    padding:6px 0 0 !important;
  }
  body.official-class-switch-page .stage-visual{
    grid-area:visual !important;
    height:320px !important;
    min-height:320px !important;
    overflow:hidden !important;
    border-radius:18px !important;
    border:1px solid rgba(255,225,164,.10) !important;
    background:linear-gradient(180deg,rgba(10,13,38,.62),rgba(4,5,14,.82)) !important;
  }
  body.official-class-switch-page .stage-visual::before{
    bottom:6px !important;
    width:min(440px,115%) !important;
    height:64px !important;
  }
  body.official-class-switch-page .stage-visual img{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:cover !important;
    object-position:62% center !important;
    transform:none !important;
    animation:none !important;
  }
  body.official-class-switch-page .stage-side{
    grid-area:side !important;
    align-self:start !important;
  }
  body.official-class-switch-page .stage-character-list{
    max-height:none !important;
    overflow:visible !important;
    padding-right:0 !important;
    padding-bottom:4px !important;
  }
  body.official-class-switch-page .official-class-stage-section .job-note{
    margin-top:20px !important;
  }
}
@media (max-width:480px){
  body.official-class-switch-page .official-race-panel{
    padding:18px !important;
  }
  body.official-class-switch-page .stage-visual{
    height:300px !important;
    min-height:300px !important;
  }
  body.official-class-switch-page .stage-copy h3{
    font-size:38px !important;
  }
}
@media (max-width:360px){
  body.official-class-switch-page .stage-visual{
    height:280px !important;
    min-height:280px !important;
  }
}

/* === v18: fixed top header / scroll lock ===
   讓最上方導覽列固定在視窗頂端，不會因頁面捲動消失。
   同時保留 header 高度，避免內容被 fixed header 蓋住。
*/
:root{
  --dr-fixed-header-height:82px;
}
body{
  padding-top:var(--dr-fixed-header-height);
}
.site-header,
body.official-video-page > header.site-header{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:9999 !important;
}
@media (max-width:880px){
  :root{
    --dr-fixed-header-height:74px;
  }
}

/* === v19: 首頁皇金天堂二書法字體修正 ===
   目標：首頁中間「皇金天堂二」改為圖2大型金色筆刷字；
         header「皇金天堂二-闇鴉武士」改為另一套書法藝術字，兩者不要撞字型。
*/

/* Header 品牌文字：用 CSS 直接重畫成「皇金天堂二－闇鴉武士」，並使用與主標不同的書法藝術字 */
.site-header .brand span,
.home-page .site-header .brand span,
body.official-video-page .site-header .brand span{
  display:inline-block;
  white-space:nowrap;
  font-size:0 !important;
  line-height:1;
  letter-spacing:0;
  color:transparent !important;
  -webkit-text-fill-color:transparent;
  text-shadow:none !important;
  filter:none !important;
}
.site-header .brand span::before,
.home-page .site-header .brand span::before,
body.official-video-page .site-header .brand span::before{
  content:"皇金天堂二－闇鴉武士";
  display:inline-block;
  font-family:"Zhi Mang Xing","DFKai-SB","KaiTi TC","KaiTi","標楷體","Noto Serif TC",serif !important;
  font-size:26px;
  line-height:1;
  font-weight:400 !important;
  letter-spacing:.08em;
  transform:translateY(1px) skewX(-4deg);
  color:#ffe8a9;
  background:linear-gradient(180deg,#fff7d5 0%,#ffe19a 34%,#d7a044 66%,#875719 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:.35px rgba(255,231,164,.36);
  text-shadow:
    0 1px 0 rgba(74,36,7,.65),
    0 0 12px rgba(255,210,104,.28),
    0 8px 20px rgba(0,0,0,.75);
  filter:drop-shadow(0 0 8px rgba(255,214,120,.16));
}
.site-header .brand span::after{
  content:"";
  display:block;
  height:1px;
  margin-top:3px;
  background:linear-gradient(90deg,transparent,rgba(255,225,153,.68),rgba(185,41,34,.34),transparent);
  opacity:.78;
}

/* 首頁中間主標：先把原本第一行文字藏起來，再用 CSS 偽元素重畫成圖2風格 */
.home-page .hero-brush-title,
body.official-video-page .hero-brush-title{
  --dr-brush-title-size:clamp(82px,9.3vw,154px);
  --dr-brush-swipe-y:clamp(47px,5.9vw,90px);
  --dr-brush-swipe-h:clamp(10px,1.15vw,19px);
  position:relative;
  display:inline-block;
  margin-top:18px;
  margin-bottom:8px;
  font-size:0 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  color:transparent !important;
  text-shadow:none !important;
  filter:none !important;
}
.home-page .hero-brush-title br,
body.official-video-page .hero-brush-title br{
  display:none;
}
.home-page .hero-brush-title::before,
body.official-video-page .hero-brush-title::before{
  content:"皇金天堂二";
  position:relative;
  z-index:2;
  display:block;
  font-family:"Ma Shan Zheng","KaiTi TC","STKaiti","DFKai-SB","標楷體","Noto Serif TC",serif !important;
  font-size:var(--dr-brush-title-size) !important;
  line-height:.86 !important;
  font-weight:400 !important;
  letter-spacing:.005em !important;
  color:#fff1be;
  background:
    linear-gradient(180deg,#fff9d7 0%,#ffe8a2 27%,#f6c66f 48%,#b97722 75%,#6f3c0c 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:.55px rgba(255,240,184,.50);
  text-shadow:
    0 3px 0 rgba(91,47,10,.72),
    0 10px 25px rgba(0,0,0,.92),
    0 0 30px rgba(255,197,89,.26),
    0 0 54px rgba(143,8,22,.18);
  filter:
    drop-shadow(0 4px 0 rgba(84,42,7,.48))
    drop-shadow(0 17px 32px rgba(0,0,0,.82))
    drop-shadow(0 0 18px rgba(255,214,128,.22));
}

/* 筆刷橫掃光感：模擬圖2「皇金天堂二」下方那條金色刷痕 */
.home-page .hero-brush-title::after,
body.official-video-page .hero-brush-title::after{
  content:"";
  position:absolute;
  z-index:1;
  left:-3%;
  top:var(--dr-brush-swipe-y);
  width:82%;
  height:var(--dr-brush-swipe-h);
  transform:skewX(-18deg) rotate(-1.8deg);
  border-radius:999px;
  background:
    linear-gradient(90deg,transparent 0%,rgba(124,58,9,.62) 8%,rgba(255,225,151,.88) 34%,rgba(255,163,56,.76) 58%,rgba(116,41,8,.38) 82%,transparent 100%);
  filter:blur(.4px) drop-shadow(0 0 14px rgba(255,187,70,.36));
  opacity:.92;
  pointer-events:none;
}

/* 第二行「暗鴉武士」保留厚重端正金字，跟圖2下排一致 */
.home-page .hero-brush-title .gold,
body.official-video-page .hero-brush-title .gold{
  position:relative;
  z-index:3;
  display:block;
  margin-top:.06em;
  font-family:"Noto Serif TC","Source Han Serif TC","PMingLiU","MingLiU",serif !important;
  font-size:clamp(62px,7.1vw,118px) !important;
  line-height:.96 !important;
  font-weight:900 !important;
  letter-spacing:.045em !important;
  color:#ffe9ac;
  background:linear-gradient(180deg,#fff8d2 0%,#f8d681 42%,#bd812a 77%,#7a440d 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:.45px rgba(255,239,187,.42);
  text-shadow:
    0 3px 0 rgba(72,36,7,.70),
    0 12px 30px rgba(0,0,0,.94),
    0 0 24px rgba(255,213,130,.20);
  filter:drop-shadow(0 12px 25px rgba(0,0,0,.78));
}

/* 讓主標區在桌機更接近圖2的位置與大小 */
.home-page .hero-video-content{
  width:min(980px,100%);
  padding-top:150px;
}
.home-page .hero-video-content .lead{
  max-width:900px;
  margin-top:24px;
}

@media (max-width:1180px){
  .site-header .brand span::before,
  .home-page .site-header .brand span::before,
  body.official-video-page .site-header .brand span::before{
    font-size:22px;
    letter-spacing:.055em;
  }
}
@media (max-width:980px){
  .home-page .hero-brush-title,
  body.official-video-page .hero-brush-title{
    --dr-brush-title-size:clamp(66px,12vw,106px);
    --dr-brush-swipe-y:clamp(39px,7.5vw,64px);
    --dr-brush-swipe-h:clamp(8px,1.55vw,14px);
  }
  .home-page .hero-brush-title .gold,
  body.official-video-page .hero-brush-title .gold{
    font-size:clamp(50px,9vw,82px) !important;
  }
}
@media (max-width:640px){
  .site-header .brand span,
  .home-page .site-header .brand span,
  body.official-video-page .site-header .brand span{
    display:none !important;
  }
  .home-page .hero-brush-title,
  body.official-video-page .hero-brush-title{
    --dr-brush-title-size:clamp(48px,15vw,72px);
    --dr-brush-swipe-y:clamp(28px,9.6vw,43px);
    --dr-brush-swipe-h:clamp(6px,2.2vw,10px);
  }
  .home-page .hero-brush-title::before,
  body.official-video-page .hero-brush-title::before{
    letter-spacing:0 !important;
  }
  .home-page .hero-brush-title .gold,
  body.official-video-page .hero-brush-title .gold{
    font-size:clamp(40px,12.4vw,60px) !important;
  }
  .home-page .hero-video-content{
    padding-top:106px;
  }
}

/* === v20: 圖2同款金色書法筆刷主標 / Header 品牌強化版 ===
   只改 CSS：首頁中間「皇金天堂二」與上方品牌字，加入筆刷筆劃、金色立體、刷痕光影。
*/
:root{
  --dr-calligraphy-main:"Ma Shan Zheng","Liu Jian Mao Cao","Long Cang","KaiTi TC","STKaiti","DFKai-SB","標楷體",serif;
  --dr-calligraphy-header:"Ma Shan Zheng","Zhi Mang Xing","Liu Jian Mao Cao","Long Cang","KaiTi TC","STKaiti","DFKai-SB","標楷體",serif;
  --dr-gold-top:#fff9d6;
  --dr-gold-mid:#ffd77c;
  --dr-gold-deep:#b86b1d;
  --dr-gold-dark:#603005;
}

/* Header：皇金天堂二－闇鴉武士，改成金色書法筆刷立體字 */
.site-header .brand{
  gap:16px;
}
.site-header .brand span,
.home-page .site-header .brand span,
body.official-video-page .site-header .brand span{
  position:relative;
  display:inline-block !important;
  white-space:nowrap;
  font-size:0 !important;
  line-height:1 !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  text-shadow:none !important;
  overflow:visible;
}
.site-header .brand span::before,
.home-page .site-header .brand span::before,
body.official-video-page .site-header .brand span::before{
  content:"皇金天堂二－闇鴉武士";
  position:relative;
  z-index:2;
  display:inline-block;
  font-family:var(--dr-calligraphy-header) !important;
  font-size:31px;
  line-height:.95;
  font-weight:400 !important;
  letter-spacing:.055em;
  transform:translateY(1px) skewX(-5deg);
  color:#ffe6a4;
  background:
    linear-gradient(180deg,#fffdf0 0%,#ffe59d 24%,#f7bf59 48%,#b86c1b 74%,#5d2d05 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:.55px rgba(255,239,184,.52);
  paint-order:stroke fill;
  text-shadow:
    0 1px 0 rgba(96,45,5,.95),
    0 2px 0 rgba(91,42,4,.80),
    0 4px 8px rgba(0,0,0,.76),
    0 0 13px rgba(255,211,103,.42),
    0 0 28px rgba(166,38,25,.22);
  filter:
    drop-shadow(0 3px 0 rgba(72,32,3,.52))
    drop-shadow(0 10px 15px rgba(0,0,0,.66));
}
.site-header .brand span::after,
.home-page .site-header .brand span::after,
body.official-video-page .site-header .brand span::after{
  content:"";
  position:absolute;
  z-index:1;
  left:-4%;
  right:2%;
  top:60%;
  height:7px;
  border-radius:999px;
  transform:skewX(-20deg) rotate(-1.4deg);
  background:
    linear-gradient(90deg,transparent 0%,rgba(118,48,6,.50) 8%,rgba(255,227,146,.72) 32%,rgba(244,148,41,.58) 58%,rgba(107,38,7,.36) 82%,transparent 100%);
  filter:blur(.35px) drop-shadow(0 0 9px rgba(255,190,70,.34));
  opacity:.72;
  pointer-events:none;
}

/* 首頁中間主標：第一行皇金天堂二，完全走圖2那種大筆刷金字 */
.home-page .hero-brush-title,
body.official-video-page .hero-brush-title{
  --dr-brush-title-size:clamp(86px,9.8vw,166px);
  --dr-brush-title-swipe-top:clamp(52px,6.05vw,98px);
  --dr-brush-title-swipe-height:clamp(12px,1.22vw,22px);
  position:relative !important;
  display:inline-block !important;
  width:max-content;
  max-width:100%;
  margin-top:20px !important;
  margin-bottom:10px !important;
  padding-right:.18em;
  font-size:0 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  text-shadow:none !important;
  filter:none !important;
  overflow:visible;
}
.home-page .hero-brush-title br,
body.official-video-page .hero-brush-title br{
  display:none !important;
}
.home-page .hero-brush-title::before,
body.official-video-page .hero-brush-title::before{
  content:"皇金天堂二";
  position:relative;
  z-index:3;
  display:block;
  font-family:var(--dr-calligraphy-main) !important;
  font-size:var(--dr-brush-title-size) !important;
  line-height:.82 !important;
  font-weight:400 !important;
  letter-spacing:-.012em !important;
  transform:skewX(-3deg) rotate(-.8deg);
  color:#fff0b2;
  background:
    linear-gradient(180deg,#fffce6 0%,#ffedb0 22%,#ffd47a 42%,#cc8429 66%,#7b410b 86%,#452001 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:.85px rgba(255,242,191,.62);
  paint-order:stroke fill;
  text-shadow:
    0 2px 0 rgba(126,63,9,.92),
    0 4px 0 rgba(87,39,5,.74),
    0 9px 18px rgba(0,0,0,.88),
    0 0 20px rgba(255,211,116,.46),
    0 0 54px rgba(174,17,31,.20);
  filter:
    drop-shadow(0 4px 0 rgba(89,39,4,.58))
    drop-shadow(0 16px 24px rgba(0,0,0,.82))
    drop-shadow(0 0 18px rgba(255,214,126,.30));
}

/* 第一行下方的金色橫向筆刷，做出圖2那條掃筆感 */
.home-page .hero-brush-title::after,
body.official-video-page .hero-brush-title::after{
  content:"";
  position:absolute;
  z-index:2;
  left:-4.5%;
  top:var(--dr-brush-title-swipe-top);
  width:86%;
  height:var(--dr-brush-title-swipe-height);
  border-radius:999px;
  transform:skewX(-22deg) rotate(-2.1deg);
  background:
    linear-gradient(90deg,transparent 0%,rgba(102,39,4,.56) 7%,rgba(255,238,161,.95) 30%,rgba(255,170,52,.88) 57%,rgba(122,42,6,.45) 82%,transparent 100%);
  box-shadow:
    0 0 16px rgba(255,190,62,.44),
    0 2px 7px rgba(107,42,7,.46);
  filter:blur(.35px);
  opacity:.96;
  pointer-events:none;
}

/* 第二行暗鴉武士：厚重金色立體，貼近圖2下排風格 */
.home-page .hero-brush-title .gold,
body.official-video-page .hero-brush-title .gold{
  position:relative !important;
  z-index:4;
  display:block !important;
  margin-top:.04em !important;
  padding-left:.02em;
  font-family:"Noto Serif TC","Source Han Serif TC","PMingLiU","MingLiU",serif !important;
  font-size:clamp(64px,7.25vw,124px) !important;
  line-height:.94 !important;
  font-weight:900 !important;
  letter-spacing:.045em !important;
  color:#ffe8a2 !important;
  background:
    linear-gradient(180deg,#fff9dd 0%,#ffe19a 33%,#d99c3d 62%,#8a4d0f 88%,#552803 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:.62px rgba(255,239,180,.48);
  paint-order:stroke fill;
  text-shadow:
    0 2px 0 rgba(103,50,7,.88),
    0 5px 0 rgba(66,29,3,.55),
    0 12px 24px rgba(0,0,0,.92),
    0 0 24px rgba(255,215,134,.24);
  filter:
    drop-shadow(0 6px 0 rgba(75,33,4,.42))
    drop-shadow(0 16px 24px rgba(0,0,0,.82));
}

/* 讓主標在桌機版更像圖2：大字、左側視覺重量更強 */
.home-page .hero-video-content,
body.official-video-page .hero-video-content{
  width:min(1040px,100%) !important;
  padding-top:148px !important;
}
.home-page .hero-video-content .lead,
body.official-video-page .hero-video-content .lead{
  max-width:910px;
  margin-top:24px;
}

@media (max-width:1180px){
  .site-header .brand span::before,
  .home-page .site-header .brand span::before,
  body.official-video-page .site-header .brand span::before{
    font-size:27px;
    letter-spacing:.04em;
  }
}
@media (max-width:980px){
  .home-page .hero-brush-title,
  body.official-video-page .hero-brush-title{
    --dr-brush-title-size:clamp(64px,12vw,112px);
    --dr-brush-title-swipe-top:clamp(39px,7.4vw,67px);
    --dr-brush-title-swipe-height:clamp(9px,1.65vw,15px);
  }
  .home-page .hero-brush-title .gold,
  body.official-video-page .hero-brush-title .gold{
    font-size:clamp(50px,9.3vw,86px) !important;
  }
  .home-page .hero-video-content,
  body.official-video-page .hero-video-content{
    padding-top:126px !important;
  }
}
@media (max-width:760px){
  .site-header .brand span::before,
  .home-page .site-header .brand span::before,
  body.official-video-page .site-header .brand span::before{
    font-size:23px;
  }
}
@media (max-width:640px){
  .site-header .brand span,
  .home-page .site-header .brand span,
  body.official-video-page .site-header .brand span{
    display:none !important;
  }
  .home-page .hero-brush-title,
  body.official-video-page .hero-brush-title{
    --dr-brush-title-size:clamp(48px,15.4vw,76px);
    --dr-brush-title-swipe-top:clamp(29px,9.5vw,45px);
    --dr-brush-title-swipe-height:clamp(7px,2.2vw,11px);
  }
  .home-page .hero-brush-title::before,
  body.official-video-page .hero-brush-title::before{
    letter-spacing:-.02em !important;
  }
  .home-page .hero-brush-title .gold,
  body.official-video-page .hero-brush-title .gold{
    font-size:clamp(40px,12.8vw,62px) !important;
  }
  .home-page .hero-video-content,
  body.official-video-page .hero-video-content{
    padding-top:104px !important;
  }
}


/* =========================================================
   v23 FORCE BRIGHT GOLD：直接改「實字」，不再用透明漸層吃色
   修正：舊版 background-clip + transparent 造成手機看起來整排暗色。
   ========================================================= */
:root{
  --dr-v23-brush-font:"Ma Shan Zheng","Zhi Mang Xing","Liu Jian Mao Cao","Long Cang","DFKai-SB","KaiTi TC","KaiTi","STKaiti","標楷體","Noto Serif TC",serif;
  --dr-v23-gold-solid:#fff1a8;
  --dr-v23-gold-hot:#ffd36a;
  --dr-v23-gold-edge:#b76512;
  --dr-v23-gold-dark:#4a1f02;
}

/* 先把舊版用 ::before 重畫皇金天堂二的方式關掉，避免透明漸層又把字弄暗 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before{
  content:none !important;
  display:none !important;
}

/* 首頁主標：直接讓原本 HTML 文字變成亮金，不靠透明背景裁切 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
html body .hero-video-content h1.hero-brush-title,
html body .hero-content h1.hero-brush-title{
  position:relative !important;
  display:inline-block !important;
  width:max-content !important;
  max-width:100% !important;
  margin-top:20px !important;
  margin-bottom:14px !important;
  padding:.02em .14em .08em .01em !important;
  font-family:var(--dr-v23-brush-font) !important;
  font-size:clamp(76px,13.8vw,168px) !important;
  line-height:.84 !important;
  font-weight:400 !important;
  letter-spacing:-.035em !important;
  transform:skewX(-6deg) rotate(-1.1deg) !important;
  color:var(--dr-v23-gold-solid) !important;
  -webkit-text-fill-color:var(--dr-v23-gold-solid) !important;
  -webkit-text-stroke:1.2px rgba(255,249,210,.84) !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  paint-order:stroke fill !important;
  text-rendering:geometricPrecision !important;
  -webkit-font-smoothing:antialiased !important;
  text-shadow:
    -2px -1px 0 #fffbe3,
    1px 1px 0 #ffd36a,
    3px 3px 0 #c87616,
    5px 6px 0 #6e2c03,
    8px 10px 0 rgba(35,10,0,.72),
    0 12px 24px rgba(0,0,0,.95),
    0 0 18px rgba(255,238,154,.90),
    0 0 42px rgba(255,190,70,.72),
    0 0 78px rgba(177,0,32,.42) !important;
  filter:
    drop-shadow(0 4px 0 rgba(173,84,8,.70))
    drop-shadow(0 10px 0 rgba(65,24,1,.42))
    drop-shadow(0 22px 28px rgba(0,0,0,.92))
    drop-shadow(0 0 22px rgba(255,213,98,.72)) !important;
  overflow:visible !important;
  isolation:isolate !important;
  white-space:normal !important;
}

/* 讓換行恢復，避免舊版 br display:none 導致整串擠在一起 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title br,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title br{
  display:block !important;
}

/* 橫向亮金刷痕：放在「皇金天堂二」下緣，像圖2那條刷過去的筆跡 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after{
  content:"" !important;
  position:absolute !important;
  z-index:-1 !important;
  left:-6% !important;
  top:.56em !important;
  width:91% !important;
  height:.105em !important;
  min-height:10px !important;
  border-radius:999px !important;
  transform:skewX(-24deg) rotate(-2.4deg) !important;
  background:
    radial-gradient(ellipse at 18% 50%,rgba(255,255,226,.98) 0 10%,transparent 21%),
    radial-gradient(ellipse at 58% 48%,rgba(255,199,62,.95) 0 24%,transparent 52%),
    linear-gradient(90deg,transparent 0%,rgba(77,22,2,.38) 6%,rgba(255,246,178,1) 30%,rgba(255,190,58,.96) 55%,rgba(177,75,8,.65) 80%,transparent 100%) !important;
  box-shadow:
    0 0 20px rgba(255,222,105,.88),
    0 5px 10px rgba(66,24,2,.72),
    14px 0 22px rgba(194,30,42,.34) !important;
  filter:blur(.18px) contrast(1.20) saturate(1.22) !important;
  opacity:1 !important;
  pointer-events:none !important;
  clip-path:polygon(0 50%,5% 18%,13% 36%,23% 24%,34% 42%,47% 22%,62% 39%,76% 25%,92% 44%,100% 30%,96% 72%,82% 62%,68% 78%,54% 61%,39% 76%,24% 60%,9% 78%,0 66%) !important;
}

/* 第二行「闇鴉武士」：也改成亮金，不再吃暗色漸層 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span),
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span){
  position:relative !important;
  z-index:2 !important;
  display:block !important;
  margin-top:.08em !important;
  padding-left:.04em !important;
  font-family:"Noto Serif TC","Source Han Serif TC","PMingLiU","MingLiU","Microsoft JhengHei",serif !important;
  font-size:clamp(58px,8.3vw,126px) !important;
  line-height:.92 !important;
  font-weight:900 !important;
  letter-spacing:.055em !important;
  transform:skewX(3deg) rotate(.2deg) !important;
  color:#ffefaa !important;
  -webkit-text-fill-color:#ffefaa !important;
  -webkit-text-stroke:.95px rgba(255,245,202,.72) !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  paint-order:stroke fill !important;
  text-shadow:
    -1px -1px 0 #fffbe1,
    1px 1px 0 #ffd06b,
    3px 3px 0 #b96813,
    5px 6px 0 #5e2703,
    0 12px 24px rgba(0,0,0,.95),
    0 0 18px rgba(255,229,130,.76),
    0 0 42px rgba(255,174,51,.44) !important;
  filter:
    drop-shadow(0 5px 0 rgba(119,50,4,.62))
    drop-shadow(0 18px 24px rgba(0,0,0,.88))
    drop-shadow(0 0 18px rgba(255,211,99,.52)) !important;
}

/* 第二行底部淡金刷痕 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span)::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span)::after{
  content:"" !important;
  position:absolute !important;
  left:-3% !important;
  right:10% !important;
  bottom:.16em !important;
  height:.12em !important;
  z-index:-1 !important;
  border-radius:999px !important;
  transform:skewX(-18deg) rotate(-1.2deg) !important;
  background:linear-gradient(90deg,transparent,rgba(255,240,160,.72) 25%,rgba(255,172,54,.58) 58%,rgba(87,28,3,.28),transparent) !important;
  filter:blur(.42px) drop-shadow(0 0 10px rgba(255,195,75,.36)) !important;
  opacity:.88 !important;
  pointer-events:none !important;
}

/* Header 品牌也改成亮金，保留 CSS 重畫字，但不要再用 transparent */
html body .site-header .brand span,
html body.home-page .site-header .brand span,
html body.official-video-page .site-header .brand span{
  position:relative !important;
  display:inline-block !important;
  white-space:nowrap !important;
  font-size:0 !important;
  line-height:1 !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  text-shadow:none !important;
  overflow:visible !important;
}
html body .site-header .brand span::before,
html body.home-page .site-header .brand span::before,
html body.official-video-page .site-header .brand span::before{
  content:"皇金天堂二－闇鴉武士" !important;
  position:relative !important;
  z-index:2 !important;
  display:inline-block !important;
  font-family:"Zhi Mang Xing","Ma Shan Zheng","DFKai-SB","KaiTi TC","標楷體",serif !important;
  font-size:32px !important;
  line-height:.95 !important;
  font-weight:400 !important;
  letter-spacing:.052em !important;
  transform:skewX(-5deg) translateY(1px) !important;
  color:#fff1ad !important;
  -webkit-text-fill-color:#fff1ad !important;
  -webkit-text-stroke:.62px rgba(255,246,204,.74) !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  text-shadow:
    -1px -1px 0 #fff9da,
    1px 1px 0 #ffd06c,
    2px 3px 0 #a65a0e,
    0 6px 10px rgba(0,0,0,.82),
    0 0 16px rgba(255,214,103,.66) !important;
  filter:drop-shadow(0 3px 0 rgba(82,33,3,.54)) drop-shadow(0 0 12px rgba(255,210,88,.46)) !important;
}
html body .site-header .brand span::after,
html body.home-page .site-header .brand span::after,
html body.official-video-page .site-header .brand span::after{
  content:"" !important;
  position:absolute !important;
  z-index:1 !important;
  left:-5% !important;
  right:4% !important;
  top:62% !important;
  height:7px !important;
  border-radius:999px !important;
  transform:skewX(-22deg) rotate(-1.5deg) !important;
  background:linear-gradient(90deg,transparent,rgba(255,239,166,.92) 34%,rgba(234,132,31,.78) 58%,rgba(80,27,4,.40),transparent) !important;
  filter:blur(.28px) drop-shadow(0 0 10px rgba(255,190,70,.52)) !important;
  opacity:.95 !important;
  pointer-events:none !important;
}

/* 手機尺寸不要再被壓到像暗色小字 */
@media (max-width:760px){
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title{
    font-size:clamp(58px,17vw,96px) !important;
    -webkit-text-stroke:.9px rgba(255,249,210,.86) !important;
    text-shadow:
      -1px -1px 0 #fffbe3,
      1px 1px 0 #ffd36a,
      3px 3px 0 #bb6a13,
      5px 6px 0 #542202,
      0 10px 20px rgba(0,0,0,.95),
      0 0 22px rgba(255,223,118,.88) !important;
  }
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span),
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span){
    font-size:clamp(42px,12.6vw,70px) !important;
  }
  html body .site-header .brand span,
  html body.home-page .site-header .brand span,
  html body.official-video-page .site-header .brand span{
    display:none !important;
  }
}


/* =========================================================
   V26 CLEAN BRUSH TAIL：收斂霧光 + 加強毛筆拖尾筆劃
   - 拿掉大範圍 glow / blur，避免蓋住下面文字
   - 用硬邊陰影 + 殘墨拖影做毛筆字尾巴
   - 放在檔案最底部，覆蓋前面 v23 設定
   ========================================================= */
:root{
  --dr-v26-gold:#ffe7a6;
  --dr-v26-gold-hi:#fff8d8;
  --dr-v26-gold-mid:#e2a547;
  --dr-v26-gold-deep:#7d3b0a;
  --dr-v26-ink:#2b1204;
}

/* 主標整體：不要再用擴散霧光，改成清楚的亮金筆刷字 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
html body .hero-video-content h1.hero-brush-title,
html body .hero-content h1.hero-brush-title{
  position:relative !important;
  display:inline-block !important;
  width:max-content !important;
  max-width:100% !important;
  margin-top:18px !important;
  margin-bottom:18px !important;
  padding:.01em .13em .05em 0 !important;
  font-family:"Zhi Mang Xing","Ma Shan Zheng","Liu Jian Mao Cao","DFKai-SB","KaiTi TC","STKaiti","標楷體",serif !important;
  font-size:clamp(64px,11.2vw,132px) !important;
  line-height:.84 !important;
  font-weight:400 !important;
  letter-spacing:-.045em !important;
  transform:skewX(-7deg) rotate(-.8deg) !important;
  color:var(--dr-v26-gold) !important;
  -webkit-text-fill-color:var(--dr-v26-gold) !important;
  -webkit-text-stroke:.45px rgba(255,250,224,.88) !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  paint-order:stroke fill !important;
  text-rendering:geometricPrecision !important;
  -webkit-font-smoothing:antialiased !important;

  /* 只保留硬邊立體，不用大半徑模糊光暈 */
  text-shadow:
    0 1px 0 var(--dr-v26-gold-hi),
    1px 2px 0 var(--dr-v26-gold-mid),
    2px 3px 0 #b56818,
    3px 5px 0 var(--dr-v26-gold-deep),
    0 7px 11px rgba(0,0,0,.58),

    /* 右側殘墨拖尾：每個字筆劃後面會拉出一點筆尾 */
    5px 1px 0 rgba(255,222,125,.18),
    9px 2px 0 rgba(199,111,28,.13),
    13px 3px 0 rgba(88,37,6,.09) !important;

  filter:drop-shadow(0 6px 9px rgba(0,0,0,.36)) !important;
  overflow:visible !important;
  isolation:isolate !important;
  white-space:normal !important;
}

/* 恢復換行，避免第一行與第二行被擠在一起 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title br,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title br{
  display:block !important;
}

/* 第一行「皇金天堂二」毛筆拖尾層：不是霧光，是細碎殘墨 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before{
  content:"皇金天堂二" !important;
  position:absolute !important;
  left:.075em !important;
  top:.01em !important;
  z-index:0 !important;
  display:block !important;
  font:inherit !important;
  line-height:inherit !important;
  letter-spacing:inherit !important;
  transform:translateX(.035em) skewX(-3deg) !important;
  color:rgba(255,220,122,.30) !important;
  -webkit-text-fill-color:rgba(255,220,122,.30) !important;
  -webkit-text-stroke:0 transparent !important;
  background:none !important;
  text-shadow:
    .045em .006em 0 rgba(255,245,190,.18),
    .090em .018em 0 rgba(219,133,35,.14),
    .145em .030em 0 rgba(97,40,5,.10) !important;
  filter:none !important;
  opacity:.76 !important;
  pointer-events:none !important;

  /* 橫向斷墨，讓拖尾有毛筆刷絲，不是一整團光 */
  -webkit-mask-image:
    repeating-linear-gradient(180deg,#000 0 4px,transparent 4px 8px),
    linear-gradient(90deg,transparent 0%,#000 10%,#000 86%,transparent 100%) !important;
  mask-image:
    repeating-linear-gradient(180deg,#000 0 4px,transparent 4px 8px),
    linear-gradient(90deg,transparent 0%,#000 10%,#000 86%,transparent 100%) !important;
}

/* 第一行橫向刷痕：變細、變短陰影，不會蓋到下面段落 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after{
  content:"" !important;
  position:absolute !important;
  z-index:0 !important;
  left:-2.5% !important;
  top:.575em !important;
  width:87% !important;
  height:.048em !important;
  min-height:5px !important;
  border-radius:999px !important;
  transform:skewX(-30deg) rotate(-1.8deg) !important;
  background:
    radial-gradient(ellipse at 12% 50%,rgba(255,248,205,.82) 0 8%,transparent 18%),
    radial-gradient(ellipse at 32% 50%,rgba(255,229,140,.72) 0 7%,transparent 16%),
    radial-gradient(ellipse at 53% 48%,rgba(241,177,66,.70) 0 8%,transparent 18%),
    radial-gradient(ellipse at 73% 50%,rgba(210,119,28,.55) 0 6%,transparent 15%),
    linear-gradient(90deg,transparent 0%,rgba(255,238,170,.60) 10%,rgba(255,218,122,.90) 32%,rgba(224,148,46,.78) 65%,rgba(111,44,6,.35) 88%,transparent 100%) !important;
  box-shadow:0 1px 4px rgba(80,32,4,.22) !important;
  filter:none !important;
  opacity:.90 !important;
  pointer-events:none !important;
  clip-path:polygon(0 54%,5% 35%,14% 44%,24% 33%,37% 48%,50% 36%,64% 48%,79% 34%,100% 45%,96% 62%,82% 56%,67% 67%,51% 56%,35% 67%,18% 57%,7% 66%,0 62%) !important;
}

/* 第二行「闇鴉武士」：亮金但收小陰影，避免壓住下面文字 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span),
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span){
  position:relative !important;
  z-index:2 !important;
  display:block !important;
  margin-top:.025em !important;
  padding-left:.04em !important;
  font-family:"Noto Serif TC","Source Han Serif TC","PMingLiU","MingLiU","Microsoft JhengHei",serif !important;
  font-size:clamp(48px,7vw,104px) !important;
  line-height:.90 !important;
  font-weight:900 !important;
  letter-spacing:.035em !important;
  transform:skewX(2deg) rotate(.1deg) !important;
  color:#ffefb2 !important;
  -webkit-text-fill-color:#ffefb2 !important;
  -webkit-text-stroke:.50px rgba(255,246,210,.72) !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  text-shadow:
    0 1px 0 #fff7d4,
    1px 2px 0 #d9a048,
    2px 4px 0 #7f3d0d,
    0 7px 11px rgba(0,0,0,.50) !important;
  filter:drop-shadow(0 6px 8px rgba(0,0,0,.30)) !important;
}

/* 第二行底部刷痕也收斂 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span)::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span)::after{
  content:"" !important;
  position:absolute !important;
  left:-1.5% !important;
  right:18% !important;
  bottom:.155em !important;
  height:.055em !important;
  z-index:-1 !important;
  border-radius:999px !important;
  transform:skewX(-20deg) rotate(-1deg) !important;
  background:linear-gradient(90deg,transparent,rgba(255,238,172,.38) 24%,rgba(222,151,46,.34) 56%,rgba(96,34,5,.12),transparent) !important;
  box-shadow:none !important;
  filter:none !important;
  opacity:.62 !important;
  pointer-events:none !important;
}

/* 下面的說明文字、按鈕層級拉高，避免任何裝飾層蓋住 */
html body :is(.hero-video-content,.hero-content) .lead,
html body :is(.hero-video-content,.hero-content) .actions,
html body :is(.hero-video-content,.hero-content) .hero-slide-meta,
html body :is(.hero-video-content,.hero-content) .hero-video-stats{
  position:relative !important;
  z-index:8 !important;
}

/* Header 品牌也收掉霧光 */
html body .site-header .brand span::before,
html body.home-page .site-header .brand span::before,
html body.official-video-page .site-header .brand span::before{
  color:#ffe8a6 !important;
  -webkit-text-fill-color:#ffe8a6 !important;
  text-shadow:
    0 1px 0 #fff7d4,
    1px 2px 0 #d29a42,
    0 4px 6px rgba(0,0,0,.46) !important;
  filter:none !important;
}
html body .site-header .brand span::after,
html body.home-page .site-header .brand span::after,
html body.official-video-page .site-header .brand span::after{
  height:4px !important;
  opacity:.62 !important;
  box-shadow:none !important;
  filter:none !important;
}

@media (max-width:760px){
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title{
    font-size:clamp(52px,14.8vw,84px) !important;
    margin-bottom:14px !important;
    -webkit-text-stroke:.42px rgba(255,249,222,.9) !important;
    text-shadow:
      0 1px 0 #fff6cf,
      1px 2px 0 #dda248,
      2px 3px 0 #78390a,
      0 6px 9px rgba(0,0,0,.55),
      5px 1px 0 rgba(255,218,118,.12),
      9px 2px 0 rgba(150,67,14,.08) !important;
    filter:drop-shadow(0 5px 7px rgba(0,0,0,.34)) !important;
  }
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after{
    top:.585em !important;
    height:.045em !important;
    min-height:4px !important;
    opacity:.82 !important;
  }
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span),
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span){
    font-size:clamp(38px,10.6vw,60px) !important;
    text-shadow:
      0 1px 0 #fff6cf,
      1px 2px 0 #d99d45,
      0 5px 8px rgba(0,0,0,.46) !important;
    filter:none !important;
  }
}


/* =========================================================
   V27 CLEAR GLYPH BRUSH FIX
   修正：
   1) 「堂」字被擠成一團：取消負字距、降低傾斜、移除重複文字拖影。
   2) 「二」字太短：用獨立筆劃延伸層補長二字的上、下橫筆。
   3) 保留亮金、硬邊立體陰影、細碎毛筆拖尾，不再用大霧光。
   ========================================================= */
:root{
  --dr-v27-gold:#ffe9a8;
  --dr-v27-gold-hi:#fff9dc;
  --dr-v27-gold-mid:#d99a35;
  --dr-v27-gold-deep:#6d3008;
  --dr-v27-ink:#2a1103;
}

/* 主標第一行：字距放開，讓「堂」不再糊成一坨 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
html body .hero-video-content h1.hero-brush-title,
html body .hero-content h1.hero-brush-title{
  position:relative !important;
  display:inline-block !important;
  width:max-content !important;
  max-width:100% !important;
  margin-top:18px !important;
  margin-bottom:16px !important;
  padding:.02em .26em .06em .02em !important;
  font-family:"Ma Shan Zheng","Zhi Mang Xing","Liu Jian Mao Cao","DFKai-SB","KaiTi TC","STKaiti","標楷體",serif !important;
  font-size:clamp(62px,10.4vw,124px) !important;
  line-height:.95 !important;
  font-weight:400 !important;

  /* 重點：不要負字距，堂字才不會擠壞 */
  letter-spacing:.055em !important;
  word-spacing:normal !important;
  transform:skewX(-3.5deg) rotate(-.45deg) !important;

  color:var(--dr-v27-gold) !important;
  -webkit-text-fill-color:var(--dr-v27-gold) !important;
  -webkit-text-stroke:.38px rgba(255,250,224,.90) !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  paint-order:stroke fill !important;
  text-rendering:geometricPrecision !important;
  -webkit-font-smoothing:antialiased !important;
  overflow:visible !important;
  isolation:isolate !important;
  white-space:normal !important;

  /* 硬邊立體 + 輕微右向筆尾，不用大模糊 */
  text-shadow:
    0 1px 0 var(--dr-v27-gold-hi),
    1px 2px 0 var(--dr-v27-gold-mid),
    2px 3px 0 #a85a11,
    3px 4px 0 var(--dr-v27-gold-deep),
    0 6px 9px rgba(0,0,0,.62),
    .045em .006em 0 rgba(255,224,126,.11),
    .078em .013em 0 rgba(132,56,10,.08) !important;
  filter:drop-shadow(0 5px 7px rgba(0,0,0,.30)) !important;
}

/* 保持上下兩行正常斷開 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title br,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title br,
html body .hero-video-content h1.hero-brush-title br,
html body .hero-content h1.hero-brush-title br{
  display:block !important;
  content:"" !important;
  margin:0 !important;
}

/* 取消 v26 的重複「皇金天堂二」拖影，這就是堂字看起來擠爛的主因 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before,
html body .hero-video-content h1.hero-brush-title::before,
html body .hero-content h1.hero-brush-title::before{
  content:"" !important;
  position:absolute !important;
  z-index:3 !important;
  pointer-events:none !important;

  /* 補長最後一個「二」字：上橫 + 下橫，帶毛邊 */
  left:calc(100% - 1.28em) !important;
  top:.18em !important;
  width:1.06em !important;
  height:.46em !important;
  opacity:.92 !important;
  transform:skewX(-6deg) rotate(-1deg) !important;
  background:
    linear-gradient(90deg,transparent 0%,rgba(255,247,204,.82) 9%,rgba(255,225,125,.78) 38%,rgba(203,112,24,.50) 78%,transparent 100%) 0 8%/100% .075em no-repeat,
    linear-gradient(90deg,transparent 0%,rgba(255,250,216,.90) 6%,rgba(255,220,113,.86) 42%,rgba(190,92,16,.58) 84%,transparent 100%) 0 72%/100% .095em no-repeat !important;
  border-radius:999px !important;
  filter:none !important;
  -webkit-mask-image:
    repeating-linear-gradient(180deg,#000 0 3px,rgba(0,0,0,.72) 3px 5px,transparent 5px 7px),
    linear-gradient(90deg,transparent 0%,#000 10%,#000 88%,transparent 100%) !important;
  mask-image:
    repeating-linear-gradient(180deg,#000 0 3px,rgba(0,0,0,.72) 3px 5px,transparent 5px 7px),
    linear-gradient(90deg,transparent 0%,#000 10%,#000 88%,transparent 100%) !important;
}

/* 第一行下方橫向刷痕：放到字底，不壓堂字，也不蓋下面文字 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
html body .hero-video-content h1.hero-brush-title::after,
html body .hero-content h1.hero-brush-title::after{
  content:"" !important;
  position:absolute !important;
  z-index:1 !important;
  left:.02em !important;
  top:.82em !important;
  width:min(5.95em,96%) !important;
  height:.052em !important;
  min-height:5px !important;
  border-radius:999px !important;
  transform:skewX(-25deg) rotate(-1.1deg) !important;
  background:
    radial-gradient(ellipse at 10% 50%,rgba(255,249,205,.70) 0 8%,transparent 20%),
    radial-gradient(ellipse at 36% 45%,rgba(255,228,132,.58) 0 7%,transparent 18%),
    radial-gradient(ellipse at 66% 52%,rgba(216,126,25,.40) 0 7%,transparent 20%),
    linear-gradient(90deg,transparent 0%,rgba(255,239,174,.50) 10%,rgba(255,215,105,.70) 36%,rgba(198,99,19,.45) 72%,rgba(72,25,4,.20) 90%,transparent 100%) !important;
  box-shadow:none !important;
  filter:none !important;
  opacity:.76 !important;
  pointer-events:none !important;
  clip-path:polygon(0 55%,7% 40%,18% 52%,31% 37%,45% 53%,58% 40%,72% 55%,88% 42%,100% 50%,96% 65%,82% 58%,66% 70%,50% 58%,33% 70%,16% 60%,5% 68%,0 62%) !important;
}

/* 第二行：維持亮金，但行距拉開，不要跟第一行互卡 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span),
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span),
html body .hero-video-content h1.hero-brush-title :is(.gold,.text-gold,span),
html body .hero-content h1.hero-brush-title :is(.gold,.text-gold,span){
  position:relative !important;
  z-index:4 !important;
  display:block !important;
  margin-top:.10em !important;
  padding-left:.055em !important;
  padding-bottom:.04em !important;
  font-family:"Noto Serif TC","Source Han Serif TC","PMingLiU","MingLiU","Microsoft JhengHei",serif !important;
  font-size:clamp(48px,7vw,104px) !important;
  line-height:.98 !important;
  font-weight:900 !important;
  letter-spacing:.055em !important;
  transform:skewX(1deg) rotate(.05deg) !important;
  color:#ffefb5 !important;
  -webkit-text-fill-color:#ffefb5 !important;
  -webkit-text-stroke:.45px rgba(255,247,213,.76) !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  text-shadow:
    0 1px 0 #fff8d5,
    1px 2px 0 #d99b39,
    2px 3px 0 #713108,
    0 6px 8px rgba(0,0,0,.50) !important;
  filter:drop-shadow(0 5px 6px rgba(0,0,0,.25)) !important;
}

/* 第二行刷痕收短，避免蓋段落 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span)::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span)::after,
html body .hero-video-content h1.hero-brush-title :is(.gold,.text-gold,span)::after,
html body .hero-content h1.hero-brush-title :is(.gold,.text-gold,span)::after{
  content:"" !important;
  position:absolute !important;
  left:.01em !important;
  right:22% !important;
  bottom:.08em !important;
  height:.045em !important;
  z-index:-1 !important;
  border-radius:999px !important;
  transform:skewX(-18deg) rotate(-.8deg) !important;
  background:linear-gradient(90deg,transparent,rgba(255,239,174,.30) 24%,rgba(206,121,28,.24) 58%,rgba(92,31,4,.10),transparent) !important;
  box-shadow:none !important;
  filter:none !important;
  opacity:.52 !important;
  pointer-events:none !important;
}

/* 下面文字永遠在裝飾層上方 */
html body :is(.hero-video-content,.hero-content) .lead,
html body :is(.hero-video-content,.hero-content) .actions,
html body :is(.hero-video-content,.hero-content) .hero-slide-meta,
html body :is(.hero-video-content,.hero-content) .hero-video-stats{
  position:relative !important;
  z-index:20 !important;
}

@media (max-width:760px){
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
  html body .hero-video-content h1.hero-brush-title,
  html body .hero-content h1.hero-brush-title{
    font-size:clamp(50px,13.2vw,78px) !important;
    line-height:.98 !important;
    letter-spacing:.045em !important;
    transform:skewX(-2.4deg) rotate(-.25deg) !important;
    padding-right:.22em !important;
    text-shadow:
      0 1px 0 #fff8d5,
      1px 2px 0 #d69a39,
      2px 3px 0 #753308,
      0 5px 7px rgba(0,0,0,.55),
      .04em .006em 0 rgba(255,222,122,.09) !important;
    filter:none !important;
  }
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before,
  html body .hero-video-content h1.hero-brush-title::before,
  html body .hero-content h1.hero-brush-title::before{
    left:calc(100% - 1.18em) !important;
    top:.20em !important;
    width:.98em !important;
    height:.42em !important;
    opacity:.86 !important;
  }
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
  html body .hero-video-content h1.hero-brush-title::after,
  html body .hero-content h1.hero-brush-title::after{
    top:.84em !important;
    width:94% !important;
    height:.045em !important;
    min-height:4px !important;
    opacity:.68 !important;
  }
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span),
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span),
  html body .hero-video-content h1.hero-brush-title :is(.gold,.text-gold,span),
  html body .hero-content h1.hero-brush-title :is(.gold,.text-gold,span){
    font-size:clamp(38px,9.8vw,58px) !important;
    line-height:1.02 !important;
    margin-top:.12em !important;
    letter-spacing:.045em !important;
    text-shadow:
      0 1px 0 #fff8d5,
      1px 2px 0 #d69a39,
      0 5px 7px rgba(0,0,0,.45) !important;
    filter:none !important;
  }
}


/* =========================================================
   v28 title position + readable brush-tail restore
   只調整「皇金天堂二」主標：往右移、補回毛筆拖尾，不再擠壞堂字。
   ========================================================= */
:root{
  --dr-v28-title-shift:clamp(26px,4.2vw,62px);
}

html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
html body .hero-video-content h1.hero-brush-title,
html body .hero-content h1.hero-brush-title{
  /* 主標整組往右，不動圖片、不改 HTML */
  margin-left:var(--dr-v28-title-shift) !important;
  max-width:calc(100% - var(--dr-v28-title-shift) - 8px) !important;
  padding-right:.46em !important;

  /* 字本體維持清楚，不再用大霧光 */
  text-shadow:
    0 1px 0 #fff8d5,
    1px 2px 0 #dda144,
    2px 3px 0 #a85a11,
    3px 4px 0 #5b2105,
    0 6px 8px rgba(0,0,0,.56),
    .032em .006em 0 rgba(255,226,128,.14),
    .060em .012em 0 rgba(183,82,12,.10) !important;
}

/* 補回「皇金天堂二」每個字右側細碎拖尾。
   用獨立筆劃層，不用複製文字，所以堂字不會再糊成一團。 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
html body .hero-video-content h1.hero-brush-title::after,
html body .hero-content h1.hero-brush-title::after{
  content:"" !important;
  position:absolute !important;
  z-index:6 !important;
  left:.04em !important;
  top:.06em !important;
  width:min(6.85em,calc(100% + .55em)) !important;
  height:.93em !important;
  min-height:0 !important;
  pointer-events:none !important;
  border-radius:0 !important;
  opacity:.92 !important;
  transform:skewX(-11deg) rotate(-1deg) !important;
  box-shadow:none !important;
  filter:none !important;
  clip-path:none !important;
  mix-blend-mode:normal !important;

  /* 多段短橫、斷墨、飛白，位置對應五個字的右側筆尾 */
  background:
    linear-gradient(100deg,transparent 0%,rgba(255,250,217,.86) 9%,rgba(255,224,119,.74) 42%,rgba(193,94,14,.44) 76%,transparent 100%) .76em .13em/.88em .052em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,241,179,.72) 12%,rgba(226,143,37,.54) 54%,rgba(86,26,3,.22) 86%,transparent 100%) .88em .33em/1.10em .036em no-repeat,
    linear-gradient(103deg,transparent 0%,rgba(255,247,205,.80) 10%,rgba(248,198,82,.62) 45%,rgba(154,61,7,.30) 82%,transparent 100%) 1.76em .21em/.96em .045em no-repeat,
    linear-gradient(96deg,transparent 0%,rgba(255,232,144,.62) 18%,rgba(219,117,23,.42) 58%,transparent 100%) 1.94em .47em/.78em .032em no-repeat,
    linear-gradient(101deg,transparent 0%,rgba(255,250,218,.78) 10%,rgba(255,219,111,.66) 43%,rgba(168,73,8,.36) 80%,transparent 100%) 2.80em .16em/1.10em .050em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,233,151,.62) 16%,rgba(205,105,18,.42) 60%,transparent 100%) 2.98em .38em/.92em .034em no-repeat,
    linear-gradient(103deg,transparent 0%,rgba(255,248,205,.74) 12%,rgba(244,188,70,.58) 46%,rgba(132,48,5,.28) 82%,transparent 100%) 3.84em .23em/1.02em .046em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,228,133,.58) 18%,rgba(192,88,12,.34) 62%,transparent 100%) 4.06em .48em/.78em .032em no-repeat,
    linear-gradient(100deg,transparent 0%,rgba(255,252,224,.86) 9%,rgba(255,219,111,.70) 43%,rgba(183,75,8,.38) 82%,transparent 100%) 4.78em .18em/1.38em .050em no-repeat,

    /* 字底橫向刷痕：只在第一行字內，不往下擴散 */
    radial-gradient(ellipse at 12% 50%,rgba(255,249,205,.62) 0 8%,transparent 20%) .10em .79em/.70em .070em no-repeat,
    linear-gradient(90deg,transparent 0%,rgba(255,239,174,.44) 8%,rgba(255,215,105,.58) 33%,rgba(198,99,19,.36) 70%,rgba(72,25,4,.14) 88%,transparent 100%) .14em .80em/5.96em .060em no-repeat !important;

  -webkit-mask-image:
    repeating-linear-gradient(180deg,#000 0 3px,rgba(0,0,0,.82) 3px 5px,rgba(0,0,0,.52) 5px 6px,transparent 6px 8px),
    linear-gradient(90deg,transparent 0%,#000 6%,#000 92%,transparent 100%) !important;
  mask-image:
    repeating-linear-gradient(180deg,#000 0 3px,rgba(0,0,0,.82) 3px 5px,rgba(0,0,0,.52) 5px 6px,transparent 6px 8px),
    linear-gradient(90deg,transparent 0%,#000 6%,#000 92%,transparent 100%) !important;
}

/* 保留 v27 的「二」字延長筆，不要被拖尾層蓋掉 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before,
html body .hero-video-content h1.hero-brush-title::before,
html body .hero-content h1.hero-brush-title::before{
  z-index:7 !important;
  opacity:.95 !important;
}

/* 第二行跟主標一起右移後，仍保持正常間距 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title :is(.gold,.text-gold,span),
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title :is(.gold,.text-gold,span),
html body .hero-video-content h1.hero-brush-title :is(.gold,.text-gold,span),
html body .hero-content h1.hero-brush-title :is(.gold,.text-gold,span){
  margin-top:.12em !important;
}

@media (max-width:760px){
  :root{--dr-v28-title-shift:clamp(18px,5.8vw,34px)}
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
  html body .hero-video-content h1.hero-brush-title,
  html body .hero-content h1.hero-brush-title{
    max-width:calc(100% - var(--dr-v28-title-shift) - 4px) !important;
    padding-right:.32em !important;
  }
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
  html body .hero-video-content h1.hero-brush-title::after,
  html body .hero-content h1.hero-brush-title::after{
    top:.07em !important;
    left:.02em !important;
    width:min(6.40em,calc(100% + .32em)) !important;
    height:.88em !important;
    opacity:.86 !important;
    background:
      linear-gradient(100deg,transparent 0%,rgba(255,250,217,.78) 10%,rgba(255,224,119,.64) 43%,rgba(193,94,14,.34) 76%,transparent 100%) .70em .13em/.72em .042em no-repeat,
      linear-gradient(98deg,transparent 0%,rgba(255,241,179,.60) 14%,rgba(226,143,37,.44) 54%,transparent 100%) .86em .32em/.88em .030em no-repeat,
      linear-gradient(103deg,transparent 0%,rgba(255,247,205,.70) 11%,rgba(248,198,82,.50) 45%,rgba(154,61,7,.24) 82%,transparent 100%) 1.60em .21em/.78em .038em no-repeat,
      linear-gradient(101deg,transparent 0%,rgba(255,250,218,.68) 10%,rgba(255,219,111,.54) 43%,rgba(168,73,8,.28) 80%,transparent 100%) 2.48em .16em/.88em .040em no-repeat,
      linear-gradient(103deg,transparent 0%,rgba(255,248,205,.62) 12%,rgba(244,188,70,.45) 46%,rgba(132,48,5,.20) 82%,transparent 100%) 3.34em .23em/.82em .038em no-repeat,
      linear-gradient(100deg,transparent 0%,rgba(255,252,224,.72) 9%,rgba(255,219,111,.56) 43%,rgba(183,75,8,.28) 82%,transparent 100%) 4.10em .18em/1.10em .040em no-repeat,
      linear-gradient(90deg,transparent 0%,rgba(255,239,174,.34) 8%,rgba(255,215,105,.44) 33%,rgba(198,99,19,.28) 70%,transparent 100%) .12em .80em/5.24em .050em no-repeat !important;
  }
}

/* =========================================================
   v29 bigger homepage brush title
   只把第一行「皇金天堂二」放大一些些，其它 v28 設定不動。
   ========================================================= */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
html body .hero-video-content h1.hero-brush-title,
html body .hero-content h1.hero-brush-title{
  font-size:clamp(66px,11vw,132px) !important;
  line-height:.94 !important;
  margin-bottom:18px !important;
}

/* 字變大後，拖尾筆劃跟著微調，避免太貼邊或壓到第二行 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
html body .hero-video-content h1.hero-brush-title::after,
html body .hero-content h1.hero-brush-title::after{
  top:.055em !important;
  height:.90em !important;
  width:min(6.92em,calc(100% + .58em)) !important;
}

/* 「二」字延長筆跟著新尺寸貼齊 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before,
html body .hero-video-content h1.hero-brush-title::before,
html body .hero-content h1.hero-brush-title::before{
  transform:skewX(-18deg) rotate(-1.8deg) scaleX(1.04) !important;
}

@media (max-width:760px){
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
  html body .hero-video-content h1.hero-brush-title,
  html body .hero-content h1.hero-brush-title{
    font-size:clamp(53px,14vw,82px) !important;
    line-height:.95 !important;
    margin-bottom:17px !important;
  }
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
  html body .hero-video-content h1.hero-brush-title::after,
  html body .hero-content h1.hero-brush-title::after{
    width:min(6.50em,calc(100% + .34em)) !important;
    height:.86em !important;
  }
}


/* =========================================================
   v30 fix: 二字不要被中線拖尾切成「三」
   - 拖尾層改到文字後方，不再壓在字面上。
   - 移除「二」字中間那條尾巴，只保留上橫/下橫右側細尾。
   ========================================================= */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
html body .hero-video-content h1.hero-brush-title::after,
html body .hero-content h1.hero-brush-title::after{
  z-index:-1 !important;
  top:.055em !important;
  left:.04em !important;
  width:min(6.96em,calc(100% + .62em)) !important;
  height:.93em !important;
  opacity:.90 !important;
  transform:skewX(-11deg) rotate(-1deg) !important;
  mix-blend-mode:normal !important;

  /* 前四個字照舊保留毛筆殘墨；第五個「二」只在上/下橫末端補尾，
     中間完全不放線，避免看起來變成「三」。 */
  background:
    linear-gradient(100deg,transparent 0%,rgba(255,250,217,.82) 9%,rgba(255,224,119,.70) 42%,rgba(193,94,14,.40) 76%,transparent 100%) .76em .13em/.88em .052em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,241,179,.68) 12%,rgba(226,143,37,.50) 54%,rgba(86,26,3,.18) 86%,transparent 100%) .88em .33em/1.10em .036em no-repeat,
    linear-gradient(103deg,transparent 0%,rgba(255,247,205,.76) 10%,rgba(248,198,82,.58) 45%,rgba(154,61,7,.26) 82%,transparent 100%) 1.76em .21em/.96em .045em no-repeat,
    linear-gradient(96deg,transparent 0%,rgba(255,232,144,.58) 18%,rgba(219,117,23,.38) 58%,transparent 100%) 1.94em .47em/.78em .032em no-repeat,
    linear-gradient(101deg,transparent 0%,rgba(255,250,218,.74) 10%,rgba(255,219,111,.62) 43%,rgba(168,73,8,.32) 80%,transparent 100%) 2.80em .16em/1.10em .050em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,233,151,.58) 16%,rgba(205,105,18,.38) 60%,transparent 100%) 2.98em .38em/.92em .034em no-repeat,
    linear-gradient(103deg,transparent 0%,rgba(255,248,205,.70) 12%,rgba(244,188,70,.54) 46%,rgba(132,48,5,.24) 82%,transparent 100%) 3.84em .23em/1.02em .046em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,228,133,.54) 18%,rgba(192,88,12,.30) 62%,transparent 100%) 4.06em .48em/.78em .032em no-repeat,

    /* 二字上橫拖尾：只放在上方，不穿過字中間 */
    linear-gradient(100deg,transparent 0%,rgba(255,252,224,.72) 10%,rgba(255,224,124,.58) 44%,rgba(178,72,8,.28) 82%,transparent 100%) 5.10em .055em/.96em .036em no-repeat,
    /* 二字下橫拖尾：只放在下方，避開中線 */
    linear-gradient(98deg,transparent 0%,rgba(255,247,205,.74) 10%,rgba(255,216,108,.56) 44%,rgba(178,72,8,.30) 82%,transparent 100%) 5.04em .675em/1.04em .044em no-repeat,

    /* 字底橫向刷痕縮短到「二」字前，不再從二字中間穿過 */
    radial-gradient(ellipse at 12% 50%,rgba(255,249,205,.56) 0 8%,transparent 20%) .10em .79em/.70em .064em no-repeat,
    linear-gradient(90deg,transparent 0%,rgba(255,239,174,.38) 8%,rgba(255,215,105,.50) 33%,rgba(198,99,19,.30) 70%,rgba(72,25,4,.12) 88%,transparent 100%) .14em .80em/4.82em .052em no-repeat !important;
}

/* 二字本身的兩條延長筆維持在字面上，但壓低厚度，避免誤判成第三橫。 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before,
html body .hero-video-content h1.hero-brush-title::before,
html body .hero-content h1.hero-brush-title::before{
  top:.17em !important;
  height:.48em !important;
  z-index:2 !important;
  background:
    linear-gradient(90deg,transparent 0%,rgba(255,247,204,.82) 9%,rgba(255,225,125,.76) 38%,rgba(203,112,24,.48) 78%,transparent 100%) 0 5%/100% .060em no-repeat,
    linear-gradient(90deg,transparent 0%,rgba(255,250,216,.90) 6%,rgba(255,220,113,.84) 42%,rgba(190,92,16,.56) 84%,transparent 100%) 0 82%/100% .078em no-repeat !important;
}

@media (max-width:760px){
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
  html body .hero-video-content h1.hero-brush-title::after,
  html body .hero-content h1.hero-brush-title::after{
    z-index:-1 !important;
    top:.06em !important;
    left:.02em !important;
    width:min(6.56em,calc(100% + .38em)) !important;
    height:.88em !important;
    opacity:.84 !important;
    background:
      linear-gradient(100deg,transparent 0%,rgba(255,250,217,.72) 10%,rgba(255,224,119,.58) 43%,rgba(193,94,14,.28) 76%,transparent 100%) .70em .13em/.72em .040em no-repeat,
      linear-gradient(98deg,transparent 0%,rgba(255,241,179,.56) 14%,rgba(226,143,37,.38) 54%,transparent 100%) .86em .32em/.88em .028em no-repeat,
      linear-gradient(103deg,transparent 0%,rgba(255,247,205,.64) 11%,rgba(248,198,82,.45) 45%,rgba(154,61,7,.20) 82%,transparent 100%) 1.60em .21em/.78em .036em no-repeat,
      linear-gradient(101deg,transparent 0%,rgba(255,250,218,.62) 10%,rgba(255,219,111,.48) 43%,rgba(168,73,8,.24) 80%,transparent 100%) 2.48em .16em/.88em .038em no-repeat,
      linear-gradient(103deg,transparent 0%,rgba(255,248,205,.58) 12%,rgba(244,188,70,.40) 46%,rgba(132,48,5,.18) 82%,transparent 100%) 3.34em .23em/.82em .036em no-repeat,
      /* 二字手機版：只保留上/下兩端尾巴，中間不畫 */
      linear-gradient(100deg,transparent 0%,rgba(255,252,224,.60) 10%,rgba(255,219,111,.44) 43%,rgba(183,75,8,.22) 82%,transparent 100%) 4.74em .055em/.72em .032em no-repeat,
      linear-gradient(98deg,transparent 0%,rgba(255,247,205,.62) 10%,rgba(255,216,108,.44) 44%,rgba(178,72,8,.24) 82%,transparent 100%) 4.68em .665em/.82em .036em no-repeat,
      linear-gradient(90deg,transparent 0%,rgba(255,239,174,.30) 8%,rgba(255,215,105,.38) 33%,rgba(198,99,19,.22) 70%,transparent 100%) .12em .80em/4.28em .046em no-repeat !important;
  }

  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before,
  html body .hero-video-content h1.hero-brush-title::before,
  html body .hero-content h1.hero-brush-title::before{
    top:.19em !important;
    height:.43em !important;
    background:
      linear-gradient(90deg,transparent 0%,rgba(255,247,204,.78) 9%,rgba(255,225,125,.70) 38%,rgba(203,112,24,.42) 78%,transparent 100%) 0 5%/100% .052em no-repeat,
      linear-gradient(90deg,transparent 0%,rgba(255,250,216,.86) 6%,rgba(255,220,113,.78) 42%,rgba(190,92,16,.50) 84%,transparent 100%) 0 84%/100% .064em no-repeat !important;
  }
}

/* =========================================================
   v31 FIX: 「二」字絕對不再被拖尾穿過變成「三」
   做法：
   1) 關掉原本疊在「二」字上的 ::before 延長筆，避免多一條橫線。
   2) ::after 拖尾層只畫到「堂」字右側，完全不進入最後「二」字區域。
   3) 底部刷痕縮短，不再掃過「二」字中間。
   ========================================================= */

/* 直接取消最後一字的疊加筆劃：這是造成「二」看起來像「三」的最大來源 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before,
html body .hero-video-content h1.hero-brush-title::before,
html body .hero-content h1.hero-brush-title::before{
  content:"" !important;
  display:none !important;
  opacity:0 !important;
  background:none !important;
  box-shadow:none !important;
  filter:none !important;
}

/* 拖尾只保留在「皇金天堂」前四字，最後的「二」字區域完全留白 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
html body .hero-video-content h1.hero-brush-title::after,
html body .hero-content h1.hero-brush-title::after{
  content:"" !important;
  position:absolute !important;
  z-index:-1 !important;
  left:.035em !important;
  top:.065em !important;
  width:4.62em !important;      /* 關鍵：不畫到第 5 個字「二」 */
  max-width:4.62em !important;
  height:.86em !important;
  min-height:0 !important;
  pointer-events:none !important;
  opacity:.88 !important;
  transform:skewX(-10deg) rotate(-1deg) !important;
  border-radius:0 !important;
  box-shadow:none !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  clip-path:none !important;

  background:
    /* 皇 */
    linear-gradient(100deg,transparent 0%,rgba(255,250,217,.78) 10%,rgba(255,224,119,.64) 43%,rgba(193,94,14,.36) 76%,transparent 100%) .70em .13em/.72em .042em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,241,179,.58) 14%,rgba(226,143,37,.40) 54%,transparent 100%) .86em .32em/.82em .028em no-repeat,

    /* 金 */
    linear-gradient(103deg,transparent 0%,rgba(255,247,205,.68) 11%,rgba(248,198,82,.50) 45%,rgba(154,61,7,.22) 82%,transparent 100%) 1.58em .21em/.82em .038em no-repeat,
    linear-gradient(96deg,transparent 0%,rgba(255,232,144,.48) 18%,rgba(219,117,23,.30) 58%,transparent 100%) 1.82em .46em/.54em .026em no-repeat,

    /* 天 */
    linear-gradient(101deg,transparent 0%,rgba(255,250,218,.66) 10%,rgba(255,219,111,.50) 43%,rgba(168,73,8,.24) 80%,transparent 100%) 2.46em .16em/.88em .040em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,233,151,.48) 16%,rgba(205,105,18,.30) 60%,transparent 100%) 2.70em .38em/.62em .026em no-repeat,

    /* 堂：只補到堂字右側，絕不延伸到二字 */
    linear-gradient(103deg,transparent 0%,rgba(255,248,205,.62) 12%,rgba(244,188,70,.45) 46%,rgba(132,48,5,.18) 82%,transparent 100%) 3.30em .22em/.88em .038em no-repeat,
    linear-gradient(98deg,transparent 0%,rgba(255,228,133,.45) 18%,rgba(192,88,12,.22) 62%,transparent 100%) 3.52em .48em/.54em .026em no-repeat,

    /* 字底刷痕：縮短在「堂」字前後，不掃進二字 */
    radial-gradient(ellipse at 12% 50%,rgba(255,249,205,.50) 0 8%,transparent 20%) .10em .79em/.60em .056em no-repeat,
    linear-gradient(90deg,transparent 0%,rgba(255,239,174,.30) 8%,rgba(255,215,105,.42) 33%,rgba(198,99,19,.24) 70%,rgba(72,25,4,.10) 88%,transparent 100%) .14em .80em/4.05em .044em no-repeat !important;

  -webkit-mask-image:
    repeating-linear-gradient(180deg,#000 0 3px,rgba(0,0,0,.82) 3px 5px,rgba(0,0,0,.50) 5px 6px,transparent 6px 8px),
    linear-gradient(90deg,#000 0%,#000 86%,transparent 100%) !important;
  mask-image:
    repeating-linear-gradient(180deg,#000 0 3px,rgba(0,0,0,.82) 3px 5px,rgba(0,0,0,.50) 5px 6px,transparent 6px 8px),
    linear-gradient(90deg,#000 0%,#000 86%,transparent 100%) !important;
}

/* 用很淡的整體右向硬邊陰影補一點筆勢，不會穿過「二」字中間 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
html body .hero-video-content h1.hero-brush-title,
html body .hero-content h1.hero-brush-title{
  text-shadow:
    0 1px 0 #fff8d5,
    1px 2px 0 #dda144,
    2px 3px 0 #a85a11,
    3px 4px 0 #5b2105,
    0 6px 8px rgba(0,0,0,.56),
    .055em .000em 0 rgba(255,222,110,.10),
    .092em .006em 0 rgba(150,64,10,.07) !important;
}

@media (max-width:760px){
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::before,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::before,
  html body .hero-video-content h1.hero-brush-title::before,
  html body .hero-content h1.hero-brush-title::before{
    display:none !important;
    opacity:0 !important;
    background:none !important;
  }

  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
  html body .hero-video-content h1.hero-brush-title::after,
  html body .hero-content h1.hero-brush-title::after{
    left:.02em !important;
    top:.07em !important;
    width:4.26em !important;     /* 手機也不要進入「二」字 */
    max-width:4.26em !important;
    height:.82em !important;
    opacity:.82 !important;
    background:
      linear-gradient(100deg,transparent 0%,rgba(255,250,217,.68) 10%,rgba(255,224,119,.52) 43%,rgba(193,94,14,.24) 76%,transparent 100%) .62em .13em/.58em .034em no-repeat,
      linear-gradient(98deg,transparent 0%,rgba(255,241,179,.50) 14%,rgba(226,143,37,.34) 54%,transparent 100%) .78em .32em/.66em .024em no-repeat,
      linear-gradient(103deg,transparent 0%,rgba(255,247,205,.58) 11%,rgba(248,198,82,.40) 45%,rgba(154,61,7,.18) 82%,transparent 100%) 1.42em .21em/.66em .032em no-repeat,
      linear-gradient(101deg,transparent 0%,rgba(255,250,218,.56) 10%,rgba(255,219,111,.40) 43%,rgba(168,73,8,.20) 80%,transparent 100%) 2.22em .16em/.74em .032em no-repeat,
      linear-gradient(103deg,transparent 0%,rgba(255,248,205,.52) 12%,rgba(244,188,70,.34) 46%,rgba(132,48,5,.16) 82%,transparent 100%) 3.00em .22em/.72em .030em no-repeat,
      linear-gradient(90deg,transparent 0%,rgba(255,239,174,.24) 8%,rgba(255,215,105,.32) 33%,rgba(198,99,19,.18) 70%,transparent 100%) .12em .80em/3.72em .040em no-repeat !important;
  }
}


/* =========================================================
   v32: 主標再大一點 + 更硬邊立體
   - 延續 v31：二字區域不加拖尾，避免再變成「三」。
   - 只放大「皇金天堂二」與加強立體陰影，不重做字型結構。
   ========================================================= */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
html body .hero-video-content h1.hero-brush-title,
html body .hero-content h1.hero-brush-title{
  font-size:clamp(72px,11.85vw,146px) !important;
  line-height:.92 !important;
  margin-bottom:24px !important;

  /* 亮金實字 + 深色硬邊堆疊，增加立體感但不放大霧光 */
  color:#ffe27b !important;
  -webkit-text-fill-color:#ffe27b !important;
  -webkit-text-stroke:.018em rgba(92,34,3,.50) !important;
  paint-order:stroke fill !important;
  filter:none !important;
  text-shadow:
    0 1px 0 #fff9d6,
    0 2px 0 #ffe8a6,
    1px 3px 0 #e5aa42,
    2px 4px 0 #bf7119,
    3px 5px 0 #733008,
    4px 6px 0 rgba(38,12,0,.86),
    6px 8px 0 rgba(0,0,0,.44),
    0 8px 6px rgba(0,0,0,.40),
    .052em 0 0 rgba(255,234,129,.10),
    .082em .004em 0 rgba(150,64,10,.06) !important;
}

/* 字體放大後，拖尾維持只到「堂」字，不進入最後「二」字區 */
html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
html body .hero-video-content h1.hero-brush-title::after,
html body .hero-content h1.hero-brush-title::after{
  width:4.58em !important;
  max-width:4.58em !important;
  height:.84em !important;
  top:.072em !important;
  opacity:.86 !important;
}

@media (max-width:760px){
  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title,
  html body .hero-video-content h1.hero-brush-title,
  html body .hero-content h1.hero-brush-title{
    font-size:clamp(58px,15.2vw,90px) !important;
    line-height:.93 !important;
    margin-bottom:21px !important;
    -webkit-text-stroke:.016em rgba(92,34,3,.50) !important;
    text-shadow:
      0 1px 0 #fff9d6,
      0 2px 0 #ffe8a6,
      1px 3px 0 #d99635,
      2px 4px 0 #88400b,
      3px 5px 0 rgba(33,10,0,.82),
      4px 6px 0 rgba(0,0,0,.38),
      0 7px 5px rgba(0,0,0,.36) !important;
  }

  html body :is(.hero-video-hero,.hero,.hero-depth,.hero-slider) .hero-brush-title::after,
  html body :is(.hero-video-content,.hero-content) > h1.hero-brush-title::after,
  html body .hero-video-content h1.hero-brush-title::after,
  html body .hero-content h1.hero-brush-title::after{
    width:4.22em !important;
    max-width:4.22em !important;
    height:.80em !important;
    top:.078em !important;
    opacity:.80 !important;
  }
}
