/* No external web fonts: all rendering works offline. */
:root{--gold:#dec59a;--paper:#eee8d8;--line:#ac94764d;--ink:#091620;--panel:#142832ed}
body{background:#08131e}button{border-radius:6px}button:focus-visible{outline:2px solid #f0dbaf;outline-offset:3px}.modal{border-radius:12px;background:radial-gradient(ellipse at top right,#36514e33,transparent 52%),linear-gradient(145deg,#1b303c,#0a1a26);border-color:#bba17a75;scrollbar-gutter:stable}.modal h2{letter-spacing:2px}.modal header{border-color:#c2a5743d}.primary{background:linear-gradient(115deg,#b89868,#e1c69a);color:#152530;border-radius:6px}.secondary{background:#152c38}.card,.service-card,.skill-card{border-radius:9px}.panel{background:linear-gradient(130deg,#122a35eb,#071822ef);border-color:#91a69b50;border-radius:10px;backdrop-filter:blur(6px)}
.profile{border-left:3px solid var(--accent);box-shadow:0 12px 30px #020b164d}.profile .portrait{border-radius:13px;border-color:#d1b18477}.hero-name{letter-spacing:2px}.meter{border-radius:6px;overflow:hidden}.meter i{background:linear-gradient(90deg,#8d4f5a,#d89785)}.meter.mp i{background:linear-gradient(90deg,#327f95,#a0d8d1)}.meter.xp i{background:#d8c190}.region strong{font-size:22px}.skillbar{border-radius:13px;background:#0c202ced;gap:8px;padding:10px}.skill{border-radius:10px;border-color:#9cab9259;transition:filter .12s,box-shadow .12s}.skill:hover{box-shadow:0 0 16px #e1c49c25}.skill-art{filter:drop-shadow(0 2px 8px #0005)}.bossbar strong{font-size:18px;color:#edc7a6}.bossbar .meter{height:13px;box-shadow:0 3px 17px #320e2188}.bossbar small{display:block;background:#0b1426bd;border-radius:4px;padding:4px;margin-top:4px;color:#f1d4b8}.bossbar .meter i{background:linear-gradient(90deg,#713f62,#d89882)}.dock button{border-radius:7px}.interact{border-radius:9px}.banner strong{font-size:27px}.log{border-radius:0 10px 10px 0}.select18 .art{height:286px}.select18 .art img{height:286px}.select18 .hero-card{border-color:#a8af8266}.select18 .hero-card h3{font-size:27px}
/* Title is composed from the actual transparent portraits. */
.title18{height:100dvh!important;max-height:none!important;border:0;border-radius:0;padding:0!important;background:#081722!important;overflow:auto}.landing18{position:relative;min-height:750px;height:100%;display:grid;grid-template-columns:44% 56%;align-items:center;max-width:1600px;margin:auto;padding:64px 7%;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 74% 53%,#25595665,transparent 45%),radial-gradient(ellipse at 91% 30%,#60567633,transparent 55%),linear-gradient(150deg,#061320,#142a34)}
.landing-copy18{z-index:3}.edition18{display:inline-block;color:#c4bf9b;font-size:10px;letter-spacing:3px;padding:7px 10px;border:1px solid #bda67e55;border-radius:4px}.landing18 h1{font:500 clamp(45px,6vw,90px)/.92 Georgia,serif;letter-spacing:7px;color:#f3ead8;margin:28px 0 16px}.landing18 h1 span{color:#dfc898}.landing18 h2{font:400 23px/1.5 Georgia,'Microsoft JhengHei',serif;letter-spacing:12px;margin:16px 0;color:#dce2d3}.gold-rule18{height:1px;width:75px;background:#d0b88b;margin:24px 0}.landing-story18{font-size:14px;line-height:2.1;color:#acc4c5}.landing-buttons18{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:380px;margin-top:27px}.landing-buttons18 button{height:45px;padding:5px 12px;font-size:12px}.landing-buttons18 .primary{grid-column:span 2;font-size:14px;height:49px}.landing-small18{display:flex;gap:16px;margin-top:9px}.landing-small18 button{background:transparent;border:0;padding:8px 0;color:#92acae;font-size:11px}.release18{margin-top:25px;border-left:2px solid #cfb381;padding-left:12px;font-size:12px;color:#e8d5aa;display:flex;flex-direction:column;gap:5px}.release18 span{font-size:10px;color:#9eb6b7}.landing-heroes18{height:580px;position:relative;z-index:2;isolation:isolate}.hero-silhouette18{position:absolute;margin:0;bottom:28px;text-align:center;width:57%;height:500px;filter:drop-shadow(0 18px 28px #050f1bee)}.hero-silhouette18 img{object-fit:contain;width:100%;height:92%}.hero-silhouette18 figcaption{font-size:10px;letter-spacing:2px;color:#d3c9ab}.hero-silhouette18 figcaption b{display:block;font:17px Georgia,'Microsoft JhengHei',serif;margin-top:6px;letter-spacing:5px}.hero-silhouette18 figcaption span{font-size:8px}.hero-0{left:-18%;z-index:3;bottom:3px}.hero-1{left:19%;height:565px;z-index:4;bottom:50px}.hero-2{right:-23%;z-index:2;bottom:3px}.landing-orbits18{position:absolute;border:1px solid #b9b79936;width:650px;height:650px;border-radius:50%;right:7%;top:6%;box-shadow:0 0 0 42px #abc4b008,0 0 0 43px #b8c29b20;z-index:-1}.landing-orbits18:after{content:'III';position:absolute;inset:0;display:grid;place-items:center;font:420px/1 Georgia,serif;color:#c5d3b10b}.landing-foot18{position:absolute;bottom:22px;left:7%;right:7%;display:flex;justify-content:space-between;gap:16px;border-top:1px solid #88a3a13b;padding-top:17px;color:#7f9b9d;font-size:9px;letter-spacing:2px}
.new-hub18{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border:1px solid #c8b37a55;padding:23px;background:linear-gradient(120deg,#3b3b352d,#16343b80);border-radius:10px;margin-top:23px}.new-hub18 p{font-size:12px;margin:8px 0}.new-hub18 .actions{align-items:center;margin:0}.new-hub18 h3{font-size:22px;margin:7px 0 0}.route-tabs18{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:18px}.routes18{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.route18{border:1px solid color-mix(in srgb,var(--route) 50%,transparent);border-radius:12px;background:#0c2430;overflow:hidden;display:flex;flex-direction:column}.route-visual18{height:105px;position:relative;overflow:hidden;background:radial-gradient(circle at 78% 36%,color-mix(in srgb,var(--route) 25%,#102131),transparent 65%),repeating-linear-gradient(135deg,transparent 0px,transparent 19px,#9aaf9d12 20px,#9aaf9d12 21px),#182b39;border-bottom:1px solid #8aab9c33}.route-number18{position:absolute;left:19px;top:14px;font:51px Georgia,serif;color:color-mix(in srgb,var(--route) 40%,transparent)}.route-mark18{position:absolute;right:31px;top:13px;font:57px Georgia,serif;color:var(--route);opacity:.75}.route-copy18{padding:18px;display:flex;flex-direction:column;flex:1}.route-copy18 h3{font-size:23px;color:var(--route);margin:8px 0}.route-copy18 p{font-size:12px;margin:9px 0;line-height:1.8}.route-copy18 .eyebrow{font-size:8px;letter-spacing:1.6px}.route-info18{display:flex;justify-content:space-between;font-size:10px;color:#cdd2b8;padding:6px 0;border-top:1px solid #a0b09c2b}.reward18{margin:auto 0 13px;font-size:10px;color:#d4bd8a;line-height:1.8}.route-copy18 .primary{width:100%;min-height:43px;padding:8px;font-size:12px}.settings18{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.settings18 label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#dbcfb5}.settings18 select{height:43px;width:100%;background:#092130;border:1px solid #8d9d8669;border-radius:6px;color:#ccd7cc;padding:9px}.panel18{border-top:1px solid #a3b19933;margin-top:20px;padding-top:22px}.trial-summary18{display:flex;align-items:center;gap:27px;border:1px solid #b2986666;background:#1b303a80;padding:23px;border-radius:12px}.trial-summary18 p{font-size:12px}.seal18{font:80px Georgia,serif;color:#d0ba8f;line-height:1.3}.trial-summary18 h3{font-size:24px}.tiers18{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:23px}.tiers18 button{padding:15px 8px;font:25px Georgia,serif;min-height:78px}.tiers18 small{display:block;font:10px system-ui;margin-top:6px;color:#b5cab9}.tiers18 .tier-done18{border-color:#98c4aa;background:#2b504653}.result18{text-align:center;max-width:730px;margin:auto}.result18 h3{font-size:30px}.stat-chips18{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:21px}.stat-chips18 span{padding:8px 12px;border:1px solid #9aab8444;border-radius:6px;font-size:12px;background:#122936}.shard-count18{font:36px Georgia,serif;color:#e6cb9b;margin:22px 0}.shard-count18 small{font:11px system-ui;color:#94b6b8;display:block;margin-top:6px}.sets18{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.set18{padding:21px;border:1px solid #9eac863b;border-radius:10px;background:#102733}.set18 .eyebrow{font-size:8px;letter-spacing:1px}.set18 h3{font-size:24px;margin:9px 0}.set18 p{font-size:12px;line-height:2}.set-parts18{display:grid;grid-template-columns:1fr 1fr;gap:7px}.set-parts18 button{min-height:42px;font-size:11px;padding:5px}.set18.selected{border-color:#ccb48166}#extraHud18{position:absolute;pointer-events:none;inset:0}#buffs18{position:absolute;left:22px;top:279px;display:flex;gap:5px;flex-wrap:wrap;max-width:290px}#buffs18 span{font-size:10px;color:#d8e6de;background:#123342de;border:1px solid #a6bf9844;border-radius:5px;padding:6px 9px}#target18{position:absolute;left:50%;bottom:145px;transform:translateX(-50%);border:1px solid #d3c19855;background:#0c2330e8;border-radius:7px;padding:8px 14px;font-size:11px;color:#e8d8b9;display:none}.modal-open #extraHud18{display:none}.gallery-portrait,.sprite-test{height:400px}.gallery-portrait img{image-rendering:auto}
/* Portrait and landscape layouts: actual targets >=44px, independent pointer IDs. */
.touch-mode .panel{backdrop-filter:none}.touch-mode .profile{width:min(232px,calc(100vw - 122px));height:96px}.touch-mode .phone-nav button{height:44px;min-width:44px}.touch-mode .bottom{right:calc(8px + var(--safe-r));width:186px;bottom:calc(12px + var(--safe-b))}.touch-mode .skillbar{gap:6px;grid-template-columns:repeat(3,58px);grid-template-rows:repeat(3,54px);background:transparent;padding:0;filter:none}.touch-mode .skill{width:58px;height:54px}.touch-mode #skill_basic{width:116px;height:110px}.touch-mode #skill_dash{bottom:188px;width:62px;height:48px}.touch-mode .move-pad{width:124px;height:124px;left:calc(12px + var(--safe-l));bottom:calc(21px + var(--safe-b))}.touch-mode .move-knob{left:38px;top:38px;width:46px;height:46px}.touch-mode .touch-interact{height:46px;left:calc(23px + var(--safe-l));bottom:calc(178px + var(--safe-b));min-width:106px}.touch-mode .exp-hud{top:calc(112px + var(--safe-t));width:159px;left:calc(8px + var(--safe-l));border-radius:6px}.touch-mode .skill-alert{top:calc(154px + var(--safe-t));padding:7px 10px;max-width:190px}.touch-mode .bossbar{top:calc(205px + var(--safe-t));width:90vw;max-width:380px}.touch-mode .bossbar strong{font-size:14px}.touch-mode #buffs18{left:calc(8px + var(--safe-l));top:calc(193px + var(--safe-t));max-width:220px}.touch-mode #buffs18 span{font-size:8px;padding:3px 5px}.touch-mode #target18{bottom:calc(259px + var(--safe-b));max-width:90vw;font-size:10px;white-space:nowrap}.touch-mode .modal{max-height:96dvh}.touch-mode .modal:not(.title18):not(.vn-modal){padding:18px}.touch-mode .modal .close{width:40px;height:40px;top:12px;right:12px}.touch-mode .modal button{min-height:42px}.touch-mode .item-slot{min-height:0!important}.touch-mode .banner strong{font-size:19px}.touch-mode .banner small{font-size:10px}
@media(max-width:950px){.landing18{padding:40px 6%;grid-template-columns:46% 54%;min-height:710px}.landing-heroes18{height:520px}.hero-silhouette18{height:380px}.hero-1{height:450px}.landing18 h1{font-size:62px}.hero-0{left:-10%}.hero-1{left:22%}.hero-2{right:-23%}.routes18{grid-template-columns:repeat(2,1fr)}.sets18{grid-template-columns:1fr}.settings18{grid-template-columns:1fr}.route-copy18 p{min-height:0}}
@media(max-width:600px){.landing18{display:flex;flex-direction:column;min-height:870px;padding:22px 25px 72px;justify-content:center;gap:14px}.landing-heroes18{height:270px;width:100%;order:-1;margin:0}.hero-silhouette18{height:223px;width:50%;bottom:0}.hero-0{left:-5%}.hero-1{left:25%;height:270px;bottom:16px}.hero-2{right:-5%}.hero-silhouette18 figcaption{display:none}.landing-copy18{width:100%}.landing18 h1{font-size:55px;line-height:.93;letter-spacing:4px;margin:16px 0 11px}.landing18 h1 br{display:none}.landing18 h2{font-size:19px;letter-spacing:7px;margin:12px 0}.edition18{font-size:8px;letter-spacing:2px}.gold-rule18{margin:13px 0}.landing-story18{font-size:12px;line-height:1.8}.landing-buttons18{max-width:none;margin-top:17px}.landing-small18{margin-top:4px}.release18{margin-top:14px}.landing-foot18{left:25px;right:25px;bottom:15px;flex-direction:column;gap:6px;font-size:8px;padding-top:12px}.landing-orbits18{width:340px;height:340px;right:7%;top:1%;box-shadow:0 0 0 24px #abc4b008}.routes18{grid-template-columns:1fr}.route18{display:grid;grid-template-columns:85px 1fr}.route-visual18{height:100%;border-right:1px solid #97ac9140;border-bottom:0}.route-number18{font-size:35px;left:14px;top:22px}.route-mark18{font-size:37px;left:18px;top:86px;right:auto}.route-copy18{padding:15px}.route-copy18 h3{font-size:21px}.route-copy18 p{font-size:11px}.trial-summary18{padding:15px;gap:14px}.trial-summary18 .seal18{display:none}.trial-summary18 h3{font-size:21px}.tiers18{grid-template-columns:repeat(4,1fr);gap:6px}.tiers18 button{font-size:21px;min-height:65px;padding:10px 4px}.trial-summary18 p{font-size:11px}.select18 .hero-card .art{height:203px}.select18 .hero-card img{height:202px}.select18 .hero-card{grid-template-columns:108px 1fr}.select18 .hero-card h3{font-size:22px}.gallery-layout{grid-template-columns:1fr}.gallery-portrait,.sprite-test{height:305px}.gallery-nav button,.expression-buttons button{font-size:10px;padding:7px 9px}.stat-chips18{margin:15px 0}.new-hub18{padding:17px}.set18{padding:16px}.inventory-layout{grid-template-columns:1fr}.equip-grid{grid-template-columns:repeat(4,1fr)}.equipped b{max-width:45px}.equipped{flex-direction:column;gap:3px;min-height:60px}.paperdoll{height:172px}.paperdoll img{height:165px}.item-grid{grid-template-columns:repeat(6,1fr)}.stash-scroll{height:280px}}
@media(orientation:landscape) and (max-height:550px){.landing18{min-height:460px;display:grid;grid-template-columns:52% 48%;padding:25px 6% 55px}.landing-heroes18{height:310px}.hero-silhouette18{height:248px}.hero-1{height:301px;bottom:35px}.hero-0,.hero-2{bottom:6px}.hero-silhouette18 figcaption{display:none}.landing18 h1{font-size:47px;margin:13px 0}.landing18 h2{font-size:16px;margin:9px 0;letter-spacing:8px}.landing18 h1 br{display:none}.edition18{font-size:7px}.landing-story18{font-size:11px;line-height:1.65}.gold-rule18{display:none}.landing-buttons18{margin-top:14px;gap:6px}.landing-buttons18 button{height:40px;min-height:40px!important}.landing-buttons18 .primary{height:42px}.release18{font-size:11px;margin-top:9px}.landing-small18 button{font-size:10px;padding:6px 0;min-height:24px!important}.landing-foot18{bottom:13px;font-size:8px;letter-spacing:1px;padding-top:9px}.touch-mode .profile{width:202px;height:86px}.touch-mode .exp-hud{left:calc(220px + var(--safe-l));top:calc(10px + var(--safe-t));width:130px}.touch-mode .skill-alert{left:calc(220px + var(--safe-l));top:calc(55px + var(--safe-t));font-size:8px;min-height:28px;max-width:140px}.touch-mode .bossbar{top:calc(90px + var(--safe-t));width:40vw}.touch-mode .bossbar strong{font-size:12px}.touch-mode .bossbar small{font-size:8px;padding:2px}.touch-mode .phone-nav{top:calc(8px + var(--safe-t));right:calc(116px + var(--safe-r))}.touch-mode .phone-nav button{height:40px;min-width:42px}.touch-mode .bottom{bottom:calc(8px + var(--safe-b))}.touch-mode .skillbar{grid-template-rows:repeat(3,47px);gap:5px}.touch-mode .skill{height:47px}.touch-mode #skill_basic{height:96px;width:116px}.touch-mode #skill_basic .skill-art{height:49px;width:49px}.touch-mode #skill_dash{bottom:164px;height:46px}.touch-mode .move-pad{width:112px;height:112px;bottom:calc(15px + var(--safe-b))}.touch-mode .move-knob{left:32px;top:32px}.touch-mode .touch-interact{bottom:calc(147px + var(--safe-b));height:44px;min-width:98px}.touch-mode #buffs18{top:calc(92px + var(--safe-t));left:calc(8px + var(--safe-l));max-width:190px}.touch-mode #target18{bottom:calc(15px + var(--safe-b));max-width:40vw}.touch-mode .banner{top:38%;width:48%}.touch-mode .gallery-layout{grid-template-columns:1fr 1fr}.gallery-portrait,.sprite-test{height:260px}.routes18{grid-template-columns:repeat(2,1fr)}.route18{display:block}.route-visual18{height:78px}}
@media(max-width:365px){.touch-mode .move-pad{width:106px;height:106px;left:calc(8px + var(--safe-l))}.touch-mode .move-knob{left:29px;top:29px}.touch-mode .bottom{width:177px}.touch-mode .skillbar{grid-template-columns:repeat(3,55px);gap:5px}.touch-mode .skill{width:55px}.touch-mode #skill_basic{width:110px}.touch-mode .touch-interact{min-width:96px;left:calc(10px + var(--safe-l))}.touch-mode .phone-nav button{font-size:9px;min-width:41px}.touch-mode .profile{width:206px}.landing18 h1{font-size:47px}.set-parts18{gap:5px}}

@media(min-width:951px){.hero-2{right:-7%}.hero-0{left:-15%}.hero-silhouette18{width:55%}.hero-1{left:20%}}

@media(orientation:landscape) and (max-height:550px){.touch-mode .bossbar{top:calc(8px + var(--safe-t));width:34vw}.touch-mode .bossbar small{font-size:7px}.touch-mode .exp-hud{left:calc(8px + var(--safe-l));top:calc(117px + var(--safe-t));width:128px}.touch-mode .skill-alert{left:calc(8px + var(--safe-l));top:calc(158px + var(--safe-t));font-size:8px;max-width:155px;min-height:24px;padding:4px 7px}.touch-mode #buffs18{top:calc(97px + var(--safe-t));max-width:182px}.touch-mode .touch-interact{bottom:calc(144px + var(--safe-b))}}
