.system-layer{position:absolute;inset:0;z-index:95;display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;background:#0007;isolation:isolate;overscroll-behavior:contain}.system-layer[hidden],.system-confirm-layer[hidden]{display:none}.system-window{position:relative;isolation:isolate;box-sizing:border-box;width:min(760px,calc(100% - 20px));height:min(460px,calc(100% - 20px));padding:68px 36px 30px;display:grid;grid-template-rows:28px 28px minmax(0,1fr) 30px;gap:10px;color:#e5d5b0;font:13px/1.5 'Microsoft JhengHei',sans-serif}.system-skin{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}.system-window :is(h2,h3,h4,p,ul){margin:0}.system-window button{box-sizing:border-box;min-width:0;min-height:26px;border:1px solid #74674a;border-radius:0;box-shadow:none;background:#191d17;color:#e6d3a3;padding:3px 9px;font:inherit;line-height:19px;text-shadow:0 1px 2px #000}.system-window button:hover:not(:disabled){color:#ffe9b3;border-color:#d3b56b;background:#363321}.system-window button[aria-pressed=true]{border-color:#d5b464;background:#3e3820;color:#ffdf93}.system-window button:disabled{opacity:.5;cursor:default}.system-window :is(button,input):focus-visible{outline:1px solid #ffe2a1;outline-offset:2px}.system-window .system-title{position:absolute;top:28px;left:48px;right:48px;height:24px;font:18px/24px 'DFKai-SB','PMingLiU',serif;color:#f1d79b;text-align:center;background:transparent;text-shadow:0 2px 2px #000}.system-window .system-close{position:absolute;right:19px;top:14px;width:21px;height:21px;min-height:21px;padding:0;line-height:19px;font-size:18px}.system-tabs{display:flex;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:thin}.system-tabs button{flex:1;white-space:nowrap;padding:3px 5px}.system-toolbar{display:flex;align-items:center;gap:8px;min-width:0}.system-window input{box-sizing:border-box;min-width:0;max-width:100%;height:26px;border:1px solid #74674a;border-radius:0;background:#10140f;color:#f1e8cf;box-shadow:none;padding:3px 8px;font:13px/18px 'Microsoft JhengHei',sans-serif}.system-toolbar input{flex:1;max-width:340px}.system-toolbar button{flex:none;min-width:54px}.system-summary{min-width:0;flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c6b68e;font-size:12px}.system-body{display:grid;grid-template-columns:104px minmax(200px,1fr) 236px;gap:12px;min-height:0}.system-groups{overflow-y:auto;overflow-x:hidden;min-height:0;border:1px solid #62563c;padding:4px;display:flex;flex-direction:column;gap:4px;scrollbar-width:thin;overscroll-behavior:contain}.system-groups button{flex:none;min-height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 4px}.system-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:80px;gap:6px;align-content:start;overflow-y:auto;overflow-x:hidden;padding:2px 4px 2px 2px;scrollbar-width:thin;overscroll-behavior:contain}.system-window .system-tile{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:4px 3px}.system-tile img{width:44px;height:44px;object-fit:contain;flex:none}.system-placeholder{height:44px;line-height:44px;font-size:26px;color:#a18d60}.system-item-name{display:block;width:100%;min-width:0;max-height:28px;overflow:hidden;text-overflow:ellipsis;text-align:center;font-size:11px;line-height:14px}.system-empty{grid-column:1/-1;color:#c6bda6;padding:18px 10px;text-align:center;overflow-wrap:anywhere}.system-detail{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;min-height:0;min-width:0;border:1px solid #62563c;padding:9px;background:#11160b80}.system-detail-title{font:bold 16px/24px 'Microsoft JhengHei UI','Microsoft JhengHei','微軟正黑體',sans-serif;color:#f3d99b;text-align:center;overflow-wrap:anywhere;max-height:48px;overflow:auto}.system-detail-scroll{min-height:0;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;overflow-wrap:anywhere}.system-detail-scroll p{white-space:pre-wrap;margin:0 0 9px}.system-attributes,.system-materials{list-style:none;padding:0;margin:0}.system-attributes+.system-materials{margin-top:4px}.system-attributes li{padding:2px 1px;border-bottom:1px solid #7d70402e}.system-detail h4{margin-top:9px;font-size:12px;color:#d4bf8a}.system-materials li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;font-size:12px;padding:2px 0}.system-materials li span:last-child{color:#e4c782;text-align:right;font-variant-numeric:tabular-nums}.system-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.system-actions button{padding:3px 2px;font-size:12px;white-space:normal}.system-footer{display:grid;grid-template-columns:minmax(0,1fr) 42px 68px 42px;gap:8px;align-items:center;min-height:0}.system-message{overflow:auto;max-height:30px;font-size:12px;line-height:15px;color:#e5d1a3;overflow-wrap:anywhere;scrollbar-width:thin}.system-page{text-align:center;font-size:12px;font-variant-numeric:tabular-nums}.system-window .system-footer button{min-height:25px;font-size:20px;line-height:20px}.system-confirm-layer{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#0009}.system-confirm{position:relative;isolation:isolate;box-sizing:border-box;width:min(360px,calc(100% - 48px));padding:66px 24px 28px;display:grid;gap:12px;max-height:calc(100% - 28px)}.system-confirm-title{position:absolute;top:28px;left:24px;right:24px;text-align:center;color:#efd495;font:17px/24px 'DFKai-SB','PMingLiU',serif}.system-confirm-text{white-space:pre-wrap;text-align:center;max-height:100px;overflow:auto;overflow-wrap:anywhere}.system-confirm input{width:136px;justify-self:center;text-align:center}.system-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.system-confirm-error{color:#f3a28d;font-size:12px;text-align:center}.system-utility{box-sizing:border-box;width:22px;height:22px;min-height:22px;padding:2px;border:1px solid #8c743f;background:#151a14;color:#edcd83;display:inline-grid;place-items:center}.system-utility svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.system-utility:disabled{opacity:.45}@media(max-width:650px){.system-window{padding-left:32px;padding-right:32px}.system-body{grid-template-columns:78px minmax(120px,1fr) 180px;gap:8px}.system-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.system-summary{display:none}.system-detail{padding:6px}.system-actions{grid-template-columns:1fr}}@media(max-width:480px){.system-body{grid-template-columns:66px minmax(80px,1fr) 148px;gap:5px}.system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.system-toolbar{gap:5px}.system-toolbar button{min-width:44px;padding:3px 5px}.system-window{padding-left:28px;padding-right:28px}.system-footer{grid-template-columns:minmax(0,1fr) 30px 52px 30px;gap:5px}}.system-window button.designed-action{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:transparent;border:0;min-height:28px;padding:4px 8px;overflow:hidden}.system-window button.designed-action svg{width:13px;height:13px;flex:none}.system-window button.designed-action .action-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-window button.designed-action .action-button-skin{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}.system-window button.designed-action:hover:not(:disabled){background:transparent;filter:brightness(1.2)}.system-window:is([data-feature="astrolabe"],[data-feature="pattern"]) .system-body{position:relative;isolation:isolate;grid-template-columns:minmax(0,1fr) 236px;overflow:hidden;background:#061320;border:1px solid #30424c}.system-window:is([data-feature="astrolabe"],[data-feature="pattern"]) .system-body::before{content:"";position:absolute;inset:-12px;z-index:-1;background:url('/ui/systems380/starfield.png') center/cover;opacity:.8;animation:system-nebula-drift 28s ease-in-out infinite alternate;pointer-events:none;will-change:transform}.system-layer[hidden] .system-body::before{animation-play-state:paused}.system-window:is([data-feature="astrolabe"],[data-feature="pattern"]) .system-groups{display:none}.system-window:is([data-feature="astrolabe"],[data-feature="pattern"]) .system-detail{background:#061019b3;border:0;border-left:1px solid #51606477}.system-progress-summary{display:block;text-align:right}.system-toolbar>[hidden]{display:none!important}.system-grid.system-constellation{position:relative;display:block;overflow:auto;padding:0;min-width:0;scrollbar-width:thin;scrollbar-color:#788a8e #03101c;overscroll-behavior:contain}.system-constellation-board{position:relative;min-width:100%;min-height:100%}.system-constellation-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.system-constellation-lines path{fill:none;stroke:#626864;stroke-width:2.5;stroke-linecap:round}.system-constellation-lines .lit{stroke:#dfd59b;filter:drop-shadow(0 0 3px #b6cf8f)}.system-window .system-star-node{position:absolute;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;border-radius:50%;overflow:visible;color:#d5c193;font-size:28px;line-height:40px}.system-window .system-star-node:hover:not(:disabled){background:transparent;filter:brightness(1.3)}.system-star-node img{display:block;width:44px;height:44px;object-fit:cover;border-radius:50%}.system-window .system-star-node[aria-pressed=true]{outline:2px solid #e9d593;outline-offset:3px;background:transparent}.system-star-node[data-owned=true]{filter:drop-shadow(0 0 4px #ddd59880)}.system-star-node[data-available=false]{opacity:.62}.system-star-node small{position:absolute;top:45px;left:-10px;right:-10px;font:10px/15px 'Microsoft JhengHei',sans-serif;text-shadow:0 1px 2px #000;text-align:center;color:#c4bfae;white-space:nowrap}.system-grid.system-pattern-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;overflow:hidden;padding:10px;position:relative;min-width:0}.system-pattern-wheel{display:block;width:min(230px,100%);height:min(224px,calc(100% - 30px));object-fit:contain;mix-blend-mode:screen;mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 9%,#000 91%,transparent);mask-composite:intersect;filter:drop-shadow(0 0 14px #57b6dc38)}.system-pattern-level{font:15px/24px 'DFKai-SB','PMingLiU',serif;color:#dce8ef;text-align:center;text-shadow:0 2px 3px #000}@keyframes system-nebula-drift{from{transform:translate3d(-5px,-2px,0) scale(1.02)}to{transform:translate3d(5px,3px,0) scale(1.045)}}@media(prefers-reduced-motion:reduce){.system-window .system-body::before{animation:none;will-change:auto}}@media(max-width:650px){.system-window:is([data-feature="astrolabe"],[data-feature="pattern"]) .system-body{grid-template-columns:minmax(0,1fr) 180px}}@media(max-width:480px){.system-window:is([data-feature="astrolabe"],[data-feature="pattern"]) .system-body{grid-template-columns:minmax(0,1fr) 148px}}.system-window[data-feature="pattern"] .system-body::before{background-image:url("/ui/systems380/pattern-field.png");animation:none;will-change:auto;inset:0;opacity:1}.system-token-layer{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#0009}.system-token-layer[hidden]{display:none}.system-token-panel{position:relative;isolation:isolate;box-sizing:border-box;width:min(430px,calc(100% - 48px));max-height:calc(100% - 24px);padding:68px 28px 28px;display:grid;grid-template-rows:minmax(0,1fr) 28px;gap:12px}.system-token-title{position:absolute;top:28px;left:32px;right:32px;text-align:center;color:#efd495;font:17px/24px 'DFKai-SB','PMingLiU',serif}.system-token-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:auto;max-height:190px;min-height:44px;scrollbar-width:thin;overscroll-behavior:contain}.system-window .system-token-choice{display:grid;grid-template-columns:32px minmax(0,1fr);gap:3px 7px;min-height:58px;padding:7px;text-align:left}.system-token-choice img{grid-row:1/3;width:32px;height:32px;object-fit:contain}.system-token-choice strong{grid-column:2;overflow-wrap:anywhere;font-size:12px;font-weight:normal}.system-token-choice span{grid-column:2;font-size:11px;color:#c3b794}.system-token-panel>button{width:120px;justify-self:center}.system-confirm-total{color:#efd495;font-size:12px;text-align:center;line-height:18px}.system-confirm-total[hidden]{display:none}.system-cards-layer{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:#0009}.system-cards-layer[hidden]{display:none}.system-cards-panel{position:relative;isolation:isolate;box-sizing:border-box;width:min(500px,calc(100% - 40px));height:min(354px,calc(100% - 24px));padding:68px 28px 28px;display:grid;grid-template-rows:auto minmax(0,1fr) 28px;gap:10px;min-height:0}.system-cards-title{position:absolute;top:28px;left:28px;right:28px;text-align:center;font:17px/24px 'DFKai-SB','PMingLiU',serif;color:#efd495}.system-cards-text{font-size:12px;line-height:18px;text-align:center;white-space:pre-wrap;overflow:auto;max-height:48px}.system-cards-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:80px;gap:6px;overflow:auto;min-height:0;scrollbar-width:thin;overscroll-behavior:contain;padding:2px}.system-window .system-card{display:grid;place-items:center;grid-template-rows:1fr 20px;padding:5px 2px;background:linear-gradient(125deg,#373020,#141c20 55%,#353020);border-color:#92805a}.system-card span{font-size:30px;line-height:34px;color:#dfc691;text-shadow:0 0 8px #cfad5c55}.system-card small{font-size:11px;white-space:nowrap}.system-cards-panel>button{width:120px;justify-self:center}.system-actions{min-height:0;max-height:86px;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;align-content:start;padding:1px 2px 1px 1px}@media(max-height:500px){.system-detail{gap:5px;padding:6px}.system-detail-title{font-size:13px;line-height:20px;max-height:20px}.system-actions{max-height:56px}.system-actions button{font-size:11px}.system-detail-scroll{font-size:12px}}.system-confirm[data-listing=true]{width:min(400px,calc(100% - 48px));grid-template-columns:100px minmax(0,1fr);gap:8px;padding-bottom:24px}.system-confirm[data-listing=true]>.system-confirm-text,.system-confirm[data-listing=true]>.system-confirm-total,.system-confirm[data-listing=true]>.system-confirm-error,.system-confirm[data-listing=true]>.system-confirm-actions{grid-column:1/-1}.system-confirm[data-listing=true]>.system-confirm-text{max-height:64px;font-size:12px;line-height:18px}.system-confirm[data-listing=true] input{width:100%;max-width:170px}.system-confirm[data-listing=true] label{align-self:center;justify-self:end;font-size:12px;color:#e1c991}.system-price-label[hidden],.system-quantity-label[hidden]{display:none}.system-window:is([data-feature="signin"],[data-feature="missions"]) .system-body{grid-template-columns:minmax(0,1fr) 236px}.system-window:is([data-feature="signin"],[data-feature="missions"]) .system-groups{display:none}.system-grid.system-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:20px;grid-auto-rows:minmax(30px,1fr);gap:4px;padding:6px;overflow:auto;background:#101712bb}.system-weekday{text-align:center;color:#d5c194}.system-window .system-calendar-day{display:flex;align-items:center;justify-content:space-between;gap:2px;min-height:30px;padding:3px 5px;white-space:nowrap}.system-calendar-day img{width:20px;height:20px;object-fit:contain}.system-calendar-day strong{font:13px/18px 'Microsoft JhengHei',sans-serif}.system-calendar-check{color:#a2dc9c}.system-window .system-calendar-day[data-today=true]{box-shadow:inset 0 0 0 1px #dfbe70}.system-grid.system-mission-board{display:flex;align-items:center;justify-content:center;padding:16px;background:linear-gradient(155deg,#2d3529aa,#0a100f);overflow:auto}.system-mission-banner{width:100%;min-width:0;text-align:center;display:grid;justify-items:center;gap:14px}.system-mission-symbol{width:48px;height:48px;fill:none;stroke:#d5b96d;stroke-width:1.2;filter:drop-shadow(0 1px 5px #bb994f55)}.system-mission-banner h3{font:20px/26px 'DFKai-SB','PMingLiU',serif;color:#ead398}.system-mission-name{font-size:15px;max-width:100%;overflow-wrap:anywhere}.system-mission-banner progress{width:80%;height:10px;appearance:none;border:1px solid #70603c;background:#0d130e}.system-mission-banner progress::-webkit-progress-bar{background:#0d130e}.system-mission-banner progress::-webkit-progress-value{background:linear-gradient(90deg,#86702c,#e9cf85)}.system-mission-progress{font-size:12px;color:#bcbda9}@media(max-width:650px){.system-window:is([data-feature="signin"],[data-feature="missions"]) .system-body{grid-template-columns:minmax(0,1fr) 180px}.system-window .system-calendar-day{padding:2px;justify-content:center}.system-calendar-day img{display:none}.system-grid.system-calendar{gap:2px;padding:3px}}@media(max-width:480px){.system-window:is([data-feature="signin"],[data-feature="missions"]) .system-body{grid-template-columns:minmax(0,1fr) 148px}}.system-layer{background:transparent}.system-window{background:transparent;box-shadow:none}.system-window button.designed-action{position:relative;isolation:isolate;display:inline-flex;justify-content:center;align-items:center;gap:4px;background:transparent;border:0;padding:3px 10px;overflow:hidden}.system-window button.designed-action[aria-pressed=true]{background:#b78b3929;box-shadow:inset 0 -2px #d6b96a}.system-window button.designed-action:hover:not(:disabled){background:transparent;filter:brightness(1.22)}.system-window button.designed-action svg{width:14px;height:14px;flex:none}.system-window button.designed-action i:not([data-lucide]),.system-window button.designed-action i[data-lucide="undefined"]{display:none}.system-window button.designed-action .action-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.system-materials li{grid-template-columns:22px minmax(0,1fr) auto;align-items:center}.system-materials img{width:22px;height:22px;object-fit:contain}.system-materials li span:last-child{font-variant-numeric:tabular-nums}.system-window{padding:70px min(50px,calc((100% - 20px)*.066)) 30px;grid-template-rows:28px 28px minmax(0,1fr) 30px}.system-tabs{gap:10px;align-items:center}.system-window .system-tabs button{flex:0 1 112px;min-width:0}.system-window button.designed-action{min-height:26px;padding:1px 10px;line-height:20px}.system-window .system-tabs button,.system-window .system-toolbar button,.system-window .system-footer button{height:26px;min-height:26px;align-self:center}.system-window .system-tabs button,.system-window .system-toolbar button,.system-window .system-groups button,.system-window .system-actions button{font-size:14px}.system-window .system-toolbar button{min-width:0;padding:1px 12px}.system-toolbar{gap:10px}.system-window .system-groups button{min-height:27px;width:calc(100% - 8px);align-self:center;padding:1px 6px}@media(min-width:651px){.system-body{grid-template-columns:116px minmax(200px,1fr) 236px}}.system-actions{column-gap:16px;padding-left:8px;padding-right:8px}.system-window .system-actions button{min-height:27px}.system-footer{grid-template-columns:minmax(0,1fr) 36px 68px 36px}.system-window .system-tile.system-tile-icon{justify-content:center;align-items:center;padding:4px}.system-tile.system-tile-icon img{width:48px;height:48px}.system-window[data-feature="pattern"] .system-body{grid-template-columns:min(244px,46%) minmax(0,1fr);background:#0a0d10}.system-window[data-feature="pattern"] .system-body::before{display:none}.system-grid.system-pattern-visual{padding:0;gap:0;border:1px solid #7c6a48;background:#0a0d10}.system-window[data-feature="pattern"] .system-pattern-wheel{width:100%;height:100%;object-fit:cover;mix-blend-mode:normal;mask-image:none;filter:none}.system-window[data-feature="pattern"] .system-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.system-materials-title{margin:6px 0 0;font-size:12px;color:#f1d79b}.system-constellation.system-constellation-art{overflow:auto;background:#080a0e}.system-art-board{position:relative;height:100%;width:auto;min-width:0;min-height:0}.system-art-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.system-window .system-star-node.system-art-node{width:auto;height:auto;min-height:0;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;outline:0;box-shadow:none}.system-window .system-star-node.system-art-node:hover:not(:disabled){filter:none;box-shadow:0 0 0 1px #f3d98a88}.system-window .system-star-node.system-art-node[aria-pressed=true]{outline:0;box-shadow:0 0 0 2px #f1d58c,0 0 9px #f1d58caa}.system-window .system-star-node.system-art-node[data-owned=true]{filter:none}.system-window .system-star-node.system-art-node[data-available=false]{opacity:1}.system-window .system-star-node.system-art-node[data-owned=false][data-available=true]:not([aria-pressed=true]){animation:astro-next 1.6s ease-in-out infinite}@keyframes astro-next{0%,100%{box-shadow:0 0 0 1px #f1d58c40}50%{box-shadow:0 0 0 2px #f1d58cc0,0 0 8px #f1d58c80}}.star-tip{position:absolute;z-index:7;box-sizing:border-box;width:236px;padding:8px 10px;background:#120f0cee;border:1px solid #d6c4a4;color:#fff;font:12px/18px 'Microsoft JhengHei',sans-serif;pointer-events:none;box-shadow:0 4px 12px #000a}.star-tip[hidden]{display:none}.star-tip h4{margin:0 0 4px;color:#f4a840;font:16px/22px 'DFKai-SB','PMingLiU',serif}.star-tip p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.star-gold{color:#f1d58c}.star-dim{color:#b8b4a8}.star-ok{color:#90dc8c}.star-short{color:#ff9a80}.system-detail.star-panel{display:flex;flex-direction:column;align-items:stretch;gap:4px;overflow:hidden}.system-window[data-feature="astrolabe"] :is(.system-tabs,.system-toolbar){padding-right:112px}.star-board-badge{position:absolute;top:58px;right:36px;width:96px;display:flex;flex-direction:column;align-items:center;pointer-events:none}.star-board-badge[hidden]{display:none}.star-emblem{width:64px;height:64px;align-self:center;object-fit:contain;flex:none}.star-board{text-align:center;margin:0;color:#f1d58c;font:15px/18px 'Microsoft JhengHei',sans-serif}@media(max-width:650px){.star-board-badge{top:60px;right:32px;width:80px}.star-emblem{width:52px;height:52px}.system-window[data-feature="astrolabe"] :is(.system-tabs,.system-toolbar){padding-right:92px}}@media(max-width:480px){.star-board-badge{right:28px;width:72px}.star-emblem{width:48px;height:48px}.star-board{font-size:13px}.system-window[data-feature="astrolabe"]{grid-template-rows:60px 28px minmax(0,1fr) 30px}.system-window[data-feature="astrolabe"] :is(.system-tabs,.system-toolbar){padding-right:84px}.system-window[data-feature="astrolabe"] .system-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,28px);gap:4px 5px;overflow:visible}}.star-rep{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:6px;align-items:center;font-size:12px}.star-rep-label{grid-column:1;color:#b8b4a8;font-size:11px}.star-rep strong{grid-column:1;color:#f1d58c;font-weight:400;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.star-rep strong.star-none{color:#8a877e}.system-window .star-rep .star-release{grid-column:2;grid-row:1/3;min-height:24px;height:24px;padding:0 10px;font-size:12px}.star-bonus-title{margin:0;font-size:12px;font-weight:400;color:#d4bf8a}.star-bonus-list{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;font-size:12px;line-height:18px}.star-bonus-list p{margin:0}.star-bonus-head{color:#f1d58c}.star-bonus-line{padding-left:12px;color:#dad4c0}.star-layer{z-index:6}.system-confirm.star-dialog{width:min(380px,calc(100% - 40px));gap:8px;padding-inline:36px}.star-dialog .system-confirm-actions{grid-template-columns:repeat(2,minmax(0,120px));justify-content:center;gap:20px}.star-dialog .system-confirm-actions.star-single{grid-template-columns:minmax(0,120px)}.star-head{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:center}.star-head>div{display:grid;gap:2px;min-width:0}.star-name{color:#f1d58c;font:15px/22px 'Microsoft JhengHei',sans-serif;overflow-wrap:anywhere}.star-node-icon{border-radius:50%;box-shadow:0 0 0 1px #968060}.star-rows{margin:0;display:grid;gap:1px;max-height:118px;overflow:auto;scrollbar-width:thin;border-top:1px solid #615639;padding-top:6px}.star-rows>div{display:grid;grid-template-columns:74px minmax(0,1fr);gap:4px;font-size:12px;line-height:19px}.star-rows dt{color:#d4bf8a}.star-rows dd{margin:0;color:#e8e2d2;overflow-wrap:anywhere}.star-foot p{margin:0;font-size:12px;line-height:20px}.star-cost{display:flex;align-items:center;gap:4px;color:#e5d1a3}.star-cost img{width:18px;height:18px;object-fit:contain}.system-confirm-actions.star-single{grid-template-columns:minmax(0,140px);justify-content:center}.star-cards{position:absolute;inset:0;z-index:1;box-sizing:border-box;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:6px;padding:56px 30px 28px;background:#060810f0}.star-cards-title{margin:0;text-align:center;color:#f1d58c;font:18px/26px 'DFKai-SB','PMingLiU',serif}.star-cards-hint{margin:0;text-align:center;font-size:12px;color:#e5d1a3;white-space:pre-wrap}.star-card-grid{display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:8px;min-height:0;overflow:auto;scrollbar-width:thin}.system-window .star-card{box-sizing:border-box;width:var(--card-w);min-height:0;height:calc(var(--card-w)*1.5);padding:0;border:0;background:transparent;border-radius:6px}.system-window .star-card:disabled{opacity:1}.system-window .star-card:hover:not(:disabled){background:transparent;filter:brightness(1.18)}.star-card img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.system-window .star-card.chosen{outline:2px solid #f1d58c;outline-offset:3px}.star-card img.star-flip{animation:star-flip .64s ease-in-out}@keyframes star-flip{0%{transform:scaleX(1)}50%{transform:scaleX(0)}100%{transform:scaleX(1)}}.star-cards-actions{display:flex;justify-content:center;gap:14px}.system-window .star-cards-actions button{min-width:100px;height:28px}.system-confirm.star-ask{position:absolute;z-index:2;width:min(320px,calc(100% - 48px))}.star-ask-row{display:grid;grid-template-columns:48px 22px minmax(0,1fr) auto;gap:6px;align-items:center;font-size:13px}.star-ask-label{color:#d4bf8a}.star-ask-row img{width:20px;height:20px;object-fit:contain}.star-ask-item{color:#e5d1a3}.system-window .system-grid .system-tile.system-tile-art{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);justify-content:stretch;align-content:stretch;justify-items:stretch;align-items:stretch;gap:0;padding:6px;overflow:hidden}.system-window .system-grid .system-tile.system-tile-art[data-rarity]{background:linear-gradient(var(--rarity-top),var(--rarity-bottom));color:#fff;border-color:#74674a;box-shadow:none}.system-window .system-grid .system-tile.system-tile-art[data-rarity="1"]{--rarity-top:#969696;--rarity-bottom:#f0f0f0}.system-window .system-grid .system-tile.system-tile-art[data-rarity="2"]{--rarity-top:#afebaf;--rarity-bottom:#28cd46}.system-window .system-grid .system-tile.system-tile-art[data-rarity="3"]{--rarity-top:#afd7ff;--rarity-bottom:#1e7dff}.system-window .system-grid .system-tile.system-tile-art[data-rarity="4"]{--rarity-top:#ffb4b4;--rarity-bottom:#e62d2d}.system-window .system-grid .system-tile.system-tile-art[data-rarity="5"]{--rarity-top:#dcb9ff;--rarity-bottom:#963ce6}.system-window .system-grid .system-tile.system-tile-art[data-rarity="6"]{--rarity-top:#ffeea0;--rarity-bottom:#cd961e}.system-window .system-grid .system-tile.system-tile-art[data-rarity]:hover:not(:disabled){filter:brightness(1.08)}.system-window .system-grid .system-tile.system-tile-art[data-rarity][aria-pressed=true]{box-shadow:inset 0 0 0 2px #ffd65a}.system-art-frame{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden}.system-art-sprite{display:block;flex:none}.system-art-sprite[hidden],.system-art-missing[hidden]{display:none}.system-art-missing{font:bold 26px/1 'Microsoft JhengHei',sans-serif;color:#f4efe4;text-shadow:1px 0 #141210,-1px 0 #141210,0 1px #141210,0 -1px #141210,1px 1px #141210,-1px -1px #141210,1px -1px #141210,-1px 1px #141210,0 0 4px #000}