/* Tru Tien homepage; isolated from the legacy article templates. */
@font-face{font-family:TTSerif;src:local("Palatino Linotype");font-display:swap}
:root{--night:#081322;--surface:#0d1c2e;--line:rgba(175,194,215,.16);--gold:#d9b878;--gold-light:#f5ddab;--text:#e6edf5;--muted:#9aaac0;--serif:TTSerif,Georgia,"Times New Roman",serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body.tt-homepage{margin:0;background:var(--night);color:var(--text);font:16px/1.65 "Segoe UI",Arial,sans-serif}body.tt-homepage a{color:inherit;text-decoration:none}body.tt-homepage button{font:inherit;cursor:pointer}body.tt-homepage img{display:block;max-width:100%}body.tt-homepage [hidden]{display:none!important}body.tt-homepage :focus-visible{outline:2px solid var(--gold-light);outline-offset:5px}body.tt-homepage h1,body.tt-homepage h2,body.tt-homepage h3,body.tt-homepage p{margin:0}button{color:inherit}::selection{background:#aa8446;color:#fff}.wrap{width:min(1240px,calc(100% - 96px));margin-inline:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;z-index:99;left:20px;top:-80px;padding:10px 16px;background:var(--gold);color:var(--night)!important}.skip-link:focus{top:15px}.preview-note{padding:6px 16px;text-align:center;background:#183048;color:#e1c994;font-size:.8rem;letter-spacing:.1em}.preview-note span{color:#a8bacb;letter-spacing:0}.site-header{height:99px;position:relative;z-index:5;background:#091321ed;border-bottom:1px solid #ac8f543d}.header-inner{height:100%;display:flex;align-items:center;gap:48px}.brand{display:inline-flex;flex-direction:column;text-align:center;flex:none;line-height:1}.brand img{width:140px;height:80px;object-fit:contain}.brand-title{font-family:var(--serif);font-size:34px;font-weight:bold;font-style:italic;color:var(--gold-light);text-shadow:0 2px 12px #000}.brand-spark{display:inline-block;margin-left:4px;color:#bd863d;font-size:18px;vertical-align:top}.brand-subtitle{font-size:11px;letter-spacing:.47em;margin:8px 0 0 5px;color:var(--gold)}#main-menu{display:flex;align-self:stretch;align-items:stretch;gap:32px;margin-left:auto}#main-menu a{display:flex;align-items:center;position:relative;text-transform:uppercase;font-size:.84rem;letter-spacing:.06em;white-space:nowrap;color:#c2cbda}#main-menu a:hover,#main-menu a.is-current{color:var(--gold-light)}#main-menu a.is-current:after{content:"";position:absolute;bottom:0;left:8px;right:8px;height:2px;background:var(--gold);box-shadow:0 -2px 16px #e0b97577}.header-account{padding:8px 22px;border:1px solid #b99c5f6b;font-size:.86rem;color:var(--gold-light)!important;white-space:nowrap;transition:background .2s}.header-account:hover{background:#d9b87818}.menu-toggle{display:none}
.hero :where(h1,h2,p){margin:0}.hero a{text-decoration:none}.hero{position:relative;min-height:665px;isolation:isolate;background:#071429}.hero-art{position:absolute;inset:0;z-index:-2;background:url('assets/hero.webp') center center/cover no-repeat}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,11,25,.37),transparent 62%),linear-gradient(0deg,var(--night) 0%,transparent 20%)}.hero-content{min-height:665px;display:flex;align-items:center}.hero-copy{padding:26px 0 80px;max-width:590px}.eyebrow{color:var(--gold);font-size:.75rem;letter-spacing:.23em;line-height:1.5;font-weight:600}.hero .eyebrow{display:flex;align-items:center;gap:12px;font-size:.77rem;margin-bottom:18px}.hero .eyebrow span{width:34px;height:1px;background:var(--gold)}.hero :is(h1,h2){font-family:var(--serif);font-size:clamp(58px,5.7vw,88px);line-height:1.08;font-weight:500;letter-spacing:-.045em;color:#f3e6c9;text-shadow:0 3px 30px #071020}.hero :is(h1,h2) span{display:block;font-size:.81em;color:#dfb87a;letter-spacing:-.035em;margin:5px 0 24px}.hero-motto{font-family:var(--serif);font-size:1.22rem;color:#e9edf4}.hero-description{font-size:.97rem;color:#b0c0d5;margin-top:18px!important;line-height:1.85}.hero-actions{display:flex;align-items:stretch;gap:14px;margin-top:30px}.button{min-height:52px;padding:13px 24px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:600;font-size:.9rem;border:1px solid transparent;text-align:center;transition:background .2s,transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px)}.button-gold{background:linear-gradient(115deg,#e5c78b,#bf9250);color:#201c19!important;border-color:#ebd49e;box-shadow:0 8px 28px #0003}.button-gold:hover{background:linear-gradient(115deg,#f5dca8,#d6aa65);box-shadow:0 8px 30px #d4af5730}.button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5}.button-gold span{font-size:1.02rem;line-height:1.2;text-align:left;text-transform:uppercase;letter-spacing:.05em}.button small{display:block;font-size:.69rem;text-transform:none;letter-spacing:0;font-weight:400;margin-top:5px}.button-outline{border:1px solid #a4b6cc66;background:#0c193b55;color:#e4eaf1!important}.button-outline:hover{background:#d9b87813;border-color:var(--gold)}.hero-caption{display:flex;align-items:center;gap:12px;margin-top:25px;color:#7f95b1;font-size:.65rem;letter-spacing:.16em}.hero-caption i{display:inline-block;width:22px;height:1px;background:#5c718e}.hero-discover{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);font-size:.68rem;letter-spacing:.15em;text-transform:uppercase;color:#a9bcd1!important;text-align:center}.hero-discover span{display:block;font-size:22px;line-height:20px;margin-top:3px}.content-surface{background:radial-gradient(ellipse at 50% 4%,#14294366,transparent 35%),var(--night)}.news-section{padding-top:40px;scroll-margin-top:25px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.section-heading .eyebrow{margin-bottom:8px}.section-heading h2{font:500 32px/1.3 var(--serif);color:#e6e7e8}.text-link{font-size:.83rem;color:var(--gold)!important;white-space:nowrap}.text-link span{font-size:20px;margin-left:15px}.text-link:hover{color:#fff0c3!important}.news-layout{display:grid;grid-template-columns:1fr 1fr;gap:26px}.feature{height:365px;position:relative;overflow:hidden;border:1px solid #b2935c6b;background:#101c2b}.feature-slide{display:block;height:100%;position:relative}.feature-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#04101af2,transparent 80%)}.feature-slide img{width:100%;height:100%;object-fit:cover;transition:transform .7s}.feature-slide:hover img{transform:scale(1.035)}.feature-copy{position:absolute;left:30px;right:30px;bottom:28px;z-index:1}.tag{font-size:.65rem;letter-spacing:.13em;color:var(--gold-light)}.feature-copy h3{font:500 30px/1.25 var(--serif);margin:10px 0!important;color:#fff}.feature-copy>span:last-child{font-size:.8rem;color:#bccada}.slider-controls{position:absolute;right:22px;bottom:25px;z-index:2;display:flex;gap:8px}.slide-dot{border:0;background:#c3d2e344;width:7px;height:7px;padding:0;position:relative}.slide-dot:before{content:"";position:absolute;inset:-10px -4px}.slide-dot.active{width:26px;background:var(--gold)}.news-panel{min-width:0;background:linear-gradient(110deg,#112239cc,#0e1c2c55);border:1px solid var(--line);padding:0 25px 15px}.tabs{display:flex}.news-panel>.tabs{justify-content:space-between;border-bottom:1px solid var(--line);gap:10px}.tabs button{border:0;background:none;color:#94a7be;white-space:nowrap;position:relative}.news-panel>.tabs button{padding:18px 5px;font-size:.88rem}.tabs button[aria-selected=true]{color:var(--gold-light)}.tabs button[aria-selected=true]:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--gold)}.news-list{list-style:none;padding:0;margin:0}.news-list li{border-bottom:1px solid #acc7e210}.news-list li:last-child{border:0}.news-list a{display:flex;align-items:center;gap:10px;min-height:42px;font-size:.84rem}.news-list a:hover .news-title{color:var(--gold-light)}.news-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:#bdcada}.news-category{font-size:.65rem;color:#859bb8;max-width:80px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.news-list time{font-size:.74rem;color:#7f93ac;flex:none}.news-featured a{flex-wrap:wrap;column-gap:12px;padding:16px 0 19px}.news-featured .news-title{order:3;flex-basis:100%;font-size:1.08rem;font-family:var(--serif);color:var(--gold-light);line-height:1.4;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.news-featured .news-category{color:#b4c7db;letter-spacing:.04em;text-transform:uppercase;font-size:.63rem}.news-featured time{margin-left:auto}.empty-news{padding:45px 20px;text-align:center;color:var(--muted)}.empty-news>span{font-size:28px;color:var(--gold)}.empty-news h3{font:22px var(--serif);margin:12px 0!important;color:var(--text)}.empty-news p,.empty-news a{font-size:.85rem}.empty-news a{display:inline-block;margin-top:14px;color:var(--gold)!important}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;border:1px solid var(--line);background:#0e2034}.quick-links>a{display:flex;align-items:center;gap:18px;padding:23px;border-right:1px solid var(--line)}.quick-links>a:last-child{border:0}.quick-links>a:hover{background:#d9b8780b}.quick-icon{width:45px;text-align:center;font-size:35px;color:#d1b078;font-family:var(--serif);font-weight:400;line-height:1}.quick-links strong{display:block;font-size:.97rem;font-weight:500;color:#e4d8bf}.quick-links small{display:block;font-size:.74rem;color:#8ea3bb;margin-top:2px}.quick-plus{margin-left:auto;color:#667d98;font-size:20px}
.classes-section{padding:85px 0 0;position:relative;overflow:hidden}.section-decoration{font-size:44px;color:#8b7242}.class-tabs{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;gap:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#9a7c45 #112034}.class-tabs button{flex:1;padding:15px 15px;font-size:.87rem}.class-tabs button:hover{background:#e0b7770a}.class-tabs button[aria-selected=true]{background:linear-gradient(0deg,#d9b87815,transparent)}.class-panel{position:relative;display:flex;min-height:480px;align-items:center}.class-copy{width:36%;position:relative;z-index:2;padding:45px 0}.class-kicker{font-size:.65rem;letter-spacing:.18em;color:#8297b2}.class-copy h3{font:500 56px/1.2 var(--serif);color:#ead4ad;margin:12px 0!important}.class-copy .class-line{font:italic 19px/1.5 var(--serif);color:#c4d4e4;margin-bottom:20px!important}.class-copy>p:not(.class-line){max-width:365px;font-size:.9rem;line-height:1.9;color:#8fa3bd}.class-copy .button{margin-top:25px;font-size:.8rem;min-height:44px}.class-art{position:absolute;right:0;bottom:0;width:60%;height:100%;overflow:hidden}.class-character{width:100%;height:100%;overflow:hidden;position:relative}.class-character img{position:absolute;width:190%;height:auto;max-width:none!important;left:-43%;bottom:-1px}.class-halo{width:350px;height:350px;border:1px solid #c5ac6d26;border-radius:50%;position:absolute;left:25%;top:80px;background:radial-gradient(circle,#2774a92b,transparent 68%);box-shadow:0 0 0 16px #c5ac6d05,0 0 0 17px #c5ac6d13,0 0 0 44px #c5ac6d03}.class-halo:after{content:"✧";position:absolute;inset:-28px;text-align:center;color:#907447;font-size:32px}.class-poem{position:absolute;right:0;top:75px;writing-mode:vertical-rl;letter-spacing:.3em;font-size:.65rem;color:#667e9c}.guide-section{padding-top:65px;border-top:1px solid var(--line)}.guide-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:linear-gradient(120deg,#10213988,#0b1726)}.guide-card{padding:26px;border-right:1px solid var(--line);transition:background .2s}.guide-card:last-child{border:0}.guide-card:hover{background:#ddbb7d09}.guide-symbol{font:30px var(--serif);color:var(--gold);display:block;height:43px}.guide-card h3{font:22px/1.4 var(--serif);color:#e5dece;margin:6px 0 12px!important}.guide-card p{font-size:.84rem;line-height:1.85;color:#8fa3bc;min-height:72px}.guide-card .text-link{display:inline-block;margin-top:22px;font-size:.76rem}.gallery-section{padding-top:70px}.muted{font-size:.77rem;color:#8298b2}.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.gallery-item{position:relative;display:block;overflow:hidden;padding:0;border:1px solid var(--line);background:#102239;text-align:left}.gallery-item img{width:100%;aspect-ratio:2.1;object-fit:cover;transition:transform .5s}.gallery-item:hover img{transform:scale(1.035)}.gallery-item>span{position:relative;padding:15px 20px;display:block;font-size:.88rem;color:#c8d4e2;background:#0e1e31}.gallery-item b{float:right;font-weight:400;color:var(--gold)}.return-banner{display:flex;align-items:center;gap:26px;padding:40px 0;margin-top:70px;border-top:1px solid #a48c523b;border-bottom:1px solid #a48c523b}.return-banner>span{color:var(--gold);font-size:29px}.return-banner h2{font:500 27px/1.4 var(--serif);color:#e3d4b9}.return-banner .button{margin-left:auto;font-size:.85rem;min-height:48px}.site-footer{display:flex;align-items:center;gap:40px;padding:40px 0 50px;color:#7289a4}.site-footer .brand img{width:110px;height:70px}.site-footer p{font-size:.8rem;margin-bottom:5px!important}.site-footer small{font-size:.7rem;color:#5f7895}.back-top{margin-left:auto;font-size:.75rem}.mobile-actions{display:none}.lightbox{border:1px solid #b49a62;padding:20px;background:#091526;color:var(--text);max-width:1100px;width:90vw;max-height:90vh;overflow:auto}.lightbox::backdrop{background:#020810e8;backdrop-filter:blur(7px)}.lightbox img{width:100%;max-height:75vh;object-fit:contain}.lightbox p{padding-top:12px!important;color:#d3bc91;text-align:center}.lightbox-close{position:absolute;right:22px;top:22px;background:#071325d9;border:1px solid #7c8a9b;color:#fff;width:40px;height:40px;font-size:27px!important;line-height:1}
@media(min-width:1700px){.hero,.hero-content{min-height:760px}.hero-art{background-size:cover}.hero-copy{padding-bottom:90px}}
@media(max-width:1150px){.wrap{width:calc(100% - 56px)}.header-inner{gap:22px}#main-menu{gap:20px}#main-menu a{font-size:.75rem}.header-account{padding:8px 14px}.hero,.hero-content{min-height:600px}.hero-art{background-position:58% center}.hero :is(h1,h2){font-size:68px}.hero-copy{max-width:440px}.hero-motto{font-size:1rem}.news-layout{gap:18px}.news-panel{padding-inline:17px}.news-panel>.tabs button{font-size:.8rem}.quick-links>a{padding:20px 16px;gap:12px}.quick-links small{font-size:.68rem}.quick-icon{width:30px}.guide-card{padding:20px}.class-panel{min-height:450px}.class-character img{width:225%;left:-61%}.class-copy{width:40%}.return-banner h2{font-size:23px}}
@media(max-width:850px){.site-header{height:82px}.brand img{width:116px;height:72px}.header-inner{justify-content:space-between}.menu-toggle{width:40px;height:40px;background:none;border:1px solid #70839c66;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin-left:auto}.menu-toggle>span:not(.sr-only){height:1px;width:20px;background:#e2c58d}#main-menu{display:none;position:absolute;top:100%;left:0;right:0;background:#0a192cfb;margin:0;padding:12px 28px 20px;border-bottom:1px solid #c4a06366}#main-menu.is-open{display:flex;flex-direction:column;gap:0}#main-menu a{padding:12px 0;font-size:.9rem}#main-menu a.is-current:after{display:none}.header-account{font-size:.8rem}.hero,.hero-content{min-height:640px}.hero-art{background-position:63% top}.hero:after{background:linear-gradient(90deg,#0510268f,transparent 100%),linear-gradient(0deg,var(--night),transparent 30%)}.hero-copy{max-width:430px}.hero :is(h1,h2){font-size:65px}.news-layout{grid-template-columns:1fr}.feature{height:390px}.news-panel{padding:0 25px 18px}.news-panel>.tabs button{font-size:.94rem}.news-list a{min-height:47px;font-size:.9rem}.news-featured .news-title{font-size:1.14rem}.quick-links{grid-template-columns:1fr}.quick-links>a{padding:18px 24px;border-right:0;border-bottom:1px solid var(--line)}.quick-links small{font-size:.77rem}.quick-icon{width:45px}.class-copy h3{font-size:45px}.class-art{width:65%;opacity:.9}.class-character img{width:260%;left:-80%}.class-halo{left:7%;width:270px;height:270px}.class-copy{width:45%}.class-copy>p:not(.class-line){font-size:.85rem}.class-poem{display:none}.guide-grid{grid-template-columns:1fr 1fr}.guide-card:nth-child(2){border-right:0}.guide-card:nth-child(-n+2){border-bottom:1px solid var(--line)}.guide-card{padding:25px}.guide-card p{min-height:48px}.return-banner{flex-wrap:wrap;gap:16px}.return-banner h2{font-size:24px}.return-banner .button{margin-left:0}.site-footer{gap:25px}.back-top{display:none}}
@media(max-width:560px){.wrap{width:calc(100% - 36px)}.preview-note{font-size:.63rem}.preview-note span{display:none}.site-header{height:76px}.header-inner{gap:12px}.brand img{width:105px;height:66px}.header-account{padding:7px 13px;font-size:.76rem}.hero,.hero-content{min-height:760px}.hero-art{background-size:auto 510px;background-position:68% top}.hero:after{background:linear-gradient(0deg,var(--night) 3%,#081322fa 27%,#081322c7 39%,transparent 66%)}.hero-content{align-items:end}.hero-copy{padding:0 0 48px;width:100%;max-width:none;text-align:center}.hero .eyebrow{justify-content:center;margin-bottom:13px;font-size:.67rem}.hero :is(h1,h2){font-size:57px;line-height:1.03}.hero :is(h1,h2) span{font-size:.77em;margin:6px 0 20px}.hero-motto{font-size:.99rem}.hero-description{font-size:.85rem;margin-top:12px!important;line-height:1.7}.hero-actions{justify-content:center;gap:10px;margin-top:23px}.hero-actions .button{padding:12px 15px;flex:1;font-size:.79rem;max-width:210px}.button-gold span{font-size:.9rem}.button small{font-size:.65rem}.hero-caption{justify-content:center;font-size:.59rem;margin-top:18px}.hero-discover{display:none}.news-section{padding-top:20px}.section-heading{gap:10px;margin-bottom:20px}.section-heading h2{font-size:26px}.section-heading .eyebrow{font-size:.61rem;letter-spacing:.15em}.section-heading>.text-link{font-size:.68rem}.text-link span{margin-left:4px;font-size:15px}.feature{height:300px}.feature-copy{left:22px;bottom:24px;right:22px}.feature-copy h3{font-size:27px}.tag{font-size:.57rem}.feature-copy>span:last-child{font-size:.73rem}.news-panel{padding:0 16px 14px}.news-panel>.tabs{gap:4px}.news-panel>.tabs button{font-size:.77rem;padding:16px 2px}.news-list a{font-size:.8rem;gap:9px;min-height:46px}.news-category{font-size:.57rem;max-width:58px}.news-list time{font-size:.67rem}.news-featured .news-title{font-size:1.04rem}.quick-links{margin-top:18px}.quick-links>a{padding:17px 15px}.quick-links strong{font-size:.94rem}.quick-links small{font-size:.72rem}.classes-section{padding-top:55px}.section-decoration{display:none}.classes-section .section-heading h2{font-size:26px;max-width:290px}.class-tabs{justify-content:flex-start}.class-tabs button{padding:14px 17px;font-size:.8rem}.class-panel{min-height:690px;align-items:start;flex-direction:column}.class-copy{width:100%;padding:30px 0 0}.class-copy h3{font-size:43px}.class-copy .class-line{font-size:17px;margin-bottom:12px!important}.class-copy>p:not(.class-line){max-width:none;font-size:.84rem}.class-copy .button{margin-top:18px;padding:8px 17px;min-height:40px;font-size:.73rem}.class-art{height:380px;width:100%;bottom:0;right:0;opacity:1}.class-character img{height:100%;width:auto;max-width:none!important;left:50%;transform:translateX(-50%);bottom:0}.class-halo{width:260px;height:260px;left:calc(50% - 130px);top:65px}.guide-section{padding-top:45px}.guide-grid{grid-template-columns:1fr 1fr}.guide-card{padding:19px 16px}.guide-card h3{font-size:20px}.guide-card p{font-size:.77rem;min-height:94px;line-height:1.75}.guide-card .text-link{font-size:.7rem;margin-top:16px}.guide-symbol{font-size:26px;height:35px}.gallery-section{padding-top:45px}.gallery-section .section-heading{align-items:start;flex-direction:column}.muted{font-size:.7rem}.gallery-grid{grid-template-columns:1fr;gap:18px}.gallery-item>span{font-size:.8rem;padding:13px 16px}.return-banner{margin-top:45px;padding:30px 0;justify-content:center;text-align:center}.return-banner>span{display:none}.return-banner h2{font-size:24px}.return-banner .button{font-size:.79rem;padding:10px 20px}.site-footer{padding:30px 0 100px;display:flex;flex-direction:column;gap:16px;text-align:center}.site-footer p{font-size:.75rem}.mobile-actions{position:fixed;bottom:0;left:0;right:0;z-index:8;display:grid;grid-template-columns:1fr 1fr;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px;background:#081322;border-top:1px solid #d9b87855}.mobile-actions a{text-align:center;padding:10px 8px;font-size:.8rem;border:1px solid #d9b87866;color:#d9b878!important}.mobile-actions a:last-child{background:linear-gradient(100deg,#e3c38a,#b78a48);color:#1c1c1c!important}.lightbox{padding:8px;width:96vw}.lightbox-close{top:12px;right:12px;width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Retain full heads and outfits in the original wide class artwork. */
.class-character{width:75%;margin-inline:auto}
.class-character img{height:100%;width:auto;left:50%;transform:translateX(-50%);object-fit:contain}
.class-tabs{overflow-y:hidden}.class-tabs button{font-size:.875rem;padding-inline:12px}
.guide-card p{font-size:1rem;min-height:96px}
.news-list a{font-size:.875rem}.news-panel>.tabs button{font-size:.875rem}
.legacy-gallery{display:flex;gap:16px;overflow-x:auto;padding:18px 0 12px;scroll-snap-type:x proximity;scrollbar-color:#917549 #112034}
.legacy-gallery .gallery-item{flex:0 0 260px;scroll-snap-align:start}
.legacy-gallery .gallery-item img{aspect-ratio:16/10}
.gameplay-section{padding:0 0 60px}
.music-toggle{position:fixed;z-index:9;right:20px;bottom:20px;display:inline-flex;align-items:center;gap:8px;border:1px solid #a48b59;border-radius:24px;padding:8px 14px;background:#0b1a2d;color:#f2dfb8;box-shadow:0 3px 14px #0004}
.music-toggle .music-label{font-size:.82rem}
.music-toggle[aria-pressed=true]{border-color:#e1bc77}
.tt-reader .music-toggle{font:inherit;cursor:pointer}.tt-reader .music-toggle[hidden],.tt-load-notice[hidden]{display:none}
.tt-load-notice {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 12px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgb(4 17 30 / .44), rgb(6 18 32 / .12) 60%, transparent);
  color: #ffebc6;
  font: 500 17px/1.4 "Lora", Georgia, "Times New Roman", serif;
  text-align: center;
}
.tt-load-card {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  width: min(232px, 100%);
  padding: 16px 18px 26px;
  border: 1px solid #ab9364;
  border-radius: 3px 22px;
  background: radial-gradient(ellipse at 50% 36%, #224546, #102633 54%, #0b1b2c 85%);
  box-shadow: 0 12px 42px #020b17a1, inset 0 0 20px #08172499;
  animation: tt-load-enter .24s cubic-bezier(.2,.8,.2,1) both;
}
.tt-load-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #bfa37648;
  border-radius: 1px 18px;
  pointer-events: none;
}
.tt-load-card::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  background: #e8c98c;
  box-shadow: 0 0 0 3px #10212e;
  transform: rotate(45deg);
}
.tt-load-emblem {
  display: block;
  width: min(144px, 46vw, 45vh);
  height: auto;
  aspect-ratio: 1;
  margin: -2px 0 4px;
}
.tt-load-orbit, .tt-load-tide {
  transform-box: view-box;
  transform-origin: center;
  animation: tt-load-revolve 5.6s linear infinite;
}
.tt-load-tide { animation: tt-load-revolve 3.3s linear infinite reverse; }
.tt-load-blade { animation: tt-load-float 2.6s ease-in-out infinite alternate; }
.tt-load-halo { animation: tt-load-breathe 2.4s ease-in-out infinite alternate; }
.tt-load-spark-a, .tt-load-spark-b, .tt-load-spark-c {
  animation: tt-load-twinkle 2.1s ease-in-out infinite;
}
.tt-load-spark-b { animation-delay: -.7s; }
.tt-load-spark-c { animation-delay: -1.4s; }
.tt-load-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffebc6;
  letter-spacing: normal;
}
.tt-load-label::before, .tt-load-label::after {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c6a873);
}
.tt-load-label::after { transform: rotate(180deg); }
.tt-load-notice[data-state="error"] .tt-load-card {
  width: min(290px, 100%);
  padding: 24px 32px;
  gap: 12px;
  pointer-events: auto;
  animation: none;
}
.tt-load-notice[data-state="error"] .tt-load-emblem,
.tt-load-notice[data-state="error"] .tt-load-label::before,
.tt-load-notice[data-state="error"] .tt-load-label::after { display: none; }
.tt-load-notice .tt-load-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  padding: 7px 20px;
  color: #13232c;
  border-radius: 2px;
  background: #e6c38a;
  font: 600 14px/1.4 "Segoe UI", Arial, sans-serif;
  text-decoration: none;
}
.tt-load-card .tt-load-dismiss {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #eddfc8;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 22px/1 Arial, sans-serif;
}
.tt-load-dismiss:focus-visible, .tt-load-notice a:focus-visible {
  outline: 2px solid #98eee0;
  outline-offset: 1px;
}
.tt-load-notice .tt-load-card [hidden] { display: none; }
@keyframes tt-load-enter {
  from { opacity: 0; transform: translateY(7px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes tt-load-revolve { to { transform: rotate(1turn); } }
@keyframes tt-load-float { from { transform: translateY(2px); } to { transform: translateY(-3px); } }
@keyframes tt-load-breathe { from { opacity: .55; } to { opacity: 1; } }
@keyframes tt-load-twinkle { 0%, 100% { opacity: .14; } 45% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .tt-load-notice .tt-load-card, .tt-load-emblem * { animation: none; }
}
@media(max-width:560px){.music-toggle{bottom:calc(68px + env(safe-area-inset-bottom));right:12px}}
@media(max-width:850px){.class-character img{height:100%;width:auto;left:50%}.class-character{width:90%}}
@media(max-width:560px){.class-character{width:100%}.class-character img{height:100%;width:auto;left:50%}.guide-card p{font-size:.875rem;min-height:122px}.news-title{font-size:.875rem}.class-tabs button{font-size:.875rem}.legacy-gallery .gallery-item{flex-basis:240px}.gameplay-section{padding-bottom:40px}}

.news-list a{display:grid;grid-template-columns:6.3em minmax(0,1fr) auto;gap:12px;padding:10px 0;min-height:49px}
.news-list .news-title{font:500 .94rem/1.5 "Segoe UI",Arial,sans-serif;color:#e0e8f0;white-space:normal;overflow-wrap:anywhere}
.news-list .news-category{max-width:none;text-align:center;padding:3px 5px;border:1px solid currentColor;border-radius:4px;font:600 .76rem/1.5 "Segoe UI",Arial,sans-serif}
.badge-news,#news-tab-1{color:#a0d7ff}.badge-event,#news-tab-2{color:#f5b4ca}.badge-guide,#news-tab-3{color:#9ee3c4}.badge-other{color:#e2ca96}
.badge-news{background:#162f47}.badge-event{background:#382633}.badge-guide{background:#14352e}
.news-panel>.tabs button{font-size:.9rem}.news-panel>.tabs button[aria-selected=true]{font-weight:650}
.news-list time{font-size:.8rem;font-variant-numeric:tabular-nums}
.class-tabs{flex-wrap:wrap;overflow:visible}.class-tabs button{min-height:44px}
.class-tabs.tabs{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:0}
.class-tabs.tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 2px;font-size:.84rem;white-space:normal;line-height:1.25}
.class-emblem{--emblem:32px;display:block;width:var(--emblem);height:var(--emblem);background:url('assets/media/class-emblems.webp') no-repeat;background-size:calc(11 * var(--emblem)) var(--emblem);background-position:calc(-1 * var(--icon-index) * var(--emblem)) center}
@media(max-width:850px){.class-tabs.tabs{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:520px){.class-tabs.tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.class-tabs.tabs button{font-size:.8rem}.class-emblem{--emblem:28px}}
.class-panel{display:grid;min-height:0;place-items:center;padding:20px 0 32px}
.class-art{position:relative;inset:auto;width:100%;height:auto;display:grid;place-items:center;overflow:hidden;opacity:1}
.class-character{width:min(100%,565px);height:auto;aspect-ratio:695/598;position:relative;overflow:hidden}
.class-character img{position:absolute;top:0;bottom:auto;left:-44.03%;transform:none;width:191.367%;height:100%;object-fit:fill;clip-path:inset(0 25% 0 24.6%)}
#class-panel-4 .class-character img{clip-path:inset(0 25% 0 23.2%)}
#class-panel-5 .class-character img{clip-path:polygon(32% 0,75% 0,75% 100%,24% 100%,24% 32%,32% 32%)}
#class-panel-10 .class-character img{clip-path:inset(0 25% 0 27.5%)}
.class-art .class-halo{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(50%,345px);height:auto;aspect-ratio:1}
.album{position:relative;max-width:1050px;margin-inline:auto}
.album-main{display:block;position:relative;width:100%;height:auto;aspect-ratio:2.25;background:radial-gradient(ellipse at center,#23374a,#0a1523);padding:0;border:1px solid #786647;overflow:hidden;touch-action:pan-y}
.album-main img{width:100%;height:100%;object-fit:contain;pointer-events:none}
.album-caption{position:absolute;inset:auto 0 0;text-align:left;padding:36px 24px 12px;background:linear-gradient(transparent,#081322ee);color:#f7e7c6;font:500 clamp(1.05rem,2.1vw,1.65rem)/1.3 var(--serif)}
.album-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:8px 0}
.album-count{margin-right:auto;font:500 .84rem "Segoe UI",sans-serif;color:#b3c4d6;font-variant-numeric:tabular-nums}
.album-controls button{display:grid;place-items:center;width:38px;height:36px;background:#14243a;border:1px solid #40536a;color:#eed8ae;font:20px/1 Georgia,serif}
.album-strip{position:relative;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:3px}
.album-strip::-webkit-scrollbar{display:none}
.album-thumb{flex:0 0 clamp(96px,14%,152px);aspect-ratio:1.65;overflow:hidden;padding:2px;border:2px solid transparent;background:#102032;scroll-snap-align:center}
.album-thumb img{width:100%;height:100%;object-fit:cover}.album-thumb[aria-pressed=true]{border-color:#e6c383}.album-thumb:focus-visible{outline-offset:-3px}
.hero-art{background-position:center top}
@media(min-width:851px){.hero,.hero-content{min-height:max(665px,min(43vw,950px))}}
.tt-homepage .news-title,.tt-homepage .section-heading h2,.album-caption{text-transform:uppercase}
.album-main img,.tt-homepage .lightbox img{object-fit:scale-down}
@media(max-width:650px){.news-list a{grid-template-columns:5.5em minmax(0,1fr) auto;gap:7px}.news-list .news-title{font-size:.9rem}.news-panel>.tabs button{font-size:.81rem}.news-list time{font-size:.74rem}.class-panel{grid-template-columns:1fr;gap:0}.class-character{width:min(80%,350px)}.class-tabs{justify-content:center}.class-tabs button{flex:0 1 auto;padding:8px 11px}.class-copy{padding:8px 0 16px}.album-main{aspect-ratio:1.45}.album-caption{padding:20px 12px 8px}.album-thumb{flex-basis:88px}}

/* Framed highlights and the six-card selection. */
.news-layout{padding:clamp(10px,1.4vw,20px);border:1px solid #826e49;background:linear-gradient(125deg,#14283a,#0c1829 58%);box-shadow:inset 0 0 0 4px #0c1929,inset 0 0 0 5px #8095a32c;border-radius:8px}
.news-layout .feature{padding:5px;border:1px solid #aa9369;border-radius:5px;background:#15293a}
.news-layout .feature-slide{overflow:hidden;border-radius:2px}
.news-layout .news-panel{border:0;background:transparent;padding-inline:clamp(4px,1vw,16px)}
.quick-links{gap:14px;border:0;background:transparent}
.quick-links>a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;overflow:hidden;padding:5px;border:1px solid #78694e!important;border-radius:5px;background:#112235}
.quick-art{grid-column:1/-1;width:100%;height:clamp(90px,10vw,138px);object-fit:cover;object-position:50% 32%;border:1px solid #526171}
.quick-links>a>span:not(.quick-plus){padding:10px}.quick-links .quick-plus{align-self:center;padding-right:10px;color:#dfbf80}
.gameplay-deck {
  --card-width: min(34%, 390px);
  position: relative;
  display: grid;
  grid-template-columns: var(--card-width);
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 3vw, 36px) 0;
  perspective: 1100px;
  touch-action: pan-y pinch-zoom;
  border-block: 1px solid #a38d5b55;
  background: radial-gradient(ellipse at 50% 55%, #21384b, #101f30 48%, #091523 78%);
}
.deck-card {
  --shift: 0%; --angle: 0deg; --scale: .58;
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  padding: 5px;
  aspect-ratio: 1;
  border: 1px solid #b99e6a;
  border-radius: 5px;
  background: #172a39;
  user-select: none;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--shift) + var(--drag, 0px)), 0, 0) rotateY(var(--angle)) scale(var(--scale));
  transition: transform 560ms cubic-bezier(.22,.68,.2,1), opacity 420ms ease;
}
.gameplay-deck.is-dragging .deck-card { transition: none; }
.deck-card[data-slot="0"] { --scale: 1; z-index: 4; opacity: 1; pointer-events: auto; border-color: #e0bf80; }
.deck-card[data-slot="-1"], .deck-card[data-slot="1"] { --scale: .85; z-index: 3; opacity: .93; pointer-events: auto; }
.deck-card[data-slot="-2"], .deck-card[data-slot="2"] { --scale: .69; z-index: 2; opacity: .78; pointer-events: auto; }
.deck-card[data-slot="-1"] { --shift: -64%; --angle: 20deg; }
.deck-card[data-slot="1"]  { --shift: 64%; --angle: -20deg; }
.deck-card[data-slot="-2"] { --shift: -110%; --angle: 30deg; }
.deck-card[data-slot="2"]  { --shift: 110%; --angle: -30deg; }
.deck-picture { position: absolute; inset: 5px; overflow: hidden; border-radius: 2px; }
.deck-card .deck-picture img { position: absolute; display: block; width: 300%; height: 200%; max-width: none; pointer-events: none; }
.deck-caption {
  position: absolute;
  inset: auto 5px 5px;
  padding: 30px 8px 10px;
  background: linear-gradient(transparent,#091321ef);
  color: #ffe5b5;
  font: 500 clamp(1.05rem,2vw,1.55rem)/1.25 var(--serif);
  text-align: center;
}
.deck-arrow, .deck-pause {
  position: absolute; z-index: 5; display: grid; place-items: center; padding: 0;
  border: 1px solid #bba06b; border-radius: 50%; color: #f0d5a6; background: #0e1d2e;
}
.deck-arrow { top: 50%; transform: translateY(-50%); width: 42px; height: 42px; font-size: 26px!important; line-height: 1!important; }
.deck-prev { left: 8px; } .deck-next { right: 8px; }
.deck-pause { right: 8px; bottom: 5px; width: 30px; height: 30px; font: 15px/1 system-ui,sans-serif; }
.deck-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media(max-width:850px){.quick-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gameplay-deck{--card-width:40%}}
@media(max-width:560px){
  .quick-links{grid-template-columns:1fr}.quick-links>a{grid-template-columns:96px minmax(0,1fr) auto;align-items:center}.quick-art{grid-column:1;height:65px}.news-layout{gap:14px}
  .gameplay-deck { --card-width: 58%; padding-block: 24px; }
  .deck-card[data-slot="-2"], .deck-card[data-slot="2"] { opacity: 0; pointer-events: none; }
  .deck-arrow { width: 44px; height: 44px; border-radius: 6px; }
  .deck-pause { width: 44px; height: 44px; }
  .deck-prev { left: 3px; } .deck-next { right: 3px; }
}
@media(prefers-reduced-motion:reduce){.deck-card{transition:none}.deck-pause{display:none}}
.hero-art{overflow:hidden}
.weapon-light{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.weapon-light .staff-pulse,.weapon-light .staff-star,.weapon-light .blade-pulse{animation:tt-pulse 2.6s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}
.weapon-light .staff-star{animation-delay:-1s}.weapon-light .blade-pulse{animation-duration:3.3s}
.weapon-light .staff-spark{animation:tt-spark 2.9s ease-out infinite}.weapon-light .spark-late{animation-delay:-1.6s}
.weapon-light .blade-shine{stroke-dasharray:12 110;animation:tt-shine 3.8s ease-in-out infinite}
.hero:not(.fx-visible) .weapon-light *{animation-play-state:paused}
@keyframes tt-pulse{from{opacity:.18;transform:scale(.78)}to{opacity:.86;transform:scale(1.1)}}
@keyframes tt-spark{0%{opacity:0;transform:translate(0,5px)}20%{opacity:.9}100%{opacity:0;transform:translate(-11px,-32px)}}
@keyframes tt-shine{0%{stroke-dashoffset:12;opacity:0}18%{opacity:.8}75%,100%{stroke-dashoffset:-100;opacity:0}}
@media(max-width:560px){.weapon-light{inset:0 auto auto 50%;width:auto;height:510px;aspect-ratio:1821/864;transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.weapon-light{display:none}}

.tt-reader{margin:0;background:#091626;color:#d9e4ed;font:16px/1.65 "Segoe UI",Arial,sans-serif}
.tt-reader *{box-sizing:border-box}.tt-reader a{color:inherit}.tt-reader :focus-visible{outline:3px solid #b58b42;outline-offset:3px}
.reader-wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.reader-skip{position:absolute;left:8px;top:-60px;z-index:12;padding:8px;background:#0a192a}.reader-skip:focus{top:8px}
.reader-head{background:#0b192a;border-bottom:1px solid #354254}.reader-nav,.reader-nav nav,.reader-crumb,.reader-footer{display:flex;align-items:center}
.reader-nav{justify-content:space-between;gap:20px;min-height:78px}.reader-nav img{display:block;object-fit:contain}.reader-nav nav{flex-wrap:wrap;gap:10px 28px}.reader-nav a,.reader-crumb a,.reader-aside a,.reader-footer a{text-decoration:none}.reader-nav a:hover,.reader-crumb a:hover,.reader-footer a:hover{color:#f0d29f}
.reader-crumb{gap:12px;padding:22px 0;color:#c6b28f;font-size:.9rem}.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;align-items:start;gap:24px}
.reader-card{min-width:0;overflow:hidden;border-radius:8px;background:#fcfaf4;color:#242b35;box-shadow:0 12px 50px #0002}
.reader-title{background:linear-gradient(100deg,#14283afa 20%,#132438dc 64%,#11243570),url('assets/hero.webp') center 38%/cover;color:#f0dfbf;padding:clamp(25px,4vw,52px);border-bottom:3px solid #bc985c}
.reader-title p{margin:0 0 10px;font-size:.85rem;font-variant-numeric:tabular-nums}.reader-title h1{font:500 clamp(1.85rem,4vw,3rem)/1.17 Georgia,"Times New Roman",serif;margin:0;overflow-wrap:anywhere}
.reader-content{padding:clamp(20px,4vw,52px);line-height:1.75;overflow-wrap:anywhere;display:flow-root}
.reader-content a{color:#18577a;text-underline-offset:.19em}.reader-content :is(h2,h3,h4){color:#233a49;line-height:1.35;margin:1.4em 0 .65em}.reader-content :is(h2,h3,h4) span[style*="color"]{color:inherit!important}
.reader-content>:first-child{margin-top:0}.reader-content img,.reader-content iframe,.reader-content video,.reader-content figure,.reader-content .wp-caption{max-width:100%}
.reader-content img{height:auto}.reader-content figure{margin-inline:auto}.reader-content img.aligncenter,.reader-content .aligncenter{display:block;margin-inline:auto}
.reader-content table{width:100%;height:auto!important;border-collapse:collapse;font-size:.95rem}.reader-content th,.reader-content td{padding:10px 12px;border:1px solid #c9d1cd;vertical-align:middle}.reader-content th{background:#e3e8df;color:#203b3d}
.reader-table{max-width:100%;overflow:auto;margin:18px 0}.reader-table table{display:table!important}.reader-table .download-link{display:inline-block;background:#19435b;color:white;text-decoration:none;padding:5px 12px;border-radius:5px;white-space:nowrap}.reader-table .missing-link{color:#525b60;font-size:.85rem}
.reader-aside{overflow:hidden;background:#112439;border:1px solid #435063;border-radius:8px;padding:0 14px 6px}
.reader-aside h2{display:flex;align-items:flex-end;min-height:108px;margin:0 -14px 13px;padding:18px;background:linear-gradient(0deg,#0c192df5,transparent 95%),url('assets/media/thumbs/banner.webp') center 38%/cover;color:#f8e4bb;font:500 1.45rem Georgia,serif}
.reader-aside a{display:flex;align-items:center;gap:11px;padding:11px 3px;border-bottom:1px solid #334455;font-size:.91rem}.reader-aside a:last-child{border:0}.reader-aside a:hover{color:#ffe6b3;text-decoration:underline}
.reader-aside svg{width:20px;height:20px;flex:none;color:#d5b87f;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.reader-aside .reader-download{justify-content:center;background:linear-gradient(115deg,#f2d8a1,#c79c5a);color:#272014;border:0;text-align:center;border-radius:4px;font-weight:650;margin-bottom:3px}.reader-download svg{color:#463215}
.reader-footer{justify-content:space-between;gap:14px;color:#b9c5d2;padding:30px 0 42px;font-size:.88rem}
.reader-footer .reader-back-top{display:inline-grid;place-items:center;flex:none;width:46px;height:46px;border-radius:50%;border:1px solid #c7a464;background:#102236;color:#f9da9a;box-shadow:0 3px 12px #040d1a66}
.reader-back-top svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.reader-footer .reader-back-top:hover{background:#21384b;color:#fff3d4}
.reader-back-top.is-floating{position:fixed;right:20px;bottom:calc(74px + env(safe-area-inset-bottom));z-index:9}
.reader-footer .reader-back-top[hidden]{display:none}
@media(max-width:560px){.reader-back-top.is-floating{right:12px;bottom:calc(122px + env(safe-area-inset-bottom))}}
.tt-reader .site-header a{text-decoration:none}
.tt-reader .site-header img{display:block;max-width:100%}
.reader-title{background:#152b3d;padding-block:clamp(22px,3vw,36px)}.reader-title h1{text-transform:uppercase}
@media(max-width:800px){.reader-layout{grid-template-columns:1fr}.reader-aside{margin-top:2px}.reader-content td,.reader-content th{padding:8px}.reader-wrap{width:calc(100% - 28px)}}
@media(max-width:520px){.reader-nav{gap:8px}.reader-nav img{width:76px;height:auto}.reader-nav nav{justify-content:flex-end;gap:3px 12px;font-size:.83rem}.reader-title{padding:22px 18px}.reader-content{padding:18px 15px}.reader-content table{font-size:.85rem}.reader-table table{min-width:445px}}

.category-index {
  scroll-margin-top: 1rem;
  padding-bottom: clamp(1rem, 3vw, 3rem);
}
.category-heading {
  position: relative;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid #40505c;
  border-bottom: 2px solid #c5a16b;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(92deg,#122639 18%,#142b40ed 54%,#152d42a8), url('assets/media/card-3.webp') right 40% / cover;
}
.category-heading h1 {
  margin: 0;
  color: #f7dfb3;
  font: 500 clamp(2rem,4.3vw,3.6rem)/1.12 Georgia,"Times New Roman",serif;
  overflow-wrap: anywhere;
}
.category-description { max-width: 58ch; color: #e0e6e9; margin-top: .7rem; }
.category-description > :first-child { margin-top: 0; }
.category-description > :last-child { margin-bottom: 0; }
.category-menu {
  display: flex; flex-wrap: wrap; gap: .4rem; padding: .75rem clamp(.65rem,2vw,1.5rem);
  background: #102235; border: 1px solid #344759; border-top: 0;
}
.category-menu a {
  display: inline-flex; align-items: center; gap: .48rem; min-height: 44px;
  padding: .3rem .95rem; border: 1px solid transparent; border-radius: 4px;
  color: #c9d6e0; font-size: .94rem; text-decoration: none;
}
.category-menu a[aria-current="page"] { color: #ffe1a7; border-color: #837353; background: #233447; }
.category-menu a:hover { color: #ffe6b8; background: #1b3044; }
.category-tab-icon {
  width: 18px; height: 18px; flex: none; color: #e6c68d;
  fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linejoin: round; stroke-linecap: round;
}
.category-tab-icon[data-term="tin-tuc"] { color: #a6d3f9; }
.category-tab-icon[data-term="su-kien"] { color: #efb4c9; }
.category-tab-icon[data-term="huong-dan"] { color: #9adbc6; }
.category-posts { margin: 0; padding: 0; list-style: none; border-inline: 1px solid #344759; }
.category-post {
  position: relative; display: flex; align-items: center; gap: clamp(.8rem,2.5vw,1.65rem);
  padding: 1.15rem clamp(1rem,3.5vw,2.8rem); min-height: 88px;
  background: #102034; border-bottom: 1px solid #334558;
}
.category-post:focus-within, .category-post:hover { background: #152a40; }
.category-post h2 {
  margin: .22rem 0 0; color: #f2e6cc;
  font: 500 clamp(1.12rem,1.85vw,1.45rem)/1.38 Georgia,"Times New Roman",serif;
  overflow-wrap: anywhere;
}
.category-post h2 a { color: inherit; text-decoration: none; }
.category-post h2 a::after { content: ""; position: absolute; inset: 0; }
.category-post h2 a:focus-visible { outline: none; text-decoration: underline; text-underline-offset: .18em; }
.category-post h2 a:focus-visible::after { outline: 2px solid #e6bc76; outline-offset: -3px; }
.category-post-text { min-width: 0; flex: 1; }
.category-picture {
  position: relative; width: clamp(112px,15vw,180px); aspect-ratio: 16/10; flex: none; overflow: hidden;
  padding: 3px; border: 1px solid #82765f; border-radius: 5px; background: #152433;
}
.category-picture .category-thumb { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.category-number {
  position: absolute; bottom: 3px; left: 3px; min-width: 2.8em;
  padding: .25em .5em; border-radius: 0 4px 0 2px; background: #0a1929ef; color: #ffe1a3;
  font: 650 .75rem/1.2 "Segoe UI",Arial,sans-serif; font-variant-numeric: tabular-nums;
  text-align: center; letter-spacing: .06em;
}
.category-post-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; margin: 0; color: #b7c7d6; font: .78rem/1.4 "Segoe UI",Arial,sans-serif; }
.category-post-meta time { font-variant-numeric: tabular-nums; }
.category-post-meta span { padding: .15em .55em; color: #e8c890; background: #243346; border: 1px solid #786c54; border-radius: 3px; }
.category-excerpt { margin: .35rem 0 0; color: #b9c9d5; font-size: .91rem; line-height: 1.55; }
.category-open { flex: none; color: #dcc08a; font-size: 1.55rem; }
.category-empty { margin: 0; padding: 2rem; background: #102034; border: 1px solid #344759; border-top: 0; color: #d4dfeb; text-align: center; }
.category-pages ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.category-pages :is(a,span.page-numbers) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .25rem .65rem; color: #d4e0e8; text-decoration: none; }
.category-pages a { border: 1px solid #465668; border-radius: 4px; }
.category-pages a:hover, .category-pages .current { color: #f9d99b; background: #1e3345; border-radius: 4px; }
.category-pages .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 560px) {
  .category-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .18rem; }
  .category-menu a { padding-inline: .55rem; font-size: .9rem; }
  .category-post { gap: .7rem; padding: .85rem .65rem; }
  .category-picture { width: clamp(69px,24vw,110px); aspect-ratio: 6/5; padding: 2px; }
  .category-number { left: 2px; bottom: 2px; font-size: .66rem; }
  .category-open { display: none; }
}

/* Lora from Google Fonts, v37, distributed under assets/fonts/Lora-OFL.txt. */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/lora-v37-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/lora-v37-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.tt-reader :is(.category-heading h1, .category-post h2, .category-post h2 a, .reader-title h1, .reader-aside h2) {
  font-family: "Lora", "Times New Roman", serif;
  letter-spacing: normal;
  word-spacing: normal;
}
.tt-reader :is(.category-heading h1, .reader-title h1) {
  line-height: 1.3;
}

.hero .eyebrow span {
  position: relative;
  background: linear-gradient(90deg, #b78946, #ffde9c);
}
.hero .eyebrow span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: #ffde9c;
  transform: translateY(-50%) rotate(45deg);
}

/* The light is drawn in the original artwork's 1821 × 864 coordinates. */
.hero .hero-art { background: none; }
.hero-scene,
.hero-picture { position: absolute; inset: 0; display: block; }
.hero .hero-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.weapon-light .staff-pulse,
.weapon-light .staff-star,
.weapon-light .blade-pulse { animation-name: tt-hero-core; }
.weapon-light .staff-star { animation-duration: 1.8s; }
.weapon-light .blade-pulse { animation-delay: -.6s; }
.weapon-light .armor-aura,
.weapon-light .armor-flame,
.weapon-light .armor-etch,
.weapon-light .armor-spark,
.weapon-light .blade-trace {
  transform-box: fill-box;
  transform-origin: center bottom;
}
.weapon-light .armor-aura { animation: tt-hero-aura 1.75s ease-in-out -.8s infinite alternate; }
.weapon-light .armor-flame { animation: tt-hero-flame 1.9s ease-in-out -.7s infinite alternate; }
.weapon-light .armor-flame-right { animation-duration: 1.65s; animation-delay: -1.4s; }
.weapon-light .armor-etch { animation: tt-hero-temper 2.8s ease-in-out -1.3s infinite; }
.weapon-light .armor-spark { animation: tt-hero-spark 2s ease-out -.5s infinite; }
.weapon-light .armor-spark-right { animation-delay: -1.5s; }
.weapon-light .blade-trace { animation: tt-hero-aura 2.1s ease-in-out -1.2s infinite alternate; }
.weapon-light .blade-shine {
  stroke-dasharray: 22 106;
  animation: tt-hero-edge 2.65s ease-in-out -1.1s infinite;
}
.sky-lightning {
  opacity: 0;
  animation: tt-cloud-light 7.8s ease-in-out -2.25s infinite;
}
.sky-lightning-east { animation-duration: 9.4s; animation-delay: -.35s; }
.sky-mist { animation: tt-mist-drift 12s ease-in-out -4s infinite alternate; }
.sky-mist-east { animation-duration: 16s; animation-delay: -11s; animation-direction: alternate-reverse; }
@keyframes tt-cloud-light {
  0%, 18%, 53%, 100% { opacity: 0; }
  27% { opacity: .28; }
  33% { opacity: .92; }
  40% { opacity: .24; }
}
@keyframes tt-mist-drift {
  from { transform: translate(-26px, 6px); opacity: .4; }
  to { transform: translate(45px, -5px); opacity: .85; }
}
.hero:not(.fx-visible) .weapon-light * { animation-play-state: paused; }
@keyframes tt-hero-core {
  from { opacity: .45; transform: scale(.83); }
  to { opacity: 1; transform: scale(1.23); }
}
@keyframes tt-hero-aura { from { opacity: .24; } to { opacity: .79; } }
@keyframes tt-hero-flame {
  0% { opacity: .42; transform: scale(.75,.52) skewX(-9deg); }
  53% { opacity: .92; transform: scale(1.04,.88) skewX(5deg); }
  100% { opacity: .7; transform: scale(.76,1.12) skewX(-3deg); }
}
@keyframes tt-hero-temper { 0%, 100% { opacity: .13; } 50% { opacity: .85; } }
@keyframes tt-hero-spark {
  0% { opacity: 0; transform: translate(0,4px); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(-6px,-47px) scale(.45); }
}
@keyframes tt-hero-edge {
  0% { stroke-dashoffset: 22; opacity: .18; }
  15%, 68% { opacity: 1; }
  90%, 100% { stroke-dashoffset: -104; opacity: .15; }
}
@media (max-width: 850px) {
  .hero { display: block; min-height: 0; background: #0a192a; }
  .hero::after { content: none; }
  .hero .hero-art {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    aspect-ratio: 7 / 5;
    max-height: max(320px, 49vw);
    overflow: hidden;
    background: #0a192a;
  }
  .hero .hero-scene {
    inset: 0 auto auto 83%;
    width: auto;
    height: 100%;
    aspect-ratio: 1821 / 864;
    transform: translateX(-83%);
  }
  .hero .weapon-light {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }
  .hero .hero-content {
    display: block;
    min-height: 0;
    padding-block: clamp(19px, 4vw, 32px) clamp(28px, 5vw, 40px);
  }
  .hero .hero-copy { width: 100%; max-width: none; padding: 0; text-align: center; }
  .hero .eyebrow,
  .hero .hero-actions,
  .hero .hero-caption { justify-content: center; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero .hero-actions { margin-top: 20px; }
  .hero .hero-discover { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .weapon-light { display: none; }
}

.music-toggle[hidden] { display: none; }
.music-toggle {
  min-height: 44px;
  z-index: 30;
  cursor: pointer;
  touch-action: manipulation;
}
.music-toggle svg { flex: none; }
.music-toggle .music-label { font: 600 .85rem/1.3 "Segoe UI", system-ui, sans-serif; }
.music-toggle[data-state="blocked"],
.music-toggle[data-state="error"] {
  color: #231804;
  background: linear-gradient(135deg, #ffeac0, #dfb470);
  border-color: #ffdfaa;
  box-shadow: 0 4px 16px #07132388;
}
.music-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 560px) {
  .tt-reader .music-toggle { bottom: calc(12px + env(safe-area-inset-bottom)); }
  .music-toggle { min-height: 42px; padding: 8px 12px; }
}

.tt-site-footer {
  text-align: left;
  border-top: 1px solid #89734f;
  background: radial-gradient(ellipse at 12% 0, #172c3e 0, transparent 60%), #091625;
  color: #c5d1dc;
  font: .93rem/1.55 "Segoe UI", Arial, sans-serif;
}
.tt-site-footer, .tt-site-footer * { box-sizing: border-box; }
.tt-site-footer .tt-footer-inner {
  width: min(1180px,calc(100% - 64px));
  margin-inline: auto;
  padding-block: clamp(32px, 4vw, 58px) 24px;
  display: grid;
  grid-template-columns: minmax(230px,1.5fr) repeat(2,minmax(150px,1fr));
  gap: 20px clamp(24px,5vw,80px);
}
.tt-site-footer a { color: inherit; text-decoration: none; }
.tt-site-footer a:hover, .tt-site-footer a:focus-visible { color: #ffe5ae; }
.tt-site-footer a:focus-visible { outline: 2px solid #dfbc7b; outline-offset: 3px; }
.tt-site-footer .tt-footer-brand {
  display: flex; align-items: center; justify-self: start; align-self: start; flex-wrap: wrap;
  gap: 8px 15px;
  color: #f2d8a3;
  font: 500 clamp(1.3rem,2.2vw,1.85rem)/1.2 "Lora","Segoe UI",sans-serif;
}
.tt-site-footer .tt-footer-brand img { display: block; width: 108px; height: auto; object-fit: contain; }
.tt-site-footer .tt-footer-nav h2 { margin: 0 0 .5rem; color: #ead1a6; font: 600 1.03rem/1.4 "Segoe UI",Arial,sans-serif; }
.tt-site-footer .tt-footer-nav ul { list-style: none; margin: 0; padding: 0; }
.tt-site-footer .tt-footer-nav a { display: inline-block; padding: .3rem 0; }
.tt-site-footer .tt-footer-bottom {
  grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center;
  min-height: 54px; gap: 16px; padding-top: 15px; border-top: 1px solid #314151;
}
.tt-site-footer .tt-footer-bottom small { color: #aab9c7; font: .8rem/1.5 "Segoe UI",Arial,sans-serif; }
.tt-site-footer .tt-footer-top {
  display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0;
  border: 1px solid #a78b59; border-radius: 50%; background: #102236; color: #f2d399;
  box-shadow: 0 3px 12px #040d1a55;
}
.tt-site-footer .tt-footer-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tt-site-footer .tt-footer-top:hover { background: #21384b; color: #fff0cc; }
.tt-site-footer .tt-footer-top[hidden] { display: none; }
@media(max-width: 800px) {
  .tt-site-footer .tt-footer-inner { width: calc(100% - 32px); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 28px; }
  .tt-site-footer .tt-footer-brand { grid-column: 1/-1; }
  .tt-site-footer .tt-footer-brand img { width: 88px; }
}
@media(max-width: 560px) {
  .tt-site-footer .tt-footer-inner { gap: 20px 12px; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .tt-homepage .tt-site-footer .tt-footer-inner { padding-bottom: calc(116px + env(safe-area-inset-bottom)); }
  .tt-site-footer .tt-footer-nav a { display: flex; align-items: center; min-height: 44px; }
}

.guide-section .guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 20px);
  border: 0;
  background: none;
}
.guide-grid .guide-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #665c49;
  border-radius: 3px 13px 3px 3px;
  background: linear-gradient(135deg, #172a39, #0e1c2d 80%);
  transition: border-color .2s;
}
.guide-card .guide-art {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 2px 12px 0 0;
  border-bottom: 1px solid #88754e;
  background: #14293b;
}
.guide-art::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(255 235 198 / .34);
  border-radius: 0 8px 0 0;
  pointer-events: none;
}
.guide-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease-out;
}
.guide-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(16px, 1.5vw, 24px);
}
.guide-card .guide-copy h3 {
  margin: 0 0 8px !important;
  font: 500 clamp(18px, 1.55vw, 24px)/1.35 "Lora", Georgia, serif;
  color: #f4dfb4;
}
.guide-card .guide-copy p {
  min-height: 0;
  padding-bottom: 20px;
  font: 400 .92rem/1.65 "Segoe UI", Arial, sans-serif;
  color: #afbed1;
}
.guide-card .guide-copy .text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #31414c;
  font: 600 .8rem/1.4 "Segoe UI", Arial, sans-serif;
  color: #edcf95;
}
.guide-copy .text-link i {
  width: 7px;
  height: 7px;
  flex: none;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.guide-grid .guide-card:focus-visible { outline: 2px solid #f4d396; outline-offset: 3px; }
@media (hover: hover) {
  .guide-grid .guide-card:hover { border-color: #c4a875; }
  .guide-card:hover .guide-art img { transform: scale(1.035); }
}
@media (max-width: 880px) {
  .guide-section .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .guide-section .guide-grid { gap: 10px; }
  .guide-copy { padding: 12px; }
  .guide-card .guide-copy h3 { font-size: 1.12rem; }
  .guide-card .guide-copy p { padding-bottom: 13px; font-size: .82rem; }
  .guide-card .guide-copy .text-link { padding-top: 10px; font-size: .76rem; }
}
@media (max-width: 350px) {
  .guide-section .guide-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .guide-grid .guide-card, .guide-art img { transition: none; }
  .guide-card:hover .guide-art img { transform: none; }
}

.album-controls {
  gap: clamp(12px, 2.4vw, 28px);
  padding: 12px 0 10px;
}

.album-controls .album-count {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  color: #d7c6a5;
  white-space: nowrap;
}

.album-count::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #ad946a77, #46607335);
}

.album-actions {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #857451;
  border-radius: 32px;
  background: linear-gradient(150deg, #19323c, #0e2031 68%);
  box-shadow: inset 0 0 0 2px #0c1d2c;
}

.album-controls .album-actions button {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #eee0bf;
  font-size: 0;
  touch-action: manipulation;
  transition: background-color .18s, color .18s, border-color .18s;
}

.album-actions .album-prev::before,
.album-actions .album-next::before {
  content: "";
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.album-actions .album-prev::after,
.album-actions .album-next::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.album-actions .album-prev::after { transform: translateX(-4px) rotate(-135deg); }
.album-actions .album-next::after { transform: translateX(4px) rotate(45deg); }

.album-actions button.album-pause {
  width: 44px;
  border-color: #a79b6f;
  background: linear-gradient(145deg, #345957, #18383e);
  color: #fff0c9;
}

.album-pause::before {
  content: "";
  box-sizing: border-box;
  width: 13px;
  height: 15px;
  border-inline: 4px solid currentColor;
}

.album-pause[data-playing="false"]::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border: 0;
  border-block: 8px solid transparent;
  border-left: 13px solid currentColor;
}

@media (hover: hover) {
  .album-controls .album-actions button:hover {
    background-color: #36504e;
    border-color: #c5ac7b;
    color: #fff3d3;
  }
}

.album-controls .album-actions button:focus-visible {
  outline: 2px solid #baf0df;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .album-controls .album-actions button { transition: none; }
}
