.monster-page{max-width:1180px;min-height:100dvh;margin:0 auto;padding:0 14px 32px}.monster-header{border-bottom:1px solid var(--border);height:72px;color:var(--text);align-items:center;gap:44px;display:flex}.brand{background:0 0;border:0;flex:none;align-items:center;padding:0;display:flex}.brand img{object-fit:contain;width:110px;height:32px}.desktop-nav{align-items:stretch;height:100%;display:flex}.desktop-nav a{border-bottom:2px solid var(--green);align-items:center;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,sans-serif;font-weight:600;display:flex}.header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.header-actions>button:not(.user-profile){border:1px solid var(--border);background:var(--page);border-radius:6px;justify-content:center;align-items:center;gap:8px;height:32px;padding:0 10px;font-weight:500;line-height:14px;display:flex}.header-actions .header-setting{width:40px}.header-actions .announcement-button svg{color:var(--accent)}.header-actions .logout-button{color:var(--danger);padding:0 15px!important}.user-profile{border:0;border-left:1px solid var(--border);text-align:left;background:0 0;align-items:center;gap:10px;margin-left:4px;padding:0 0 0 8px;display:flex}.user-profile img{border-radius:50%;width:34px;height:34px}.user-profile span{flex-direction:column;line-height:20px;display:flex}.user-profile strong{font-size:13px;font-weight:600}.user-profile small{font-size:11px}.desktop-roles{grid-template-columns:320px minmax(0,1fr);gap:16px;margin-top:16px;display:grid}.role-list-panel,.role-detail-panel,.strip-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;min-height:calc(100dvh - 112px);overflow:hidden}.list-heading{justify-content:space-between;align-items:center;height:52px;padding:0 16px;display:flex}.list-heading strong,.strip-title strong{align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.list-heading strong svg{color:var(--muted)}.list-heading small,.strip-import>small{color:var(--muted);background:var(--surface-raised);white-space:nowrap;border-radius:10px;padding:0 7px;font-size:10px;line-height:20px}.desktop-query{border-bottom:1px solid var(--border);padding:0 16px 12px}.search-row{align-items:center;gap:6px;display:flex}.role-search{border:1px solid var(--border);background:var(--surface);border-radius:6px;flex:1;align-items:center;gap:4px;min-width:0;height:32px;padding:4px 11px;display:flex}.role-search svg{flex:none;width:12px;height:12px}.role-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:none;padding:0;font-size:14px;line-height:22px}.role-search:focus-within{border-color:var(--green);box-shadow:0 0 0 2px #29775612}.sort-button{border:1px solid var(--border);background:var(--page);border-radius:6px;flex:none;place-items:center;width:32px;height:32px;display:grid}.selection-row{justify-content:space-between;align-items:center;height:24px;margin-top:12px;font-size:13px;display:flex}.selection-row label{align-items:center;gap:8px;display:flex}.selection-row button{border:1px solid var(--border);background:var(--page);border-radius:4px;align-items:center;gap:8px;height:24px;padding:0 7px;font-size:14px;display:flex}.selection-row button:disabled{color:var(--muted);background:var(--surface-raised)}.monster-page input[type=checkbox]{appearance:none;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:4px;flex:none;width:16px;height:16px;margin:0;position:relative}.monster-page input[type=checkbox]:checked{background:var(--accent-solid);border-color:var(--green);color:var(--on-accent)}.monster-page input[type=checkbox]:checked:after{content:"";border:solid var(--border);border-width:0 1.5px 1.5px 0;width:4px;height:8px;position:absolute;top:2px;left:5px;transform:rotate(45deg)}.compact-role{background:var(--page);border-bottom:1px solid var(--border);align-items:center;gap:10px;min-height:77px;padding:12px 16px;display:flex;position:relative}.compact-role:before,.strip-role:before{content:"";background:var(--accent-solid);width:1px;color:var(--on-accent);border-radius:0;position:absolute;top:8px;bottom:8px;left:0}.role-avatar{flex:none;align-items:center;display:inline-flex;position:relative}.role-avatar img{object-fit:cover;border-radius:50%}.role-avatar small{background:var(--surface-raised);color:var(--muted);border-radius:4px;padding:0 3px;font-size:10px;line-height:14px;position:absolute;bottom:-3px;right:-3px}.compact-role-body{flex:1;min-width:0}.compact-role-body>div{justify-content:space-between;align-items:center;gap:6px;display:flex}.compact-role-body strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;overflow:hidden}.compact-role-body small{color:var(--green);white-space:nowrap;font-size:10px}.compact-role-body p{white-space:nowrap;margin:3px 0 0;font-size:11px}.compact-role-body p button,.text-link{color:var(--accent);background:0 0;border:0;padding:0}.compact-role-body p span{color:var(--muted)}.compact-role-body b{color:var(--danger);font-weight:500}.detail-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:45px;min-height:45px;padding:0 16px;display:flex}.layout-buttons{align-items:center;display:flex}.layout-buttons button{border:1px solid var(--border);background:var(--page);width:28px;height:28px;color:var(--muted);place-items:center;padding:0;display:grid}.layout-buttons button:first-child{border-radius:4px 0 0 4px}.layout-buttons button:last-child{border-radius:0 4px 4px 0;margin-left:-1px}.layout-buttons .active{color:var(--on-accent);background:var(--accent-solid);border-color:var(--green)}.import-buttons{align-items:center;gap:8px;display:flex}.import-buttons button{background:var(--surface);white-space:nowrap;border:1px solid;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:28px;padding:0 10px;font-size:12px;font-weight:500;line-height:19px;display:flex}.import-buttons .wechat-button{color:var(--accent);border-color:var(--border)}.import-buttons .phone-button{color:var(--accent);border-color:var(--muted)}.import-buttons .bin-button{color:var(--accent);border-color:var(--border)}.import-buttons .edition-nav-link{border:1px solid var(--border);border-radius:6px;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.menu-anchor{position:relative}.dropdown{z-index:20;background:var(--surface);border-radius:8px;min-width:140px;padding:4px;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 6px 24px #0002,0 1px 6px #0001}.dropdown button{width:100%;height:34px;color:var(--text);background:var(--surface);border:0;border-radius:4px;justify-content:flex-start;align-items:center;gap:8px;padding:6px 12px;font-size:14px;display:flex}.dropdown button:hover{background:var(--accent-soft)}.dropdown button:disabled{color:var(--muted)}.role-identity{border-bottom:1px solid var(--border);align-items:flex-start;gap:16px;min-height:108px;padding:24px 24px 16px;display:flex}.role-identity>.role-avatar{margin-top:5px}.identity-body{flex:1;min-width:0}.identity-title{align-items:center;gap:6px;min-width:0;display:flex}.identity-title h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:22px;font-weight:600;line-height:34.57px;overflow:hidden}.plain-icon{color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.edit-role{flex:none;width:24px;height:24px}.plain-icon:hover{color:var(--green)}.identity-meta{align-items:center;gap:8px;height:24px;margin-top:8px;display:flex}.identity-meta button{color:var(--accent);background:0 0;border:0;height:24px;padding:0;font-weight:500}.server-tag{white-space:nowrap;background:var(--surface);border:1px solid var(--border);min-width:21px;height:22px;color:var(--muted);border-radius:4px;justify-content:center;align-items:center;margin-right:8px;padding:0 5px;font-size:12px;display:flex}.identity-meta strong{color:var(--danger);font-size:12px;font-weight:500}.automation-status{text-align:right;white-space:nowrap;margin-left:auto}.automation-status b{color:var(--muted);font-size:12px;font-weight:600;line-height:19px}.automation-status>div{align-items:center;gap:16px;margin-top:9px;display:flex}.automation-status div>span{border:1px solid var(--border);background:var(--accent-soft);color:var(--accent);border-radius:4px;padding:0 7px;font-size:12px;line-height:20px}.inactive-switch{background:var(--surface-raised);opacity:.65;border:0;border-radius:100px;flex:none;width:44px;height:22px;padding:0;position:relative}.inactive-switch>span{background:var(--surface);border-radius:50%;width:18px;height:18px;position:absolute;top:2px;left:2px;box-shadow:0 2px 3px #0002}.detail-content{padding:20px 24px 30px}.resource-panel,.quick-panel{border:1px solid var(--border);border-radius:8px;overflow:hidden}.resource-panel>header,.quick-panel>header{background:var(--page);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:38px;padding:0 12px;display:flex}.resource-panel strong,.quick-panel strong{font-size:13px;font-weight:600}.resource-panel header>span{display:flex}.resource-panel button{color:var(--muted);background:0 0;border:0;height:26px;padding:0 6px;font-size:12px}.resource-panel>p{color:var(--muted);margin:0;padding:9px 12px;line-height:20px}.quick-panel{margin-top:20px}.quick-panel>header{height:40px;padding:0 16px}.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:15px 16px 16px;display:grid}.quick-actions>button{border:1px solid var(--border);background:var(--page);white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:8px;height:40px;padding:4px 15px;font-size:14px;font-weight:500;line-height:22px;display:flex;position:relative;box-shadow:0 2px #00000004}.quick-actions>button:disabled{color:var(--muted);background:var(--surface-raised)}.quick-actions>button.danger,.danger{color:var(--danger)}.quick-actions>button:not(:disabled):hover,.selection-row>button:not(:disabled):hover,.sort-button:not(:disabled):hover,.header-actions>button:not(.user-profile):hover{border-color:var(--accent);color:var(--green)}.new-badge{color:var(--text);background:var(--warning-soft);border-radius:6px;padding:0 3px;font:600 10px/13px Arial,sans-serif;position:absolute;top:-8px;right:0}.roles-empty{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:70px 16px;display:flex}.roles-empty p{margin:0}.roles-empty button{color:var(--green);background:0 0;border:0}.name-editor{border:1px solid var(--green);border-radius:6px;width:100%;min-width:0;height:34px;padding:2px 8px;font-size:18px}.strip-mode{display:block}.strip-title,.strip-import{align-items:center;gap:12px;display:flex}.strip-mode .desktop-query{grid-template-columns:1.18fr 1fr;align-items:end;column-gap:24px;padding:0 16px 12px;display:grid}.strip-mode .selection-row{grid-column:1/-1}.page-size{color:var(--muted);flex-direction:column;font-size:12px;line-height:26px;display:flex}.page-size select{background:var(--surface);border:1px solid var(--border);border-radius:6px;height:32px;padding:0 8px}.strip-columns,.strip-role{grid-template-columns:30% 20% 14% 14% 22%;align-items:center;display:grid}.strip-columns{background:var(--page);border-bottom:1px solid var(--border);height:36px;color:var(--muted);padding:0 16px;font-size:11px}.strip-columns>span:first-child{padding-left:32px}.strip-role{background:var(--page);border-bottom:1px solid var(--border);min-height:73px;padding:16px;font-size:12px;position:relative}.strip-identity{align-items:center;gap:16px;min-width:0;display:flex}.strip-identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.strip-role small{font-size:10px}.strip-role .expired{color:var(--danger);font-size:12px;font-weight:500}.block{display:block}.strip-status{color:var(--green);align-items:center;gap:8px;display:flex}.strip-status .inactive-switch{width:28px;height:16px}.strip-status .inactive-switch>span{width:12px;height:12px}.strip-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.strip-actions>button:not(.text-link),.strip-actions>.menu-anchor>button{background:var(--page);border:1px solid var(--border);white-space:nowrap;border-radius:4px;align-items:center;gap:8px;height:28px;padding:4px 8px;font-size:12px;display:flex}.strip-dropdown{width:175px;max-height:420px;overflow-y:auto}.strip-dropdown button{font-size:12px;position:relative}.mobile-roles,.mobile-bottom-nav{display:none}.toast{z-index:2000;background:var(--surface);border-radius:8px;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:10px 16px;font-size:14px;display:flex;position:fixed;top:24px;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #0002}.toast>span{color:var(--green)}.task-modal-overlay{z-index:1000;background:#0007;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.task-modal{background:var(--surface);border-radius:16px;width:756px;max-width:100%;max-height:calc(100dvh - 32px);padding:20px 24px;box-shadow:0 16px 48px #0002}.task-modal-header{border-bottom:1px solid var(--border);align-items:center;gap:10px;min-height:58px;margin-bottom:14px;padding:0 28px 14px 0;display:flex;position:relative}.task-modal-header strong{font-weight:600}.task-modal-header p{color:var(--muted);margin:0;font-size:14px}.task-modal-close{width:28px;height:28px;color:var(--muted);position:absolute;top:-4px;right:-8px}@media (min-width:768px) and (max-width:1050px){.desktop-roles{grid-template-columns:270px minmax(0,1fr);gap:12px}.monster-header{gap:28px}.role-identity{gap:10px;padding-left:16px;padding-right:16px}.identity-title h2{font-size:18px}.detail-content{padding:20px 16px 24px}.quick-actions{gap:6px;padding:12px}.quick-actions>button{gap:5px;padding:4px 7px;font-size:12px}.compact-role-body small,.user-profile span{display:none}.strip-columns,.strip-role{grid-template-columns:28% 18% 14% 15% 25%}.strip-actions{gap:4px}}@media (max-width:767px){.monster-page{width:100%;max-width:none;padding:0 0 calc(58px + env(safe-area-inset-bottom));background:var(--surface)}.monster-header{gap:0;height:50px;padding:0 10px}.brand img{width:96px;height:28px}.desktop-nav,.header-actions .header-setting,.user-profile>span,.logout-button>span,.desktop-roles{display:none!important}.header-actions{gap:8px}.header-actions>.announcement-button{font-size:12px;background:var(--surface)!important;gap:3px!important;height:30px!important;padding:0 8px!important;font-weight:650!important}.header-actions .announcement-button svg{width:14px;height:14px}.user-profile{border:0;margin:0 0 0 12px;padding:0}.user-profile img{width:30px;height:30px}.header-actions>.logout-button{width:32px;background:var(--surface)!important;padding:0!important}.logout-button svg{width:16px;height:16px}.mobile-roles{padding-top:8px;display:block}.mobile-search-row{gap:12px;margin:0 12px;display:flex}.role-search{border-radius:6px;gap:5px;height:34px;padding:0 12px 0 24px}.role-search svg{width:14px;height:14px;color:var(--muted)}.role-search input{font-size:16px;line-height:32px}.role-search input::placeholder{color:var(--muted)}.add-role-button{background:var(--accent-solid);width:34px;height:34px;color:var(--on-accent);border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:flex}.add-role-button span{font-size:29px;font-weight:300;line-height:34px}.mobile-selection{border:1px solid var(--border);border-radius:6px;height:34px;margin:8px 12px;display:flex;overflow:hidden}.mobile-selection>button,.mobile-selection>label{background:var(--surface);width:33.3333%;color:var(--muted);border:0;border-right:1px solid var(--border);justify-content:center;align-items:center;padding:0;display:flex}.mobile-selection>button:last-child{border-right:0}.mobile-selection>button:disabled{opacity:.35}.mobile-selection input[type=checkbox],.mobile-owner input[type=checkbox]{border-color:var(--muted);border-radius:50%;width:17px;height:17px}.mobile-selection input[type=checkbox]{border-color:var(--border)}.mobile-role-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:0 10px;padding:8px}.mobile-identity{gap:8px;display:flex}.mobile-identity>.role-avatar{height:42px}.mobile-identity>.role-avatar :is(img,.role-avatar-fallback){border-radius:6px;width:42px!important;height:42px!important}.mobile-identity>.role-avatar small{border-radius:3px 0 4px;bottom:0;right:0}.mobile-identity-body{flex:1;min-width:0}.mobile-title-row{align-items:center;gap:12px;height:27px;display:flex}.mobile-title-row .identity-title{flex:1;gap:8px}.mobile-title-row .identity-title h2{font-size:16px;font-weight:650;line-height:27px}.mobile-title-row .identity-title .edit-role{width:24px}.mobile-status{white-space:nowrap;align-items:center;gap:6px;display:flex}.mobile-status small{color:var(--muted);padding:0 8px;font-size:11px;font-weight:600}.mobile-status .inactive-switch{background:var(--surface);border:1px solid var(--border);opacity:.5;width:36px;height:22px}.mobile-status .inactive-switch>span{border:1px solid var(--border);top:1px;left:1px;box-shadow:0 1px 2px #0001}.mobile-owner{height:19px;color:var(--muted);white-space:nowrap;justify-content:space-between;align-items:center;gap:8px;margin-top:2px;font-size:12px;display:flex}.mobile-owner>span{text-overflow:ellipsis;overflow:hidden}.mobile-meta{border-top:1px solid var(--border);align-items:center;gap:12px;height:27px;margin-top:6px;padding-top:7px;font-size:12px;display:flex}.mobile-meta button{color:var(--accent);background:0 0;border:0;padding:0;font-size:12px}.mobile-meta span{color:var(--warning)}.mobile-meta strong{color:var(--danger);font-weight:600}.mobile-primary-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:8px;display:grid}.mobile-primary-actions>button,.mobile-more-actions>button{background:var(--accent-soft);white-space:nowrap;border:0;border-radius:10px;justify-content:center;align-items:center;gap:4px;height:36px;padding:0 4px;font-size:11.7px;font-weight:600;line-height:12px;display:flex;position:relative}.mobile-primary-actions>.mobile-card-action{background:var(--warning-soft);color:var(--warning)}.mobile-primary-actions>.mobile-h5-action{background:var(--accent-soft);color:var(--accent)}.mobile-more-actions{border-top:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 5px;margin-top:12px;padding-top:12px;display:grid}.mobile-more-actions>button{flex-direction:column;gap:5px;height:56px}.mobile-more-actions>button:disabled{color:var(--muted);background:var(--accent-soft)}.mobile-count{border-top:1px solid var(--border);color:var(--muted);text-align:center;margin:0;padding:10px 12px;font-size:12px;line-height:19px}.mobile-bottom-nav{z-index:30;height:calc(50px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-bottom-nav :is(button,a){background:var(--surface);color:var(--muted);border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;padding:4px 0;font-size:12px;line-height:14px;display:flex}.mobile-bottom-nav .active{color:var(--green)}.mobile-bottom-nav .active svg{filter:drop-shadow(0 0 4px var(--border))}.name-editor{height:27px;padding:0 4px;font-size:14px}.task-modal-overlay{padding:12px}.task-modal{border-radius:12px;max-height:calc(100dvh - 24px);padding:16px 12px}.task-modal-header p{font-size:11px}.toast{font-size:12px;top:64px}}@media (max-width:359px){.brand img{width:96px;height:auto}.user-profile{margin-left:0}.mobile-status small{padding:0;font-size:10px}.mobile-title-row{gap:6px}}.resource-summary{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px 18px;margin:0;padding:14px 12px;display:grid}.resource-summary dt{color:var(--muted);margin-bottom:4px;font-size:12px}.resource-summary dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:600}.monster-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.role-search{border-color:var(--control-border)}.role-search input::placeholder{color:var(--muted)}.monster-page input[type=checkbox]{border-color:var(--control-border)}.monster-page :is(button,a,summary){transition:background-color .12s,color .12s}.monster-page :is(button,a):hover:not(:disabled){text-decoration-thickness:1px}.monster-page :is(.resource-summary,.identity-meta,.advanced-resource,.mainline-overview,.redeem-progress){font-variant-numeric:tabular-nums}.monster-page .role-list-choice.active{background:var(--accent-soft)}.monster-page .live-avatar{color:var(--accent);background:var(--accent-soft)}.monster-page .new-badge{color:var(--warning);background:var(--warning-soft)}.monster-page .connection-status{color:var(--muted)}.monster-page :is(.danger,.logout-button){color:var(--danger)}.live-avatar img{border-radius:50%;width:100%;height:100%;display:block}.monster-page .inactive-switch>span,.monster-page .task-switch-knob{background:var(--on-accent)}.monster-page input[type=checkbox]:checked:after{border-color:var(--on-accent)}.monster-page .inactive-switch{background:var(--border);opacity:1}.monster-page .inactive-switch.live-on{background:var(--success-solid)}.monster-page :is(.task-modal,.dialog-panel,.connection-dialog,.advanced-dialog,.mainline-panel,.h5-panel){color:var(--text)}@media (max-width:767px){.monster-page{background:var(--page)}.monster-page .connection-status{flex-wrap:wrap;gap:8px}.monster-page .connection-status>span{flex-basis:100%}.monster-page .redeem-bar{margin:12px}.monster-page .connection-status button{min-height:36px}}.mobile-primary-actions>.wake-action{grid-column:1/-1;min-height:38px}.resource-overview .resource-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px;margin:0;padding:16px;display:grid}.resource-overview .resource-summary>div{background:0 0;border:0;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.resource-overview dt{white-space:nowrap;color:var(--text-muted,#705b4a);align-items:center;gap:7px;font-size:12px;display:flex}.resource-overview dd{font-variant-numeric:tabular-nums;white-space:nowrap;margin:0 0 0 auto;font-weight:700}.resource-symbol{color:#a74430;flex-shrink:0;width:20px;display:inline-flex}.resource-symbol svg{width:19px;height:19px}.resource-diamond,.resource-gold,.resource-1012{color:#96651c}.resource-1003{color:#286f97}.resource-1022{color:#438471}.resource-1023{color:#96558d}.resource-delta{white-space:nowrap;border:1px solid;border-radius:4px;padding:2px 3px;font-size:10px}.resource-delta.positive{color:#28724c}.resource-delta.negative{color:#a73f35}.resource-round-options{gap:10px;margin:16px 0;display:grid}.resource-round-options>div{justify-content:space-between;align-items:center;gap:16px;display:flex}.resource-round-options label{align-items:center;gap:8px;display:flex}.resource-round-options>div>input{width:120px}@media (max-width:1200px){.resource-overview .resource-summary{gap:14px 12px}.resource-overview .resource-summary>div{flex-wrap:wrap}.resource-delta{margin-left:auto}}@media (max-width:760px){.resource-overview .resource-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;padding:12px}.mobile-role-card .resource-overview{margin-top:14px}.resource-overview dt{font-size:11px}.resource-overview dd{font-size:13px}}.identity-meta button,.mobile-meta button{color:#1677ff}.resource-symbol{color:#297756}.monster-page .role-detail-panel,.monster-page .role-list-panel,.monster-page .strip-panel{border-radius:8px}.desktop-query .sort-button{white-space:nowrap;justify-content:center;align-items:center;gap:5px;width:auto;min-width:max-content;padding:0 10px;line-height:1.2;display:inline-flex}.mobile-selection>button[aria-label=自定义排序]{align-items:center;gap:5px;width:auto;padding:6px 9px;display:flex}.role-order-list{margin:16px 0;padding:0;list-style:none}.role-order-editor>p{color:#426257;line-height:1.6}.role-order-editor .role-sort-row{border-bottom:1px solid #dce9e3;align-items:center;gap:12px;padding:12px 0;display:flex}.role-order-editor .role-sort-row>div:first-of-type{overflow-wrap:anywhere;flex:1;min-width:0}.role-sort-row small{color:#526a60;margin-top:4px;display:block}.role-order-editor .role-sort-position{color:#267455;font-variant-numeric:tabular-nums;flex:0 0 24px;width:24px}.role-sort-controls{gap:6px;display:flex}.role-sort-footer{justify-content:flex-end;gap:10px;padding-top:18px;display:flex}.role-sort-footer .primary{color:#fff;background:#267455}.role-sort-row button,.role-sort-footer button{background:#fff;border:1px solid #cddfd5;border-radius:8px;padding:8px 12px}.role-sort-row button:disabled{opacity:.45;cursor:not-allowed}@media (max-width:600px){.role-order-editor .role-sort-row{flex-wrap:wrap}.role-sort-controls{justify-content:flex-end;width:100%}.role-order-editor button{min-height:40px}.role-order-editor{font-size:16px}}@media (max-width:767px){.mobile-primary-actions>button{white-space:normal;min-height:44px;line-height:1.25}.mobile-more-actions{gap:6px;margin:6px 0 8px;padding:6px 0}.mobile-more-actions>button{white-space:normal;gap:3px;height:44px;line-height:1.25}.mobile-primary-actions>button[aria-expanded=true]{background:var(--success-solid);color:var(--on-accent)}.mobile-role-card button svg,.resource-overview .resource-symbol{width:15px;height:15px}.mobile-bottom-nav svg{width:16px;height:16px}}.resource-overview .resource-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 24px;padding:14px 18px}.resource-overview .resource-summary>div{flex-wrap:nowrap;grid-template-columns:minmax(74px,1fr) auto minmax(36px,auto);align-items:center;gap:6px;display:grid}.resource-overview dt{color:#536271;gap:7px;margin:0;font-size:12px}.resource-overview dd{text-align:right;overflow-wrap:normal;margin:0;font-size:14px}.resource-overview .resource-symbol{justify-content:center;align-items:center;width:24px;height:24px}.resource-symbol img{object-fit:contain;width:24px;height:24px}.resource-overview .resource-delta{border-radius:4px;justify-self:end;margin:0;padding:0 3px;font-size:11px;line-height:16px}.resource-delta.positive{color:#26742b;background:#f5ffed;border-color:#a7d98e}.resource-delta.negative{color:#b72e3e;background:#fff6f6;border-color:#f5b1b8}.resource-delta.empty{border-color:#0000;min-width:36px}.live-avatar{border-radius:50%;flex-shrink:0;overflow:hidden}.live-avatar img,.club-avatar{object-fit:cover;border-radius:50%}.role-avatar-fallback{color:#174e38;background:#e4f1eb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:inline-flex}.monster-page :is(.next-wake,.advanced-note,.dialog-note,.connection-note,.lineup-unit small){font-size:12px;line-height:1.6}@media (min-width:768px) and (max-width:1050px){.resource-overview .resource-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (max-width:767px){.resource-overview .resource-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:12px}.resource-overview .resource-summary>div{grid-template-columns:1fr auto;gap:3px 5px}.resource-overview dt{grid-column:1/-1}.resource-overview dd{text-align:left;font-size:14px}.resource-overview .resource-delta{grid-column:2}.mobile-bottom-nav button,.mobile-status small{font-size:12px}}.monster-page :is(.compact-role-body small,.compact-role-body p,.advanced-header p,.advanced-footer,.lineup-unit small,.next-wake-zone,.connection-note){font-size:12px;line-height:1.6}.monster-page .compact-role-body small{color:var(--accent);font-weight:600}.monster-page .lineup-unit small{color:#536271}.resource-overview .resource-cache-time{color:#536271;margin:5px 18px 10px;font-size:12px}
