@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}:root{color:#eee6fa;font-synthesis:none;background:#171321;font-family:Segoe UI,Microsoft JhengHei,sans-serif;font-weight:400;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,a,input,select{touch-action:manipulation}button,a{cursor:pointer}button{font:inherit;color:inherit;background:#31263f;border:1px solid #77628d;border-radius:10px;min-height:44px;padding:11px 18px;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#57416d;transform:translateY(-1px)}button:disabled{opacity:.38;cursor:not-allowed}.primary{color:#fff;background:linear-gradient(135deg,#9571d1,#6c479f);border-color:#c9a5ef;box-shadow:0 4px 20px #9970cf22}.primary:hover:not(:disabled){background:#a67ad9}.large{padding:16px 28px}.chosen,button.active{background:#60457c;border-color:#e6c3ff;box-shadow:inset 0 0 0 1px #cba5e2}.actions{flex-wrap:wrap;gap:12px;display:flex}header{background:#1c1727;border-bottom:1px solid #ffffff12;align-items:center;gap:30px;height:100px;padding:20px 4.5%;display:flex}.brand{letter-spacing:2px;align-items:center;gap:12px;font-size:17px;font-weight:700;line-height:1.4;display:flex}.brand-icon{color:#d9b7ff;font-size:45px}.brand em{color:#d6b075;font-style:normal}.brand small{letter-spacing:3px;color:#b0a3c1;margin-top:6px;font-size:10px;display:block}nav{gap:6px;margin-left:auto;display:flex}nav button{background:0 0;border:0;font-size:14px}.wallet{color:#e5c18e;border-left:1px solid #655271;padding-left:24px;font-size:20px}.wallet small{color:#a89ab8;text-align:right;font-size:11px;display:block}h1,h2,h3,p{margin:0 0 18px}h1{letter-spacing:1px;font-size:40px;line-height:1.35}h2{font-size:25px}h3{font-size:18px}small,.muted{color:#b0a2c1}.eyebrow{color:#cfb788;letter-spacing:2.4px;margin-bottom:15px;font-size:11px;font-weight:600;display:block}.home{background:radial-gradient(at 75% 40%,#60428255,#0000 53%),linear-gradient(150deg,#251d36,#15121e);grid-template-columns:1.1fr 1fr;align-items:center;min-height:760px;padding:70px 8% 100px;display:grid;position:relative;overflow:hidden}.hero-copy h1{letter-spacing:4px;margin:24px 0;font-size:clamp(36px,4.5vw,67px);font-weight:650;line-height:1.35}.hero-copy h1 span{color:#d7b5f3;display:block}.hero-copy p{color:#b9aec7;margin-bottom:30px;font-size:16px;line-height:2}.metrics{color:#a99bb9;gap:40px;margin-top:45px;font-size:12px;display:flex}.metrics b{color:#e5d4f1;font-size:25px;font-weight:400;display:block}.hero-art{justify-content:center;align-items:center;height:510px;display:flex;position:relative}.crystal{color:#d1a3ff;text-shadow:0 0 28px #d79fff,0 0 100px #9a58db;z-index:2;font-size:285px;line-height:1;animation:5s ease-in-out infinite float;transform:scaleX(.72)}.pedestal{background:linear-gradient(#776481,#292136);border:2px solid #b49ab9;border-radius:50%;width:250px;height:65px;position:absolute;bottom:75px;box-shadow:0 15px #30283e,0 17px #a084aa,0 30px 80px #9f66b555}.orbit{border:1px solid #c99bfc35;border-radius:50%;width:370px;height:370px;position:absolute;transform:rotate(-30deg)scaleY(.55)}.two{width:410px;height:410px;transform:rotate(60deg)scaleY(.6)}.star{color:#f5d8a8;position:absolute}.s1{font-size:35px;top:60px;right:60px}.s2{font-size:22px;bottom:120px;left:40px}.floating-note{color:#e9c3ff;background:#372745cc;border:1px solid #9b79ad66;border-radius:12px;padding:10px 22px;font-size:35px;position:absolute;top:170px;right:15px;transform:rotate(7deg)}.floating-note small{font-size:11px;display:block}.art-caption{text-align:center;letter-spacing:6px;font-size:14px;position:absolute;bottom:5px}.art-caption small{letter-spacing:2px;margin-top:5px;font-size:10px;display:block}.home-bottom{color:#92829f;border-top:1px solid #b398d322;justify-content:space-between;padding-top:20px;font-size:12px;display:flex;position:absolute;bottom:25px;left:8%;right:8%}.content{max-width:1350px;min-height:80vh;margin:0 auto;padding:50px 40px}.section-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.deck,.card{background:#241d31;border:1px solid #69517e66;border-radius:16px;margin-bottom:25px;padding:26px}.deck h3 small{margin-left:12px;font-size:12px}.tower-list{flex-wrap:wrap;gap:10px;display:flex}.tower-list button{align-items:center;gap:12px;display:flex}.tower-list span{font-size:28px}.deck p{color:#b0a2c1;margin-top:12px;margin-bottom:0;font-size:12px}.chapters{grid-template-columns:repeat(3,1fr);gap:22px;display:grid}.chapters article{background:linear-gradient(145deg,var(--chapter),#221b2d);padding:28px}@supports (color:color-mix(in lab,red,red)){.chapters article{background:linear-gradient(145deg,color-mix(in srgb,var(--chapter)22%,#221b2d),#221b2d)}}.chapters article{border:1px solid #9a7ab650;border-radius:15px;position:relative;overflow:hidden}.chapter-number{color:var(--chapter);opacity:.3;font-size:75px;position:absolute;top:-12px;right:15px}.chapters h2{margin-top:20px;position:relative}.chapters p{color:#b9adc6;min-height:45px;font-size:13px}.chapters .english{color:#d9c398;min-height:0;font-size:12px}.chapters button{text-align:left;width:100%;margin-top:9px;font-size:13px}.chapters button span{float:right}.battle-page{max-width:1580px;margin:auto;padding:22px 30px}.battle-heading{align-items:center;gap:20px;margin-bottom:20px;display:flex}.battle-heading>div{margin-right:auto}.battle-heading h2,.battle-heading .eyebrow{margin:0}.health{color:#ef9db8}.gold{color:#f2cc7d;font-size:23px}.arena-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px;display:grid}.canvas-host{aspect-ratio:16/9;background:#292239;border:2px solid #9b7baf;border-radius:14px;width:100%;overflow:hidden;box-shadow:0 0 35px #9e6ed51a}.canvas-host canvas{max-width:100%;display:block}.battle-footer{color:#b5a4c9;justify-content:space-between;padding:10px 0;font-size:11px;display:flex}.summon-bar{background:#251d32;border:1px solid #6f557c;border-radius:14px;grid-template-columns:repeat(6,1fr);gap:10px;padding:12px;display:grid}.summon-bar button{flex-direction:column;align-items:center;gap:3px;padding:8px 5px;font-size:12px;display:flex}.summon-bar button>span{font-size:29px;line-height:1.3}.summon-bar small{color:#e1bf80}.battle-panel{background:linear-gradient(#35283f,#221c2e);border:1px solid #8a6f9b;border-radius:14px;flex-direction:column;padding:23px 20px;display:flex}.battle-panel h2{font-size:21px}.battle-panel .eyebrow{letter-spacing:1.4px;font-size:9px}.battle-panel button{width:100%;margin-bottom:8px;font-size:13px}.panel-bottom{margin-top:auto}.guide-glyph{text-align:center;color:#d7b4f1;text-shadow:0 0 35px #b680e8;font-size:70px;display:block}.tower-large{text-align:center;color:#aee2ff;font-size:70px}.notice{color:#f0cf89;min-height:24px;font-size:12px}dl{grid-template-columns:1fr 1fr;gap:8px;margin:0 0 20px;font-size:13px;display:grid}dd{text-align:right;color:#e5c994}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#0c081ac9;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.modal{background:linear-gradient(140deg,#3b2c4b,#231c30);border:1px solid #c6a3d4;border-radius:22px;width:min(600px,100%);max-height:90dvh;padding:35px;overflow:auto;box-shadow:0 20px 100px #0009}.story{text-align:center}.story blockquote{text-align:left;color:#c9b9d8;background:#ffffff07;border-left:2px solid #c7a4df;margin:20px 0;padding:12px 20px}.topic-tag{color:#e1c391;border:1px solid #d1b17d44;border-radius:20px;padding:6px 12px;font:12px Georgia,serif;display:inline-block}.question-text{color:#f2eafa;margin:22px 0;font-size:19px;line-height:1.6}.options{gap:9px;margin-bottom:20px;display:grid}.options button{text-align:left;align-items:center;gap:14px;font-size:15px;display:flex}.options b{background:#9875b3;border-radius:50%;padding:2px 9px}.answer-input{color:#c7b3dc;gap:8px;margin:15px 0 23px;display:grid}input,select{color:#eee5fa;font:inherit;background:#181422;border:1px solid #7f658f;border-radius:8px;width:100%;min-height:44px;padding:12px}input[type=checkbox]{vertical-align:middle;width:22px;min-height:22px;margin-right:10px}.feedback{background:#ffffff07;border-radius:10px;margin-top:20px;padding:18px}.feedback h3{color:#e7c793}.feedback p{font-size:15px}.question>.primary{width:100%}.skin-grid{grid-template-columns:repeat(4,1fr);gap:20px;display:grid}.skin-grid article{text-align:center;background:#282032;border:1px solid #715783;border-radius:14px;padding:18px}.skin-art{color:#b3deff;background:radial-gradient(#b19cd244,#0000 65%);padding:20px;font-size:75px}.tier1{color:#ffbbdf;background:radial-gradient(#ff9ec533,#0000 65%)}.tier2{color:#ffe19a;background:radial-gradient(#f4bc6633,#0000 65%)}.tier3{color:#ddb1ff;text-shadow:0 0 30px #d5a0ff;background:radial-gradient(#c277ff55,#0000 65%)}.skin-grid button{width:100%;font-size:13px}.practice{max-width:1000px}.filters{grid-template-columns:1fr 1fr;gap:20px;display:grid}.filters label{color:#c5b4d5;gap:8px;font-size:13px;display:grid}.filters .actions{grid-column:1/-1}.practice-question{max-width:760px;margin:30px auto}.narrow{max-width:800px}.narrow label{margin:15px 0;display:block}details{border-bottom:1px solid #ffffff15;padding:14px}summary{cursor:pointer}details p{color:#c9b7db;margin-top:15px}footer{color:#8c7c9c;letter-spacing:1px;border-top:1px solid #ffffff10;justify-content:space-between;padding:25px 5%;font-size:11px;display:flex}@keyframes float{50%{transform:translateY(-14px)scaleX(.72)}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media(max-width:1000px){header{flex-wrap:wrap;gap:12px;height:auto;padding:14px 20px}nav{order:3;justify-content:center;width:100%}.wallet{margin-left:auto}.home{min-height:650px;padding:40px}.hero-art{transform:scale(.8)}.arena-layout{grid-template-columns:minmax(0,1fr) 220px;gap:12px}.battle-page,.battle-panel{padding:15px}.battle-heading{gap:10px}.battle-heading button{padding:8px}.chapters{grid-template-columns:repeat(2,1fr)}.skin-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.home{grid-template-columns:1fr;padding:35px 25px 90px}.hero-art{height:370px}.hero-copy h1{font-size:40px}.home-bottom{gap:15px;font-size:10px;left:25px;right:25px}.metrics{gap:30px}.content{padding:30px 18px}.chapters,.filters{grid-template-columns:1fr}.skin-grid{grid-template-columns:repeat(2,1fr);gap:12px}.arena-layout{grid-template-columns:1fr}.battle-panel{display:block}.battle-heading{flex-wrap:wrap;font-size:12px}.battle-heading h2{font-size:19px}.battle-heading>div{width:100%}.rotate{color:#e8c68d;padding:10px 0;font-size:12px;display:block}.summon-bar{gap:5px;padding:7px}.summon-bar button{font-size:10px}.section-heading{align-items:start}.modal{padding:24px}.question-text{font-size:17px}.filters .actions{grid-column:auto}footer{gap:20px}.wallet{font-size:16px}h1{font-size:32px}}@media(max-height:500px)and (orientation:landscape){body:has(.battle-page) header{display:none}.battle-page{padding:8px}.battle-heading{margin-bottom:8px}.battle-heading h2{font-size:17px}.battle-heading .eyebrow{font-size:9px}.arena-layout{grid-template-columns:minmax(0,1fr) 200px}.canvas-host{max-height:none}.battle-panel{padding:12px}.battle-panel .guide-glyph,.battle-panel .eyebrow,.battle-panel .tower-large{display:none}.battle-panel p{margin-bottom:7px;font-size:11px}.summon-bar button{padding:3px}.summon-bar button>span{font-size:21px}.battle-footer,footer{display:none}.modal{max-height:95dvh}}textarea{color:#dfd0ea;background:#171321;border:1px solid #826694;border-radius:8px;width:100%;margin:16px 0;padding:12px;font-family:monospace}.admin .actions{margin:15px 0}.admin pre{white-space:pre-wrap}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.battle-page{max-width:1640px;padding:18px 28px 28px;background:radial-gradient(ellipse at 50% 0,#68438555,transparent 65%)}.battle-heading{padding:13px 20px;border:2px solid #d5b082;border-radius:18px;background:linear-gradient(100deg,#352446,#563360 55%,#352446);box-shadow:inset 0 2px #ffedd64d,0 5px 18px #10092080;position:relative}.battle-heading h2{font-family:Georgia,Microsoft JhengHei,serif;font-size:27px;color:#fff0d8;letter-spacing:3px;text-shadow:0 2px #241235}.battle-heading .eyebrow{color:#eac9a6}.battle-heading .gold{background:#21152c;padding:6px 17px;border:1px solid #e4bf83;border-radius:12px;color:#ffe1a0;font-weight:700}.battle-heading .health{color:#ff9cb9;text-shadow:0 0 12px #ff7d9466}.battle-heading button{border-color:#d5b082;background:linear-gradient(#674670,#34283e);box-shadow:inset 0 1px #f7dca444}.canvas-host{border:3px solid #d4b28c;box-shadow:0 0 0 3px #47304d,0 0 0 5px #a17b9a,inset 0 0 25px #352643,0 12px 30px #130e2188;border-radius:18px;touch-action:none}.arena-layout{grid-template-columns:minmax(0,1fr) 258px;gap:22px}.battle-footer{padding:13px 4px 10px;color:#ddc8df;font-size:11px}.battle-panel{background:linear-gradient(150deg,#f5e4cf,#e7cfb8);color:#4d315e;border:3px solid #d4ad76;border-radius:19px;box-shadow:inset 0 0 0 3px #fff6e780,0 8px 22px #120a2088;padding:23px 20px}.battle-panel .eyebrow{color:#95704f}.battle-panel h2{font-family:Georgia,Microsoft JhengHei,serif;color:#44285b;text-align:center;font-weight:700;letter-spacing:3px;border-bottom:1px solid #a584a16b;padding-bottom:10px;margin-bottom:10px}.battle-panel p{font-size:13px}.battle-panel .muted{color:#876d89}.battle-panel dd{color:#794f80;font-weight:700}.battle-panel dt{color:#79617c}.battle-panel .notice{color:#8c5d42}.battle-panel button{background:linear-gradient(#9470b5,#62437d);color:#fff4ec;border-color:#ad83b3;box-shadow:inset 0 1px #f6d3ff66}.battle-panel .primary{background:linear-gradient(#a16bd6,#6d36a8);border-color:#edc778;box-shadow:inset 0 0 0 1px #e6b9ff55,0 3px 6px #613f6b33}.battle-panel button:disabled{opacity:.44}.summon-bar{padding:10px;gap:9px;border:2px solid #d4ae7c;border-radius:18px;background:linear-gradient(#4e355e,#2a213c);box-shadow:inset 0 0 0 3px #79617b,0 8px 20px #0e091d55}.summon-bar .tower-card{touch-action:none;user-select:none;-webkit-user-select:none;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#6a488a,#302340 80%);border:1px solid #c6a1cb;border-radius:12px;gap:0;padding:0 4px 6px;box-shadow:inset 0 0 0 2px #e6c1dd12}.summon-bar .tower-card.chosen{background:radial-gradient(ellipse at 50% 35%,#9261b7,#4b3268 80%);border-color:#ffe6ac;box-shadow:inset 0 0 0 1px #f3d6b4,0 0 13px #e7bdff44}.summon-bar .tower-card:hover{transform:none}.tower-card img{width:80px;height:78px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 5px #1b102b);-webkit-user-drag:none}.summon-bar .tower-card .card-name{font-size:13px;color:#fff2e4;line-height:1.5;text-shadow:0 2px #312047}.tower-card small{font-weight:600;color:#ffda87}.tower-large{height:130px}.tower-large img{width:140px;height:140px;margin:auto;display:block;filter:drop-shadow(0 6px 7px #8f668a77)}.guide-illustration{text-align:center}.guide-illustration img{width:126px;height:126px;margin:0 auto 10px;filter:drop-shadow(0 0 12px #b183d677)}.deck-art{width:45px;height:45px}.skin-art img{width:120px;height:120px;display:block;margin:auto}.tier1 img{filter:sepia(.25) hue-rotate(300deg)}.tier2 img{filter:sepia(.65) saturate(1.3)}.tier3 img{filter:drop-shadow(0 0 14px #d9a7ff)}.drag-ghost{position:fixed;z-index:80;width:72px;height:78px;transform:translate(-50%,-65%);pointer-events:none;filter:drop-shadow(0 6px 9px #17102c88)}.drag-ghost img{width:72px;height:78px;opacity:.88}.drag-ghost:before{content:"";position:absolute;left:-9px;right:-9px;top:22px;height:58px;border-radius:50%;background:#8ae6ff33;border:2px solid #acf3ff;z-index:-1}.drag-ghost.invalid:before{background:#ff335b55;border-color:#ff476c;box-shadow:0 0 17px #ff345577}.drag-ghost span{display:block;position:absolute;white-space:nowrap;left:50%;transform:translate(-50%);bottom:-19px;background:#2b2146e8;padding:3px 10px;border:1px solid #9acde0;border-radius:9px;font-size:12px;color:#e8fcff}.drag-ghost.invalid span{color:#ffd6e2;border-color:#ff637f}@media(max-width:1000px){.arena-layout{grid-template-columns:minmax(0,1fr) 210px;gap:15px}.battle-heading{padding:10px 12px}.battle-heading h2{font-size:22px}.battle-panel{padding:15px}.tower-card img{height:63px;width:65px}.summon-bar .tower-card .card-name{font-size:11px}}@media(max-width:650px){.battle-page{padding:12px}.arena-layout{grid-template-columns:1fr}.battle-heading h2{font-size:22px}.tower-card img{height:51px;width:53px}.summon-bar{gap:5px;padding:6px}.summon-bar .tower-card .card-name{font-size:10px}.battle-panel{padding:20px}.guide-illustration img{width:80px;height:80px}}@media(max-height:500px)and (orientation:landscape){.battle-page{padding:8px}.battle-heading{padding:6px 10px;border-radius:12px}.battle-heading h2{font-size:17px;letter-spacing:1px}.arena-layout{grid-template-columns:minmax(0,1fr) 186px;gap:12px}.battle-panel{padding:11px}.battle-panel .guide-illustration,.battle-panel .tower-large{display:none}.battle-panel h2{font-size:17px;padding-bottom:6px;margin-bottom:8px}.battle-panel p{font-size:11px}.battle-panel dl{font-size:11px;gap:3px;margin-bottom:8px}.battle-panel button{padding:8px 5px}.tower-card img{height:48px;width:50px}.summon-bar .tower-card .card-name{font-size:10px}.summon-bar{padding:6px;gap:5px}.battle-heading .gold{padding:4px 8px;font-size:19px}}body:has(.campaign-page)>#root>header{height:72px;padding:10px 3%;flex-wrap:nowrap}body:has(.campaign-page)>#root>footer,body:has(.battle-page)>#root>header,body:has(.battle-page)>#root>footer{display:none}.campaign-page{height:calc(100dvh - 72px);display:flex;flex-direction:column;padding:14px 24px 20px;overflow:hidden}.campaign-toolbar{display:flex;align-items:center;gap:24px;min-height:72px}.campaign-toolbar h1{font-size:27px;margin:0}.campaign-toolbar small{font-size:9px;letter-spacing:2px;color:#d1b98a}.campaign-toolbar>span{margin-left:auto;font-size:13px}.campaign-world{flex:1;min-height:0;position:relative;overflow:hidden;border:1px solid #a99175;border-radius:20px;background:radial-gradient(ellipse at 65% 40%,#a1a4bf35,transparent 65%),linear-gradient(140deg,#203a42,var(--chapter),#242440)}.chapter-tabs{position:absolute;z-index:3;top:7%;left:2%;width:19%;display:grid;gap:10px}.chapter-tabs button{text-align:left;padding:13px;font-size:13px;background:#211e3cdd;border-color:#9e8aad70}.chapter-tabs .active{border-color:#f1d19a;background:linear-gradient(90deg,#674585,#362541)}.journey-heading{position:absolute;left:25%;top:5%;z-index:2;pointer-events:none;text-shadow:0 2px 12px #17152a}.journey-heading h2{font-size:31px;margin:6px 0}.journey-heading small{font-size:10px;letter-spacing:3px;color:#e4d4af}.journey-heading p{font-size:13px}.journey-map{position:absolute;inset:0 2% 0 22%}.journey-road{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.journey-road path{fill:none;stroke-linecap:round}.river{stroke:#347d9c66;stroke-width:150;filter:drop-shadow(0 0 20px #b7a0ed55)}.trail{stroke:#b6a9c2;stroke-width:20}.trail-dots{stroke:#ffe0a3;stroke-width:2;stroke-dasharray:4 12}.journey-tree{position:absolute;pointer-events:none;opacity:.72;filter:drop-shadow(0 5px 3px #14253244)}.stage-node{position:absolute;z-index:2;transform:translate(-50%,-50%);padding:0;min-width:65px;background:#312b47;border:2px solid #afa5ba;border-radius:22px;box-shadow:0 4px 10px #1b2338;line-height:1.4}.stage-node:hover:not(:disabled){transform:translate(-50%,-50%)}.stage-node b{font-size:19px;display:block;padding:6px 14px}.stage-node img{position:absolute;bottom:100%;width:75px;height:75px;left:50%;transform:translate(-50%);pointer-events:none}.stage-node span{position:absolute;white-space:nowrap;left:50%;transform:translate(-50%);top:calc(100% + 7px);font-size:12px;text-shadow:0 2px 3px #212036}.stage-node.selected{background:#9271ba;border-color:#ffe6ac;box-shadow:0 0 28px #d9a0ff}.stage-node.complete{border-color:#ffdc90}.stage-node.complete span{color:#ffe1a2}.journey-detail{position:absolute;z-index:3;right:3%;bottom:5%;width:26%;padding:22px;background:linear-gradient(140deg,#453151f5,#242037f5);border:1px solid #c1a578;border-radius:16px}.journey-detail small{font-size:11px;letter-spacing:2px}.journey-detail h2{font-size:24px;margin:10px 0}.journey-detail p{font-size:13px;color:#d0c2db}.journey-detail button{width:100%;font-size:14px}.battle-page{height:100dvh;max-width:none;margin:0;padding:8px max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:6px;overflow:hidden}.battle-heading{flex:0 0 64px;padding:6px 16px;margin:0;gap:12px;border-radius:13px;justify-content:space-between;flex-wrap:nowrap}.battle-heading h2{font-size:20px;margin:0;letter-spacing:1px}.battle-heading .eyebrow{font-size:9px;margin:0}.battle-heading>div{width:auto}.battle-heading button{padding:8px 12px;font-size:13px;white-space:nowrap}.battle-heading>span{font-size:14px;white-space:nowrap}.battle-heading .gold{padding:4px 12px;font-size:18px}.arena-layout{display:block;position:relative;flex:1;min-height:0}.arena-layout>div:first-child{height:100%;display:flex;flex-direction:column;align-items:center;gap:4px}.canvas-host{flex:1;width:100%;height:0;min-height:0;aspect-ratio:auto;background:#1c2233;border:1px solid #bc9d79;border-radius:12px;box-shadow:none;overflow:hidden}.canvas-host canvas{display:block}.battle-footer{flex:0 0 20px;font-size:10px;padding:0 8px;margin:0;display:flex;gap:12px;justify-content:space-between;width:100%}.battle-footer>span:first-child:empty{display:none}.summon-bar{flex:0 0 86px;width:min(100%,1000px);margin:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:5px;gap:8px;border-width:1px;border-radius:12px;box-shadow:none}.summon-bar .tower-card{display:grid;grid-template-columns:50% 50%;grid-template-rows:1fr 1fr;align-items:center;padding:3px 6px;min-width:0}.tower-card img{grid-row:1/3;width:64px;height:64px;max-width:100%}.summon-bar .tower-card .card-name{font-size:12px;align-self:end;white-space:nowrap}.tower-card small{font-size:11px;align-self:start}.battle-panel{display:none;position:absolute;z-index:70;right:12px;top:8px;width:280px;max-height:calc(100% - 105px);overflow:auto;padding:18px;box-shadow:0 8px 60px #120920b0}.battle-panel.open{display:block}.panel-close{float:right;min-width:44px}.battle-panel .eyebrow,.battle-panel .guide-illustration,.battle-panel .tower-large{display:none}.battle-panel h2{font-size:20px;letter-spacing:0;padding-top:8px}.battle-panel p,.battle-panel dl{font-size:12px;margin:8px 0}.battle-panel button{min-height:44px;margin-top:4px}.battle-panel .panel-close{margin:0;width:auto}.drag-ghost:before{display:none}.rotate{display:none}.modal{max-height:calc(100dvh - 24px);overflow:auto}.modal-backdrop{padding:12px}@media(max-width:1000px){body:has(.campaign-page)>#root>header nav{order:0;width:auto;margin-left:auto}.campaign-page{padding:8px 12px 12px}.chapter-tabs{width:21%}.chapter-tabs button{font-size:11px;padding:9px}.journey-heading h2{font-size:25px}.journey-detail{padding:16px}.battle-heading{gap:7px;padding:5px 8px;flex-basis:54px}.battle-heading h2{font-size:15px}.battle-heading>span{font-size:12px}.battle-heading button{padding:5px 8px;font-size:11px}.battle-heading .gold{font-size:14px;padding:3px 6px}}@media(max-height:500px)and (orientation:landscape){.battle-page{padding-top:3px;padding-bottom:3px;gap:3px}.battle-heading{flex-basis:44px;border-radius:8px}.battle-heading .eyebrow{display:none}.battle-heading button{min-height:40px}.battle-heading h2{font-size:13px}.battle-footer{display:none}.summon-bar{flex-basis:60px;width:min(100%,760px);padding:3px;gap:5px}.summon-bar .tower-card{padding:1px 4px;border-radius:7px}.tower-card img{width:46px;height:46px}.summon-bar .tower-card .card-name,.tower-card small{font-size:10px}.battle-panel{max-height:calc(100% - 64px);width:260px;top:0;padding:12px}.battle-panel p,.battle-panel dl{font-size:11px}.battle-panel button{display:inline-block;padding:5px 9px}.battle-panel .muted{display:none}.campaign-toolbar{min-height:52px}.campaign-toolbar h1{font-size:20px}.campaign-page{height:calc(100dvh - 50px)}body:has(.campaign-page)>#root>header{height:50px}.chapter-tabs{gap:3px;top:3%}.chapter-tabs button{padding:2px 8px;min-height:29px}.journey-detail p{display:none}.journey-detail{padding:10px}.journey-detail h2{font-size:18px}.stage-node img{width:48px;height:48px}.journey-heading{top:3%}.journey-heading h2{font-size:19px}.journey-heading p{font-size:10px}}@media(max-width:650px)and (orientation:portrait){body:has(.campaign-page)>#root>header{height:94px;flex-wrap:wrap;gap:4px;padding:5px 12px}body:has(.campaign-page)>#root>header .brand{font-size:13px}body:has(.campaign-page)>#root>header .brand-icon{font-size:26px}body:has(.campaign-page)>#root>header .brand small{display:none}body:has(.campaign-page)>#root>header nav{order:3;width:100%;justify-content:space-between}body:has(.campaign-page)>#root>header nav button{font-size:11px;padding:4px 8px;min-height:36px}.campaign-page{height:calc(100dvh - 94px)}.campaign-toolbar{gap:8px;min-height:65px}.campaign-toolbar h1{font-size:20px}.campaign-toolbar small{display:none}.campaign-toolbar>span{font-size:10px}.campaign-toolbar button{font-size:11px;padding:6px 9px}.chapter-tabs{top:10px;left:3%;width:94%;grid-template-columns:repeat(3,1fr);gap:5px}.chapter-tabs button{font-size:10px;padding:5px 3px;min-height:40px;white-space:nowrap}.journey-heading{top:105px;left:6%}.journey-heading h2{font-size:21px}.journey-heading p{font-size:10px}.journey-map{inset:140px 0 125px}.stage-node{min-width:44px}.stage-node b{font-size:14px;padding:4px 8px}.stage-node img{width:48px;height:48px}.stage-node span{font-size:10px}.journey-detail{left:4%;right:4%;width:auto;bottom:12px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;align-items:center}.journey-detail h2{font-size:18px;margin:0}.journey-detail small{font-size:10px}.journey-detail p{display:none}.journey-detail button{grid-column:2;grid-row:1/3;font-size:12px}.battle-heading{flex-wrap:wrap;flex-basis:auto}.battle-heading h2{font-size:16px}.battle-heading>div{width:auto}.battle-heading .wave-action{margin-left:auto}.rotate{display:block;text-align:center;font-size:12px;padding:8px;color:#f3d4a1}.summon-bar{flex-basis:85px;gap:4px}.summon-bar .tower-card{display:flex;flex-direction:column;padding:3px;gap:0}.tower-card img{width:38px;height:38px}.summon-bar .tower-card .card-name{font-size:10px;align-self:center}.tower-card small{align-self:center}.battle-footer{display:none}.battle-panel{max-height:calc(100% - 90px);width:260px}.canvas-host{flex:1}}.battle-notice{position:absolute;z-index:55;left:50%;bottom:115px;transform:translate(-50%);max-width:85%;padding:5px 12px;border-radius:14px;background:#201a39e8;color:#f8e2b4;font-size:11px;pointer-events:none}.battle-notice:empty{display:none}.modal-backdrop{z-index:100}@media(max-height:500px)and (orientation:landscape){.battle-notice{bottom:66px;font-size:10px;padding:3px 10px}}.wave-progress{height:5px;flex:0 0 5px;background:#67548055;overflow:hidden;border-radius:3px}.wave-progress>div{height:100%;background:linear-gradient(90deg,#75bedd,#d3a6f7,#f7d39a);transition:width .25s}.quiz-purpose{font-size:14px;line-height:1.7;color:#eed3a2;background:#b88bd012;border-left:3px solid #c7a7ea;padding:10px 14px}.canvas-host{background:radial-gradient(ellipse,#39304f,#181827)}.campaign-world{background-size:cover;background-position:center;background-color:#20283b}.journey-heading{background:linear-gradient(100deg,#18152ac9,transparent);padding:15px 24px;border-radius:8px;left:23%;top:3%}.journey-heading h2{color:#fff0d4;text-shadow:0 2px 8px #121025}.journey-heading p{color:#eee2f5}.journey-road .trail{stroke:#e5d2aa;stroke-width:9;filter:drop-shadow(0 2px 4px #20132daa);opacity:.85}.journey-road .trail-dots{stroke:#fff3cd;stroke-width:2;stroke-dasharray:3 10}.chapter-tabs button{background-color:#201c35ed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.journey-detail{background:linear-gradient(140deg,#392c4aee,#161a2dee);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.stage-node{background:#29253cf0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.stage-node img{width:90px;height:90px;object-fit:contain;filter:drop-shadow(0 4px 8px #150f2b)}.stage-node.selected{box-shadow:0 0 22px #f2caff99}.stage-node.selected img{width:105px;height:105px}.hero-art .orbit,.hero-art .crystal,.hero-art .pedestal,.hero-art .floating-note,.hero-art .star{display:none}.hero-painted{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:40% 40% 18px 18px;box-shadow:0 10px 80px #b992e444;-webkit-mask-image:linear-gradient(black 80%,transparent);mask-image:linear-gradient(black 80%,transparent)}.art-caption{z-index:2;text-shadow:0 2px 8px #161023}.home{min-height:calc(100dvh - 170px)}.hero-art{height:min(60vh,560px)}.canvas-host{background-image:linear-gradient(#17172cc9,#17172ce6),var(--scenery);background-size:cover;background-position:center}.battle-panel .tower-large{display:block;height:90px}.tower-large img{width:90px;height:90px}.tower-card img{object-fit:contain}.battle-panel h2{letter-spacing:1px}.skin-art img{width:150px;height:150px;object-fit:contain}.deck-art{object-fit:contain}.modal.story{background-image:linear-gradient(#241b36dd,#241b36ee),url(/art/painted/chapter-0.webp);background-size:cover}@media(max-height:500px)and (orientation:landscape){.arena-layout>div:first-child{display:grid;grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:minmax(0,1fr);gap:6px;align-items:stretch}.canvas-host{height:100%;width:100%;min-width:0}.summon-bar{height:100%;width:104px;grid-template-columns:1fr;grid-template-rows:repeat(6,minmax(0,1fr));padding:3px;gap:3px}.summon-bar .tower-card{display:grid;grid-template-columns:44% 56%;min-height:44px;padding:1px 2px}.summon-bar .tower-card img{height:42px;width:42px}.summon-bar .tower-card .card-name{font-size:10px}.battle-notice{bottom:8px;left:calc((100% - 110px)/2);max-width:65%}.battle-panel{right:114px;max-height:100%;width:250px}.battle-panel .tower-large{display:none}.stage-node img,.stage-node.selected img{width:44px;height:44px}.journey-heading{padding:5px 12px}.journey-heading p{margin:0}.hero-art{height:230px}}@media(max-width:650px)and (orientation:portrait){.journey-heading{left:4%;top:102px;padding:8px 12px}.stage-node img{width:48px;height:48px}.stage-node.selected img{width:58px;height:58px}.campaign-world{background-position:60% center}.hero-painted{border-radius:18px}}.canvas-host{position:relative}.game-loading{position:absolute;inset:0;z-index:60;background:#201b35ed;display:flex;align-items:center;justify-content:center;color:#eed6a5;font-size:14px;text-align:center;padding:20px;touch-action:none}.canvas-host[data-ready=true] .game-loading{display:none}.campaign-world{display:grid;grid-template-columns:190px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:16px;background:#211d33}.journey-heading{position:static;grid-column:1;grid-row:1;padding:4px;background:none}.journey-heading h2{font-size:23px}.journey-heading p{font-size:11px;margin:4px 0}.chapter-tabs{position:static;width:auto;grid-column:1;grid-row:2;align-self:start;gap:7px}.chapter-tabs button{font-size:12px;padding:9px}.journey-detail{position:static;grid-column:1;grid-row:3;width:auto;padding:12px}.journey-detail h2{font-size:19px;margin:5px 0}.journey-detail p{font-size:11px;margin:6px 0}.journey-detail button{font-size:12px;padding:8px}.journey-frame{grid-column:2;grid-row:1/4;min-width:0;min-height:0;container-type:size;display:flex;align-items:center;justify-content:center}.journey-map{position:relative;inset:auto;width:min(100cqw,150cqh);height:auto;aspect-ratio:3/2;flex:none;background-size:100% 100%;border-radius:14px;box-shadow:0 0 35px #08071980;overflow:visible}.journey-road .trail{stroke:#3d304b;stroke-width:8;opacity:.85}.journey-road .trail-dots{stroke:#ffe4b3;stroke-width:2;stroke-dasharray:6 7}.stage-node{min-width:44px;min-height:44px;border-radius:50%;border-color:#dfccaa;background:#53435eee;box-shadow:0 3px 8px #17112899}.stage-node b{font-size:14px;padding:6px}.stage-node span{font-size:11px;top:100%;padding:2px 5px;border-radius:5px;background:#231a3999}.stage-node.selected{background:#876094;border-color:#ffedb3;box-shadow:0 0 18px #f7d8ad}.stage-node img{display:none}.canvas-host canvas{object-fit:contain}.battle-page{background:linear-gradient(#201a34e8,#141726e8),var(--scenery);background-size:cover}.canvas-host{border:2px solid #c1a078;box-shadow:0 3px #5e485f,0 8px 18px #0b0b20aa}@media(max-height:500px)and (orientation:landscape){.campaign-toolbar{min-height:42px}.campaign-world{grid-template-columns:158px minmax(0,1fr);gap:6px;padding:7px}.journey-heading{padding:0}.journey-heading small,.journey-heading p,.journey-detail p,.journey-detail small{display:none}.journey-heading h2{font-size:17px;margin:0}.chapter-tabs{gap:2px}.chapter-tabs button{min-height:26px;padding:2px 5px;font-size:10px}.journey-detail{padding:5px}.journey-detail h2{font-size:13px;margin:2px}.journey-detail button{min-height:36px;padding:3px}.stage-node{min-width:44px;min-height:44px}.stage-node b{font-size:12px;padding:4px}.stage-node span{font-size:9px}.journey-detail{display:block}.battle-heading{flex-shrink:0}}@media(max-width:650px)and (orientation:portrait){.campaign-world{display:flex;flex-direction:column;padding:9px;gap:8px}.chapter-tabs{display:grid;grid-template-columns:repeat(3,1fr);order:0;align-self:stretch;gap:4px}.chapter-tabs button{font-size:10px;min-height:40px;padding:4px 1px}.journey-heading{order:1;flex:none;padding:0}.journey-heading small,.journey-heading p{display:none}.journey-heading h2{font-size:19px;margin:0}.journey-frame{order:2;flex:1;min-height:0}.journey-detail{order:3;flex:none;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:9px}.journey-detail h2{font-size:17px}.journey-detail small{font-size:9px}.journey-detail button{grid-column:2;grid-row:1/3}.journey-detail p{display:none}.stage-node span{font-size:9px}.stage-node b{font-size:12px}.stage-node{min-width:44px;min-height:44px}}@media(max-height:500px)and (orientation:landscape){.campaign-world{grid-template-columns:220px minmax(0,1fr);grid-template-rows:22px minmax(0,1fr) 58px}.chapter-tabs{grid-template-columns:1fr 1fr;gap:3px}.chapter-tabs button{min-height:44px;font-size:10px;padding:2px}.journey-detail{height:58px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3px}.journey-detail button{min-height:44px;font-size:11px}}
