:root{--site-toolbar-height:calc(48px + env(safe-area-inset-top, 0px));--shared-file-drop-height:150px;--shared-file-drop-compact-height:54px;--shared-file-drop-compact-width:260px}input[type=date],input[type=datetime-local]{color-scheme:dark}html[data-theme=light] input[type=date],html[data-theme=light] input[type=datetime-local]{color-scheme:light}html[data-theme=light] input[type=date]::-webkit-calendar-picker-indicator,html[data-theme=light] input[type=datetime-local]::-webkit-calendar-picker-indicator{filter:none;opacity:1}html .layout-root{height:100dvh;width:100%}.layout-content,.layout-main{min-height:0}.desktop-navigation{display:flex;flex-shrink:0}#tool-sidebar{--sidebar-width:min(360px,85vw);--sidebar-motion:250ms;width:0;height:100dvh;overflow:hidden;background:#262730;color:#fff}#tool-sidebar[data-open=true]{width:var(--sidebar-width)}#tool-sidebar[data-animate=true]{transition:width var(--sidebar-motion) ease}.sidebar-inner{display:flex;flex-direction:column;box-sizing:border-box;width:var(--sidebar-width);height:100%;padding:12px 0 12px 12px;border-right:1px solid #1a1b1e;visibility:hidden}#tool-sidebar[data-open=true] .sidebar-inner{visibility:visible}#tool-sidebar[data-open=true][data-animate=true] .sidebar-inner{transition:visibility 0s var(--sidebar-motion)}.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 8px 12px 0;flex:none}.sidebar-close,.sidebar-opener{border:0;padding:0;background:transparent;color:inherit;cursor:pointer}.sidebar-close{display:flex;align-items:center;gap:4px;white-space:nowrap;font:inherit;font-size:18px}.sidebar-close span{width:32px;font-size:26px}.sidebar-opener{position:fixed;top:12px;left:8px;z-index:100;width:36px;height:36px;color:#fff;font-size:24px}.sidebar-links{flex:1 1;min-height:0;overflow:auto;overflow-anchor:none;padding-right:6px}.sidebar-links ul{list-style:none;padding:0;margin:0}.sidebar-links hr{border:0;border-top:1px solid #4b5563;margin:12px 0}.sidebar-list-title{font-size:13px;margin:6px 0 4px 4px}.sidebar-app-navigation ul{list-style:none;margin:0;padding:0}.sidebar-app-navigation hr{border:0;border-top:1px solid #4b5563;margin:12px 0}.sidebar-tool-row{gap:2px;margin:0}.sidebar-tool-row,.sidebar-tool-row>a{display:flex;align-items:center;min-width:0}.sidebar-tool-row>a{flex:1 1;height:32px;padding:4px;border-radius:4px;background:transparent;color:#fff;text-decoration:none;transition:background-color .15s;overflow:hidden;white-space:nowrap}.sidebar-tool-row>a:hover{background:#80808025}.sidebar-tool-row>a[aria-current=page]{background:#1e3a5f}.sidebar-tool-icon{display:flex;justify-content:center;width:28px;flex:none;font-size:20px}.sidebar-tool-label{min-width:0;margin-left:8px;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-app-navigation :is(.sidebar-favorite-toggle,.sidebar-favorite-drag,.sidebar-favorite-step){flex:none;width:30px;height:32px;padding:0;border:0;background:transparent;color:#9ca3af;font-size:18px;line-height:1;cursor:pointer}.sidebar-app-navigation .sidebar-favorite-toggle[data-selected=true]{color:#3b82f6}.sidebar-app-navigation .sidebar-favorite-drag{width:24px;color:inherit;font-size:20px;cursor:grab}.sidebar-app-navigation .sidebar-favorite-drag:active{cursor:grabbing}.sidebar-app-navigation .sidebar-favorite-step{display:none}.sidebar-app-navigation button:hover:enabled{background:#80808025;border-radius:4px}.sidebar-app-navigation :is(button,a):focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}.sidebar-app-navigation button:disabled{opacity:.4;cursor:not-allowed}.sidebar-favorites{margin:8px 0}.sidebar-favorites .sidebar-tool-row{cursor:grab}.sidebar-favorite-message{font-size:12px;margin:6px 8px;color:#9ca3af}@media (prefers-reduced-motion:reduce){#tool-sidebar{--sidebar-motion:0ms}}.site-toolbar{display:flex;align-items:center;gap:12px;flex:none;min-height:var(--site-toolbar-height);box-sizing:border-box;padding:calc(6px + env(safe-area-inset-top, 0px)) max(12px,env(safe-area-inset-right,0px)) 6px max(12px,env(safe-area-inset-left,0px));background:#0e1117;border-bottom:0}.site-account button,.site-dialog button,.site-toolbar button{min-height:44px;padding:9px 14px;border:1px solid #596270;border-radius:7px;background:#343b49;color:#fff;cursor:pointer;font:inherit}.site-account button:hover,.site-dialog button:hover,.site-toolbar button:hover{background:#46556e}.site-account button:focus-visible,.site-dialog :is(button,input,a):focus-visible,.site-toolbar button:focus-visible{outline:2px solid #93c5fd;outline-offset:3px}.sidebar-header .site-settings-button,.site-dialog-header-actions .site-settings-button{display:grid;place-items:center;flex:none;width:36px;height:36px;min-height:36px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.sidebar-header .site-settings-button:hover,.site-dialog-header-actions .site-settings-button:hover{background:transparent;color:#93c5fd}.site-dialog-header-actions{display:flex;align-items:center;gap:8px}.site-toolbar .site-menu-button{display:none;border:0;background:transparent;box-shadow:none;padding:0 4px;color:#fff}.site-toolbar .site-menu-button:hover{background:transparent;color:#93c5fd}.site-account{flex:none;margin:8px 8px 0 0}.site-account>button{width:100%;white-space:nowrap}.site-account button:disabled{opacity:.5;cursor:not-allowed}.site-dialog{box-sizing:border-box;padding:0;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);border:1px solid #596270;border-radius:12px;background:#262730;color:#fff;box-shadow:0 24px 80px #0008}.site-dialog::backdrop{background:#000a}.site-dialog-content{padding:20px}.site-dialog-content>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.site-dialog h2{margin:0;font-size:20px}.site-display-options{border:0;padding:0;margin:0;min-width:0}.site-display-options legend{font-size:16px;margin-bottom:12px}.site-display-options label{display:flex;gap:12px;align-items:flex-start;border:1px solid #4b5563;border-radius:8px;padding:14px;margin:10px 0;cursor:pointer}.site-display-options label:has(input:checked){background:#1e365a;border-color:#60a5fa}.site-display-options input{flex:none;width:22px;height:22px;accent-color:#60a5fa;margin:0}.site-display-options small{display:block;margin-top:6px;color:#bac7db;font-size:14px;line-height:1.6}.site-settings-note{color:#bac7db;font-size:14px;line-height:1.7}.site-mobile-menu{position:fixed;top:var(--site-toolbar-height);left:0;right:0;bottom:auto;margin:0;width:100%;max-width:none;max-height:calc(100dvh - var(--site-toolbar-height));border-radius:0 0 14px 14px}.site-mobile-menu[open]{animation:site-menu-down .18s ease-out}.site-mobile-menu[open] .site-dialog-content{animation:site-menu-reveal .18s step-end}@keyframes site-menu-reveal{0%{visibility:hidden}to{visibility:visible}}.site-mobile-menu nav{display:grid;gap:6px}.site-mobile-menu nav a{display:flex;align-items:center;min-height:48px;box-sizing:border-box;padding:12px;border-radius:7px;color:#fff;text-decoration:none;overflow-wrap:anywhere}.site-mobile-menu nav a[aria-current=page]{background:#1e3a5f}.site-mobile-menu .site-account{margin:16px 0}.site-legal-details{border-top:1px solid #4b5563;margin-top:16px;padding-top:12px}.site-legal-details summary{padding:10px 0;cursor:pointer}.mobile-field-label{display:none}@keyframes site-menu-down{0%{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.site-mobile-menu[open],.site-mobile-menu[open] .site-dialog-content{animation:none}}html[data-ui=mobile] .desktop-navigation{display:none}html[data-ui=mobile] .site-toolbar .site-menu-button{display:block}html[data-ui=mobile] .layout-content{width:100%;min-width:0}html[data-ui=mobile] .layout-root .layout-main{padding:16px max(10px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(10px,env(safe-area-inset-left,0px))!important;width:100%;max-width:none;min-width:0;font-size:24px;line-height:1.7}html[data-ui=mobile] :is(.layout-main,dialog) :is(p,label,li,th,td){font-size:24px!important;line-height:1.7}html[data-ui=mobile] :is(.layout-main,dialog,.site-toolbar) :is(input,textarea,select,button,.appButton,.download,.manager-download){font-size:24px!important;line-height:1.5;box-sizing:border-box}html[data-ui=mobile] :is(.layout-main,dialog) :is(button,.appButton,.download,.manager-download){min-height:60px!important}html[data-ui=mobile] .site-toolbar .site-menu-button{min-height:72px;font-size:48px!important}html[data-ui=mobile] :is(.layout-main,dialog) :is(input:not([type=radio]):not([type=checkbox]):not([type=range]),select){min-height:60px!important}html[data-ui=mobile] .layout-main :is(input,select,textarea){max-width:100%}html[data-ui=mobile] .layout-root .layout-main h1{font-size:40px!important;line-height:1.4!important}html[data-ui=mobile] :is(.layout-main,dialog) h2{font-size:32px!important;line-height:1.5}html[data-ui=mobile] .layout-main h3{font-size:28px!important;line-height:1.5}html[data-ui=mobile] .layout-main :is(summary,output,.mobile-field-label){font-size:24px!important}html[data-ui=mobile] .layout-main :is(.badge,.localBadge,.statusBadge,.stock-remaining){font-size:22px!important}html[data-ui=mobile] .site-display-options strong{font-size:24px}html[data-ui=mobile] .layout-main :is(.historyPage li span,.summary span,.shopping-image-placeholder){font-size:22px!important}html[data-ui=mobile] :is(.layout-main,dialog) :is(.hint,.intro,.notice,.muted,small,.site-settings-note){font-size:22px!important;line-height:1.7}html[data-ui=mobile] .site-mobile-menu nav a{font-size:36px}html[data-ui=mobile] .site-legal-info>div{font-size:22px!important;line-height:1.7!important}html[data-ui=mobile] .layout-main .gamePage,html[data-ui=mobile] .layout-main>:is(div,section){max-width:none;min-width:0}html[data-ui=mobile] .layout-main :is(.gacha-body,.panelBody){padding:14px 10px!important}html[data-ui=mobile] .layout-main .panel-heading{padding:12px 10px}html[data-ui=mobile] .layout-main :is(.actions,.controls,.startForm,.toolbar,.titleRow,.row){flex-wrap:wrap}html[data-ui=mobile] .layout-main .actions{justify-content:flex-start}html[data-ui=mobile] .layout-main .actions>button{flex:1 1 130px;padding:10px 12px}html[data-ui=mobile] .layout-main :is(.gacha-page,.gamePage) header .actions{margin-left:0;width:100%}html[data-ui=mobile] .layout-main :is(.settingsGrid,.participantForm,.basic,.shopping-prize-fields,.pieGrid,.split){grid-template-columns:minmax(0,1fr)!important}html[data-ui=mobile] .layout-main .summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-ui=mobile] .layout-main .summary article{min-width:0;padding:12px}html[data-ui=mobile] .layout-main .access-pieContent{grid-template-columns:minmax(0,1fr)!important}html[data-ui=mobile] .layout-main :is(.shopping-tiles,.appGrid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}html[data-ui=mobile] .layout-main :is(.shopping-tile,.appTile){min-width:0;overflow-wrap:anywhere}html[data-ui=mobile] .layout-main .shopping-quantity{gap:4px}html[data-ui=mobile] .layout-main .shopping-quantity button{min-width:0!important;flex:1 1;padding-left:6px;padding-right:6px}html[data-ui=mobile] .layout-main .shopping-quantity output{flex:none}html[data-ui=mobile] .layout-main .shopping-tile-body{padding:12px}html[data-ui=mobile] .layout-main .listener-add,html[data-ui=mobile] .layout-main .shopping-prize-actions{flex-wrap:wrap}html[data-ui=mobile] .layout-main .listener-add>input{flex:1 1 180px;min-width:0}html[data-ui=mobile] .layout-main .rarities{min-width:0}html[data-ui=mobile] .layout-main .rarity-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding:12px 0;gap:10px}html[data-ui=mobile] .layout-main .rarity-row.headings{display:none}html[data-ui=mobile] .layout-main .mobile-field-label{display:block;font-size:24px}html[data-ui=mobile] .layout-main .rarity-row>button{grid-column:1/-1}html[data-ui=mobile] .layout-main .rarity-row output{font-size:24px}html[data-ui=mobile] .layout-main .stock-remaining{font-size:22px}html[data-ui=mobile] .layout-main .prize-entry{overflow:visible}html[data-ui=mobile] .layout-main .prize-row{min-width:0;flex-wrap:wrap;gap:8px}html[data-ui=mobile] .layout-main .prize-row>input:not([type=file]):not(.stock-input){min-width:0;flex:1 1 100%}html[data-ui=mobile] .layout-main .prize-row>button{flex:1 1 auto}html[data-ui=mobile] .layout-main .prize-row>input.stock-input{min-width:0;flex:1 1 100px}html[data-ui=mobile] .layout-main .prize-row>select.prize-kind{min-width:0;flex:1 1 140px}html[data-ui=mobile] .layout-main .rewardRow{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 60px!important}html[data-ui=mobile] .layout-main .row input{min-width:0;flex-basis:100%}html[data-ui=mobile] .layout-main .file{flex-direction:column;align-items:stretch}html[data-ui=mobile] .layout-main .card{padding:14px 10px}html[data-ui=mobile] .layout-main .appTile{padding:16px}html[data-ui=mobile] .layout-main .historyPage li{flex-wrap:wrap}html[data-ui=mobile] .gacha-notice-popup{top:calc(var(--site-toolbar-height) + 8px);right:8px;width:calc(100vw - 16px)}html[data-ui=mobile] .gacha-notice-popup p{font-size:24px}html[data-ui=mobile]{--site-toolbar-height:calc(96px + env(safe-area-inset-top, 0px))}html[data-ui=mobile] :is(.layout-main,dialog){overflow-wrap:anywhere}html[data-ui=mobile] :is(.layout-main,dialog) :is(button,.appButton,.download,.manager-download){max-width:100%;padding:12px 16px;white-space:normal;overflow-wrap:anywhere}html[data-ui=mobile] :is(.layout-main,dialog) :is(input:not([type=radio]):not([type=checkbox]):not([type=range]),select,textarea){padding:12px;line-height:1.6}html[data-ui=mobile] :is(.layout-main,dialog) textarea{min-height:180px}html[data-ui=mobile] .layout-main :is(.panel h2 span,.score>span,.score>div,.declaration span,.listenerHistory li b,.listenerHistory li>span,.shopping-points,.manager-controls){font-size:24px!important;line-height:1.7}html[data-ui=mobile] :is(.layout-main,dialog) :is(h4,legend,summary){font-size:24px!important}html[data-ui=mobile] .layout-main :is(.shared-file-drop-guide strong,.shared-file-drop-area>strong,.shared-file-drop-area>b){font-size:24px!important;line-height:1.5;white-space:normal}html[data-ui=mobile] .layout-main :is(.shared-file-drop-guide span,.shared-file-drop-area>span){font-size:22px!important;line-height:1.6;white-space:normal}html[data-ui=mobile] .layout-main .shared-file-drop-area--compact{width:100%;flex-basis:100%;height:auto;min-height:116px;padding:12px!important}html[data-ui=mobile] .layout-main .shopping-quantity button{min-width:60px}html[data-ui=mobile] .site-mobile-menu nav a{min-height:96px;padding:20px 18px}html[data-ui=mobile] .site-mobile-menu .site-dialog-content{padding:30px}html[data-ui=mobile] .site-mobile-menu .site-dialog-content>header{gap:18px;margin-bottom:28px}html[data-ui=mobile] .site-mobile-menu h2{font-size:48px!important}html[data-ui=mobile] .site-mobile-menu :is(button,p,summary){font-size:36px!important}html[data-ui=mobile] .site-mobile-menu button{min-height:90px!important;padding:14px 20px}html[data-ui=mobile] .site-mobile-menu nav{gap:10px}html[data-ui=mobile] .site-mobile-menu .site-account{margin:24px 0}html[data-ui=mobile] .site-mobile-menu .site-legal-details{margin-top:24px;padding-top:18px}html[data-ui=mobile] .site-mobile-menu .site-legal-info>div{font-size:32px!important}html[data-ui=mobile] .site-mobile-menu .site-dialog-header-actions button{width:56px;height:56px;min-height:56px!important;padding:0}html[data-ui=mobile] .site-mobile-menu .site-settings-button svg{width:36px;height:36px}html[data-ui=mobile] .site-mobile-menu .sidebar-app-navigation .sidebar-tool-row>a{padding:12px 8px;min-height:72px}html[data-ui=mobile] .site-mobile-menu .sidebar-tool-icon{width:40px;font-size:32px}html[data-ui=mobile] .site-mobile-menu .sidebar-tool-label{font-size:24px}html[data-ui=mobile] .site-mobile-menu .sidebar-list-title{font-size:22px;margin-top:14px}html[data-ui=mobile] .site-mobile-menu .sidebar-app-navigation :is(.sidebar-favorite-toggle,.sidebar-favorite-step){width:44px;height:48px;min-height:48px!important;padding:0;font-size:26px!important}html[data-ui=mobile] .site-mobile-menu .sidebar-app-navigation .sidebar-favorite-drag{display:none}html[data-ui=mobile] .site-mobile-menu .sidebar-app-navigation .sidebar-favorite-step{display:block}html[data-ui=mobile] .site-display-options input{width:28px;height:28px}html[data-ui=mobile] .gacha-notice-popup :is(strong,button){font-size:24px}body,html{margin:0;padding:0}.layout-main{width:100%;margin:0 auto;padding:20px 60px 60px;box-sizing:border-box;background:#0E1117;color:#ffffff;position:relative;flex:1 1;overflow-y:auto}.layout-root{height:100vh;width:100vw}.layout-content,.layout-root{display:flex;background:#0E1117}.layout-content{flex:1 1;flex-direction:column;color:#ffffff}.image-pdf-layout .layout-content,.image-pdf-layout .layout-main,.video-editor-layout .layout-content,.video-editor-layout .layout-main{min-width:0}.mp4-lossless-cut-layout .layout-content,.mp4-lossless-cut-layout .layout-main,.video-editor-layout .layout-content,.video-editor-layout .layout-main{width:auto;min-width:0;max-width:100%;overflow-x:hidden}.mp4-lossless-cut-layout .layout-main,.video-editor-layout .layout-main{padding-bottom:8px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#1a1b1e;border-radius:10px}::-webkit-scrollbar-thumb{background:#555;border-radius:10px;border:2px solid #1a1b1e}::-webkit-scrollbar-thumb:hover{background:#777}::-webkit-scrollbar-button{background:#1a1b1e;height:12px}::-webkit-scrollbar-button:single-button{background-size:8px}::-webkit-scrollbar-track:horizontal{background:#1a1b1e;border-radius:10px}::-webkit-scrollbar-thumb:horizontal{background:#555;border-radius:10px;border:2px solid #1a1b1e}::-webkit-scrollbar-thumb:horizontal:hover{background:#777}.gacha-notice-popup{position:fixed;top:20px;right:20px;z-index:10000;display:flex;align-items:flex-start;gap:16px;width:min(460px,calc(100vw - 32px));box-sizing:border-box;padding:16px 18px;border:1px solid #0891b2;border-radius:10px;background:#12303c;color:#cffafe;box-shadow:0 12px 40px #0008}.gacha-notice-popup.is-error{background:#401d24;border-color:#ef4444;color:#fecaca}.gacha-notice-popup>div{flex:1 1;min-width:0}.gacha-notice-popup strong{font-size:14px}.gacha-notice-popup p{margin:6px 0 0;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.gacha-notice-popup button{flex:none;padding:2px 6px;border:0;border-radius:4px;background:transparent;color:inherit;font-size:22px;cursor:pointer}.gacha-notice-popup button:focus-visible{outline:2px solid currentColor}.gacha-page .stock-table{width:100%;min-width:480px;border-collapse:collapse;font-size:13px}.gacha-page .stock-table td,.gacha-page .stock-table th{padding:12px;text-align:left;border-bottom:1px solid #414958;overflow-wrap:anywhere}.gacha-page .stock-table th{background:#262b35;color:#aab8ca}.gacha-page .stock-table .sold-out .stock-balance{color:#fca5a5}.gacha-preview-dialog{width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:0;border:1px solid #4b5563;border-radius:12px;background:#20232b;color:#f8fafc;box-shadow:0 24px 80px #0008}.gacha-preview-dialog::backdrop{background:#000b}.gacha-preview-dialog.gacha-bulk-dialog{width:80vw;max-width:none}.bulk-input-modes{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.gacha-bulk-dialog .bulk-input-modes button.primary{background:#2563eb;border-color:#60a5fa;color:#fff}.bulk-csv-input{margin:16px 0}.bulk-csv-input small{font-size:13px;line-height:1.7}html[data-ui=mobile] .gacha-preview-dialog.gacha-bulk-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;overflow:auto}html[data-ui=mobile] .gacha-bulk-dialog .gacha-preview-content{box-sizing:border-box;min-height:100%;min-width:0;padding:max(16px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}html[data-ui=mobile] .gacha-bulk-dialog .bulk-input-grid .bulk-row-actions-heading{width:284px}html[data-ui=mobile] .gacha-bulk-dialog .bulk-input-grid .bulk-row-actions button{flex:0 0 auto;width:auto;min-width:44px;height:44px;min-height:44px!important;padding:6px 10px!important;font-size:16px!important;line-height:1.2!important;box-sizing:border-box;white-space:nowrap}html[data-ui=mobile] .gacha-bulk-dialog .bulk-grid-scroll{width:100%;max-width:100%;box-sizing:border-box;overflow-x:auto}html[data-ui=mobile] .gacha-bulk-dialog .bulk-input-grid{width:var(--bulk-mobile-width);min-width:var(--bulk-mobile-width)}html[data-ui=mobile] .gacha-bulk-dialog .bulk-input-grid col{width:var(--bulk-mobile-column-width)}.bulk-grid-scroll{max-height:min(52dvh,520px);overflow:auto;border:1px solid var(--theme-border,#4b5563);margin:12px 0}.bulk-input-grid{border-collapse:separate;border-spacing:0;width:100%;min-width:560px;table-layout:fixed}.bulk-input-grid td,.bulk-input-grid th{border-right:1px solid var(--theme-border,#4b5563);border-bottom:1px solid var(--theme-border,#4b5563);padding:0;position:relative}.bulk-input-grid th{background:var(--theme-heading,#262b35);padding:8px;font-size:13px;text-align:left}.bulk-input-grid thead th{position:sticky;top:0;z-index:2}.bulk-input-grid th:first-child{width:42px;text-align:center}.bulk-input-grid .bulk-row-actions-heading{width:206px}.bulk-row-actions{display:flex;align-items:center;justify-content:center;gap:3px;padding:4px}html .gacha-bulk-dialog .bulk-row-actions button{height:32px;min-height:32px!important;min-width:30px;padding:3px 6px!important;font-size:13px!important;line-height:1.2;white-space:nowrap}html .gacha-bulk-dialog .bulk-row-actions button.danger{background:#b91c1c;border-color:#991b1b;color:#fff}html .gacha-bulk-dialog .bulk-row-actions button.danger:hover:enabled{background:#991b1b}.bulk-input-grid:has(.bulk-row-actions){min-width:800px}.bulk-input-grid td:focus-within{outline:2px solid #3b82f6;outline-offset:-2px}.bulk-input-grid td.bulk-fill-target{box-shadow:inset 0 0 0 2px #3b82f6}html .gacha-bulk-dialog .bulk-input-grid :is(input,select){width:100%;min-width:0;box-sizing:border-box;border:0;border-radius:0;margin:0;padding:9px 15px 9px 8px;height:42px;min-height:42px;font:inherit;font-size:14px!important;background:var(--theme-field,#111827);color:var(--theme-text,#fff)}html .gacha-bulk-dialog .bulk-input-grid .bulk-fill-handle{position:absolute;right:0;bottom:0;width:12px;height:12px;min-width:12px;min-height:12px!important;padding:0!important;margin:0;border:2px solid var(--theme-field,#111827)!important;border-radius:0;background:#3b82f6!important;box-shadow:none;cursor:crosshair;touch-action:none;z-index:1}html .gacha-bulk-dialog .bulk-input-grid th{font-size:13px!important}html .gacha-bulk-dialog .bulk-input-grid thead .bulk-fill-mode{display:block;margin-top:6px;height:34px;min-height:34px;padding:4px;font-size:12px!important}.gacha-bulk-dialog p{color:#aab8ca;font-size:13px;line-height:1.7}.gacha-bulk-dialog label{display:flex;flex-direction:column;gap:8px}.gacha-bulk-dialog textarea{width:100%;box-sizing:border-box;min-height:160px;padding:12px;border:1px solid #4b5563;border-radius:6px;background:#111827;color:#fff;font:inherit;line-height:1.6;resize:vertical}.gacha-bulk-dialog textarea:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.gacha-bulk-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.gacha-bulk-dialog footer button:last-child{background:#2563eb;border-color:#60a5fa}.gacha-bulk-dialog [role=alert]{color:#fecaca}.gacha-preview-content{padding:20px}.gacha-preview-content header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.gacha-preview-content h2{margin:0;font-size:18px}.gacha-preview-dialog button{padding:9px 14px;border:1px solid #64748b;border-radius:6px;background:#374151;color:#fff;font:inherit;cursor:pointer}.gacha-preview-dialog button:hover{background:#46556e}.gacha-preview-dialog button:focus-visible{outline:2px solid #93c5fd;outline-offset:3px}.gacha-file-preview{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:16px}.gacha-file-preview img,.gacha-file-preview video{display:block;max-width:100%;max-height:65dvh;object-fit:contain}.gacha-file-preview audio{max-width:100%}.gacha-file-preview iframe{width:100%;height:65dvh;border:0}input[type=file]{max-width:100%;min-width:0;color:#aab8ca;font:inherit;cursor:pointer}input[type=file]::file-selector-button{margin-right:12px;padding:9px 16px;border:1px solid #64748b;border-radius:7px;background:linear-gradient(180deg,#46546b,#303c50);color:#f8fafc;font:inherit;font-weight:600;line-height:1.4;box-shadow:inset 0 1px 0 #ffffff12,0 2px 4px #0003;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}input[type=file]:not(:disabled)::file-selector-button:hover{border-color:#93c5fd;background:linear-gradient(180deg,#536783,#3b4e6b);box-shadow:inset 0 1px 0 #ffffff18,0 2px 6px #0004}input[type=file]:not(:disabled)::file-selector-button:active{background:#303c50;box-shadow:inset 0 2px 4px #0003}input[type=file]:focus-visible{outline:2px solid #93c5fd;outline-offset:3px;border-radius:7px}input[type=file]:disabled,input[type=file]:disabled::file-selector-button{cursor:not-allowed;opacity:.55}@media (prefers-reduced-motion:reduce){input[type=file]::file-selector-button{transition:none}}input[type=range]{-webkit-appearance:none;width:100%;height:6px;background:#1a1b1e;border-radius:4px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#3b82f6;border-radius:50%;cursor:pointer;border:2px solid #1a1b1e}input[type=range]::-webkit-slider-thumb:hover{background:#60a5fa}input[type=range]::-moz-range-thumb{width:16px;height:16px;background:#3b82f6;border-radius:50%;border:none;cursor:pointer}input[type=range]::-moz-range-track{background:#1a1b1e;height:6px;border-radius:4px}.appButton{display:inline-block;padding:10px 18px;background:#3b82f6;color:white;border-radius:6px;border:none;text-decoration:none;cursor:pointer;transition:background .2s ease,transform .1s ease}.appButton:hover{background:#2563eb;transform:translateY(-1px)}.appButton:active{background:#1d4ed8;transform:translateY(0)}.appButton:disabled{opacity:.6;cursor:not-allowed}.toolInfoButton{display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding:0 14px;border:1px solid #6b7280;border-radius:6px;background:#374151;color:#e5e7eb;font-size:14px;cursor:pointer}.toolInfoButton:focus-visible,.toolInfoButton:hover{background:#4b5563;border-color:#9ca3af}.toolSummaryBackdrop{position:fixed;z-index:10000;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.72)}.toolSummaryDialog{width:min(100%,700px);max-height:min(85vh,760px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #4b5563;border-radius:12px;background:#262730;color:#f9fafb;box-shadow:0 16px 48px rgba(0,0,0,.5)}.toolSummaryHeader{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #4b5563}.toolSummaryHeader h2{margin:0;font-size:19px}.toolSummaryClose{flex:0 0 auto;width:32px;height:32px;border:0;border-radius:6px;background:#374151;color:#f9fafb;font-size:25px;line-height:1;cursor:pointer}.toolSummaryClose:focus-visible,.toolSummaryClose:hover{background:#4b5563}.toolSummaryContent{overflow:auto;padding:16px 24px 24px;line-height:1.7;overflow-wrap:anywhere}.toolSummaryContent p{margin:0 0 12px}.toolSummaryContent ul{margin:0;padding-left:1.5em}.toolSummaryContent li{margin-bottom:6px}.toolSummaryContent li ul{margin-top:6px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{filter:invert(1) hue-rotate(180deg);opacity:.6;cursor:pointer}input[type=number]::-webkit-inner-spin-button:hover,input[type=number]::-webkit-outer-spin-button:hover{opacity:1}input[type=number]{-moz-appearance:textfield}.shared-file-drop-area{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:var(--shared-file-drop-height);min-height:var(--shared-file-drop-height);padding:16px!important;box-sizing:border-box;border:2px dashed #64748b!important;border-radius:9px!important;background:#20232b!important;cursor:pointer;text-align:center;overflow:auto}.shared-file-drop-area.active,.shared-file-drop-area.dragActive,.shared-file-drop-area.dragging,.shared-file-drop-area:focus-visible,.shared-file-drop-area:hover{border-color:#60a5fa!important;background:#263247!important}.shared-file-drop-area:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.file-drop-initializing .shared-file-drop-candidate{display:flex!important;align-items:center;justify-content:center;width:100%;height:var(--shared-file-drop-height);min-height:var(--shared-file-drop-height);padding:16px!important;box-sizing:border-box;border:2px dashed #64748b!important;border-radius:9px!important;background:#20232b!important;overflow:hidden;font-size:0!important}.fullscreen-tool-layout{height:100dvh}.fullscreen-tool-layout .layout-content{min-width:0;min-height:0}.fullscreen-tool-layout .layout-main{display:flex;flex-direction:column;min-width:0;min-height:0;padding:20px 40px;overflow:hidden}.fullscreen-tool-layout .layout-main h1{margin-top:0!important;margin-bottom:12px!important;font-size:26px!important;line-height:1.35!important}@media (max-width:900px){.fullscreen-tool-layout .layout-main{padding:16px 24px}}.layout-main.standard-tool-page{width:100%;max-width:none;padding:24px 40px 32px;box-sizing:border-box}.layout-main.standard-tool-page>div>h1,.layout-main.standard-tool-page>h1,.layout-main.standard-tool-page>section>h1{margin-top:0!important;margin-bottom:18px!important;font-size:32px!important;line-height:1.35!important}.layout-main.standard-tool-page>div,.layout-main.standard-tool-page>section{width:100%;box-sizing:border-box}@media (max-width:900px){.layout-main.standard-tool-page{padding:20px 24px 28px}.layout-main.standard-tool-page>div>h1,.layout-main.standard-tool-page>h1,.layout-main.standard-tool-page>section>h1{font-size:27px!important}}.layout-root .layout-main{padding-left:50px;padding-right:50px}.layout-content{min-width:0}.file-drop-initializing .shared-file-drop-candidate>*{visibility:hidden}[data-file-click-ready=true]{visibility:visible;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:var(--shared-file-drop-height);min-height:var(--shared-file-drop-height);padding:16px!important;box-sizing:border-box;overflow:auto;font-size:0}[data-file-click-ready=true]>:not(.shared-file-drop-guide){display:none!important}[data-file-click-ready=true]:focus-visible,[data-file-click-ready=true]:hover{border-color:#60a5fa!important;background:#263247!important}.shared-file-drop-guide{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}.shared-file-drop-guide strong{color:#f3f4f6;font-size:16px;line-height:1.4;font-weight:700}.shared-file-drop-guide span{color:#9ca3af;font-size:13px;line-height:1.35}.shared-file-drop-area>strong{color:#f3f4f6;font-size:16px;line-height:1.4;font-weight:700}.shared-file-drop-area>span{color:#9ca3af;font-size:13px;line-height:1.35}.shared-file-drop-area.shared-file-drop-area--compact{width:var(--shared-file-drop-compact-width);flex:0 0 var(--shared-file-drop-compact-width);height:var(--shared-file-drop-compact-height);min-height:var(--shared-file-drop-compact-height);padding:4px 8px!important;gap:1px;border-width:1px!important;border-radius:6px!important;overflow:hidden}.shared-file-drop-area.shared-file-drop-area--compact>b,.shared-file-drop-area.shared-file-drop-area--compact>strong{font-size:11px;line-height:1.2;white-space:nowrap}.shared-file-drop-area.shared-file-drop-area--compact>span{font-size:9px;line-height:1.2;white-space:nowrap}html .layout-root .layout-content>main.layout-main{padding-top:0!important}.app-page{--app-text-size:16px;--app-field-size:13px;--app-action-size:15px;--app-hint-size:12px;--app-title-size:26px;--app-heading-size:16px;--app-subheading-size:15px;--app-control-height:40px;--app-control-padding:9px 10px;--app-panel-padding:16px 18px;--app-heading-padding:8px 18px;font-size:var(--app-text-size);line-height:1.7;color:#f8fafc}html[data-ui=mobile] .app-page{--app-text-size:24px;--app-field-size:24px;--app-action-size:24px;--app-hint-size:22px;--app-title-size:40px;--app-heading-size:32px;--app-subheading-size:28px;--app-control-height:60px;--app-control-padding:12px 16px;--app-panel-padding:14px 10px;--app-heading-padding:12px 10px}html .layout-root .layout-main.app-page :is(p,li){font-size:var(--app-text-size)!important;line-height:1.7}html .layout-root .layout-main.app-page h1{font-size:var(--app-title-size)!important;line-height:1.4!important;margin-top:0!important;margin-bottom:0!important}html .layout-root .layout-main.app-page h2{font-size:var(--app-heading-size)!important;line-height:1.5!important;font-weight:700}html .layout-root .layout-main.app-page h3{font-size:var(--app-subheading-size)!important;line-height:1.5!important}html .layout-root .layout-main.app-page :is(label,th,td,output,.toolbar,.manager-controls,.historyPage li span){font-size:var(--app-field-size)!important;line-height:1.7}html .layout-root .layout-main.app-page :is(.hint,.intro,.muted,small,code,.badge,.localBadge,.statusBadge,.stock-remaining,.manager-expiry){font-size:var(--app-hint-size)!important;line-height:1.7}html .layout-root .layout-main.app-page :is(.notice,.error,.success){font-size:var(--app-field-size)!important;line-height:1.7}html .layout-root .layout-main.app-page :is(input,textarea,select,button,.download,.manager-download){font-family:inherit!important;font-size:var(--app-field-size)!important;line-height:1.6!important;box-sizing:border-box;border-radius:6px}html .layout-root .layout-main.app-page :is(input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]):not([type=hidden]),select,button,.download,.manager-download):not(.insert){min-height:var(--app-control-height)!important;padding:var(--app-control-padding)!important}html .layout-root .layout-main.app-page :is(input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]),select,textarea){background:#111827;color:#fff;border:1px solid #4b5563}html .layout-root .layout-main.app-page textarea{padding:var(--app-control-padding)!important;font-size:var(--app-text-size)!important}html .layout-root .layout-main.app-page input:read-only{background:#252d3b;color:#94a3b8}html .layout-root .layout-main.app-page button{font-weight:600}html .layout-root .layout-main.app-page .actions button{font-size:var(--app-action-size)!important}html .layout-root .layout-main.app-page :is(.actions,.controls,.toolbar,.titleRow,.manager-heading,.manager-controls){gap:10px;flex-wrap:wrap}html .layout-root .layout-main.app-page :is(.gacha-body,.panelBody,.manager-panel,.online-storage-page .card,.historyPage .tool,.access-stats-page .panel){padding:var(--app-panel-padding)!important}html .layout-root .layout-main.app-page :is(.gacha-panel,.gamePage .panel,.manager-panel,.online-storage-page .card,.historyPage .tool,.access-stats-page .panel){background:#20232b;border:1px solid #414958;border-radius:10px;margin-bottom:18px;min-width:0}html .layout-root .layout-main.app-page :is(.panel-heading,.gacha-panel>h2,.gamePage .panel>h2,.gamePage .panel>summary){padding:var(--app-heading-padding)!important;background:#262b35;border-bottom:1px solid #414958}html .layout-root .layout-main.app-page :is(.gacha-panel>summary,.gamePage .panel>summary,details>summary){font-size:var(--app-heading-size)!important;line-height:1.5}html .layout-root .layout-main.app-page .panel-heading h2{margin:0;padding:0!important;border:0!important;background:transparent!important}html .layout-root .layout-main.app-page :is(.online-storage-page .card>h2,.online-storage-page .card>.titleRow,.access-stats-page .panel>h2,.historyPage .tool>header){margin:-16px -18px 16px;padding:var(--app-heading-padding)!important;background:#262b35;border-bottom:1px solid #414958;border-radius:9px 9px 0 0}html .layout-root .layout-main.app-page :is(.manager-folder,.manager-breadcrumb button){background:transparent;border:0}html .layout-root .layout-main.app-page .online-storage-page .titleRow h2{margin:0}html[data-ui=mobile] .layout-root .layout-main.app-page :is(.online-storage-page .card>h2,.online-storage-page .card>.titleRow,.access-stats-page .panel>h2,.historyPage .tool>header){margin:-14px -10px 14px}.reward-settings .shopping-prize-fields{display:grid;grid-template-columns:minmax(160px,2fr) repeat(3,minmax(100px,1fr));gap:12px}.reward-settings .shopping-prize-fields.without-stock{grid-template-columns:minmax(160px,2fr) repeat(2,minmax(100px,1fr))}.reward-settings .shopping-prize-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.reward-settings .shopping-prize-entry{margin-bottom:16px}.listener-registration textarea{width:100%;box-sizing:border-box;resize:vertical}@media(max-width:700px){.reward-settings .shopping-prize-fields,.reward-settings .shopping-prize-fields.without-stock{grid-template-columns:minmax(0,1fr)}}html[data-ui=mobile] .reward-settings .shopping-prize-fields{grid-template-columns:minmax(0,1fr)!important}.roulette-fields{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(100px,1fr));gap:12px}.roulette-page select{background:#111827;color:#fff;border:1px solid #4b5563;border-radius:6px;padding:9px 10px;font:inherit;min-width:0;width:100%}.roulette-file-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.roulette-prize{margin-bottom:16px}.roulette-wheel-area{margin:24px auto;max-width:640px}.roulette-wheel-wrap{position:relative;width:min(100%,480px);margin:auto}.roulette-wheel-wrap svg{display:block;width:100%;height:auto}.roulette-pointer{position:absolute;top:1%;left:50%;transform:translateX(-50%);z-index:1;color:#fff;font-size:40px;text-shadow:0 2px 5px #000}.roulette-legend{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0}.roulette-hit{font-weight:700;font-size:24px;text-align:center}@media(max-width:720px){.roulette-fields{grid-template-columns:minmax(0,1fr)}}html[data-ui=mobile] .roulette-fields{grid-template-columns:minmax(0,1fr)}@media(prefers-reduced-motion:reduce){.roulette-wheel-wrap svg{transition:none!important}}.dice-page .dice-count{min-width:160px}.dice-page .dice-count select{padding:10px 12px;border:1px solid #4b5563;border-radius:6px;background:#111827;color:#fff;font:inherit}.dice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px 12px;margin:24px auto;max-width:1000px}.dice-item{display:flex;flex-direction:column;align-items:center;gap:12px}.dice-stage{width:150px;height:150px;perspective:700px;display:grid;place-items:center}.dice-cube{position:relative;width:96px;height:96px;transform-style:preserve-3d;transition:none}.dice-cube.is-rolling{transition:transform 1.1s cubic-bezier(.15,.65,.2,1)}.dice-face{position:absolute;inset:0;box-sizing:border-box;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:8px;padding:14px;border:2px solid #cbd5e1;border-radius:12px;background:#f8fafc;box-shadow:inset 0 0 14px #94a3b855;backface-visibility:hidden}.dice-dot{border-radius:50%;background:#172033;box-shadow:inset 0 2px 3px #0005}.dice-one .dice-dot{background:#dc2626}.dice-result{text-align:center;overflow-wrap:anywhere}.dice-page .dice-total{font-size:32px;font-weight:700}html[data-ui=mobile] .dice-page .dice-total{font-size:36px!important}@media(prefers-reduced-motion:reduce){.dice-cube.is-rolling{transition:none}}.number-roulette-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:end}.number-roulette-range>span{padding-bottom:10px}.gacha-page .number-roulette-checkbox{display:flex;flex-direction:row;align-items:center;gap:12px;margin-top:20px}.gacha-page .number-roulette-checkbox input{width:24px;height:24px;flex:none;accent-color:#2563eb}.number-roulette-result{text-align:center;font-size:32px;font-weight:700;overflow-wrap:anywhere}.number-roulette-numbers{display:flex;flex-wrap:wrap;gap:10px}.number-roulette-numbers span{border:1px solid #4b5563;background:#111827;border-radius:6px;padding:8px 14px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.number-roulette-history{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0}html[data-ui=mobile] .number-roulette-numbers span{font-size:24px}.license-page select{padding:9px 10px;background:#111827;color:#fff;border:1px solid #4b5563;border-radius:6px;font:inherit;width:100%}.license-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;align-items:end}.license-page .license-colors input[type=color]{width:100%;height:46px;padding:4px!important;cursor:pointer}.license-editor-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.license-portrait-canvas{display:block;width:min(100%,480px);height:auto;margin:16px auto;touch-action:none;border:2px solid #60a5fa;border-radius:8px;cursor:grab}.license-portrait-canvas:active{cursor:grabbing}.license-portrait-canvas:focus-visible{outline:3px solid #93c5fd;outline-offset:4px}.license-preview{display:block;width:100%;height:auto;border-radius:10px}.license-floating-preview{position:fixed;right:16px;bottom:16px;z-index:500;width:min(400px,calc(100vw - 24px),70vh);background:var(--theme-panel,#20232b);color:var(--theme-text,#f8fafc);border:1px solid var(--theme-border,#414958);border-radius:10px;box-shadow:0 6px 28px #0005;overflow:hidden}.license-floating-heading{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 6px 34px;background:var(--theme-heading,#262b35);cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}.license-floating-heading button{--app-control-height:32px;--app-control-padding:0;width:32px;height:32px;font-size:22px!important}.license-floating-preview .license-preview{border-radius:0}.license-preview-viewport{position:relative;overflow:hidden;touch-action:none;background:var(--theme-panel,#20232b);cursor:grab}.license-preview-viewport:active{cursor:grabbing}.license-preview-viewport canvas{transform-origin:center}.license-preview-zoom{position:absolute;bottom:8px;left:8px;background:#172033cc;color:#fff;font-size:12px;padding:2px 6px;border-radius:4px;pointer-events:none}.license-floating-preview{max-width:calc(100vw - 24px)}.license-preview-resize{position:absolute;width:32px;height:32px;touch-action:none;z-index:2}.license-preview-resize.nw{left:0;top:0;cursor:nwse-resize}.license-preview-resize.ne{right:0;top:0;width:8px;height:8px;cursor:nesw-resize}.license-preview-resize.sw{left:0;bottom:0;cursor:nesw-resize}.license-preview-resize.se{right:0;bottom:0;cursor:nwse-resize}.license-preview-reopen{position:fixed;right:16px;bottom:16px;z-index:500;box-shadow:0 3px 16px #0003}.license-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}html[data-ui=mobile] .license-colors,html[data-ui=mobile] .license-fields{grid-template-columns:minmax(0,1fr)}.license-page .license-workspace{border:0;min-width:0;margin:0;padding:0}.license-page input[aria-invalid=true]{border-color:#ef4444}.image-resize-page select{width:100%;padding:9px 10px;border:1px solid #4b5563;border-radius:6px;background:#111827;color:#fff;font:inherit}.image-resize-page .gacha-body>label+label{margin-top:16px}.resize-dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.gacha-page .resize-checkbox{display:flex;flex-direction:row;align-items:center;gap:12px;margin-top:20px}.gacha-page .resize-checkbox input{width:24px;height:24px;flex:none;accent-color:#2563eb}.resize-drop.is-dragging{outline:3px solid #60a5fa;outline-offset:3px}.resize-sources{list-style:none;padding:0}.resize-sources li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #4b5563;padding:8px 0}.resize-sources span{overflow-wrap:anywhere;min-width:0}.resize-sources button{flex:none}.resize-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.resize-result{min-width:0;overflow:hidden;border:1px solid #4b5563;border-radius:8px}.resize-result img{display:block;width:100%;height:220px;object-fit:contain;background:repeating-conic-gradient(#dce2eb 0 25%,#fff 0 50%) 50% /20px 20px}.resize-result>div{padding:12px}.resize-result h3,.resize-result p{overflow-wrap:anywhere}html[data-ui=mobile] .resize-dimensions{grid-template-columns:minmax(0,1fr)}html[data-ui=mobile] .resize-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fortune-image{display:block;width:min(100%,500px);height:auto;margin:20px auto;border-radius:8px}.fortune-icon-preview{display:block;width:120px;height:120px;object-fit:contain;margin:12px 0}.fortune-rank{display:grid;grid-template-columns:minmax(120px,2fr) minmax(100px,1fr) 90px 44px 44px 44px;gap:10px;align-items:end;margin:12px 0}.fortune-rank output{align-self:center}.fortune-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:16px 0}@media(max-width:720px){.fortune-rank{grid-template-columns:repeat(2,minmax(0,1fr))}}html[data-ui=mobile] .fortune-rank,html[data-ui=mobile] .fortune-values{grid-template-columns:minmax(0,1fr)}.masking-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.video-editor-player{display:block;width:100%;max-height:65vh;object-fit:contain;background:#111;margin:0 0 16px;border-radius:8px}.video-editor-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.delivery-prize-fields{display:grid;grid-template-columns:minmax(140px,2fr) minmax(110px,1fr) minmax(110px,1fr);gap:12px}.delivery-prize-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.delivery-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin:16px 0}.delivery-page .shopping-tile{border:2px solid var(--theme-border,#414958);border-radius:10px;overflow:hidden;background:var(--theme-panel,#171e2a)}.delivery-page .shopping-tile.is-selected{border-color:#60a5fa;box-shadow:0 0 0 2px #60a5fa40}.delivery-page .shopping-tile-image{aspect-ratio:1;display:flex;align-items:center;justify-content:center;background:#111827}.delivery-page .shopping-tile-image img{width:100%;height:100%;object-fit:contain}.delivery-page .shopping-tile-body{padding:12px}.delivery-page .shopping-tile-body h3{margin:0 0 8px;overflow-wrap:anywhere}.delivery-quantity{display:flex;align-items:center;justify-content:space-between;gap:8px}.delivery-quantity button{--app-control-padding:4px;--app-field-size:20px;flex:0 0 40px;width:40px}.delivery-quantity output{white-space:nowrap}.delivery-page select{width:100%}html[data-ui=mobile] .delivery-prize-fields{grid-template-columns:1fr}html[data-ui=mobile] .delivery-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.video-editor-comparison{width:100%;border-collapse:collapse;margin-bottom:12px}.video-editor-comparison :is(th,td){padding:10px;text-align:left;border-bottom:1px solid var(--theme-border,#414958)}.video-editor-comparison thead{background:var(--theme-heading,#262b35)}.masking-controls>label{flex:1 1 220px}.masking-palette{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}html .layout-root .layout-main.app-page .masking-page .masking-palette button{--app-control-height:32px;--app-control-padding:0;background:var(--swatch)!important;width:32px;height:32px;min-height:32px!important;padding:0!important;border:1px solid #94a3b8!important;border-radius:50%}.masking-palette button[aria-pressed=true]{outline:3px solid #3b82f6;outline-offset:2px}.masking-canvas{position:relative;width:100%;overflow:hidden;background:repeating-conic-gradient(#dedede 0 25%,#f7f7f7 0 50%) 0/20px 20px;border:1px solid #94a3b8;border-radius:6px}.masking-canvas canvas{display:block;width:100%;touch-action:none;cursor:crosshair}.masking-canvas.is-fullscreen,.masking-canvas:fullscreen{position:fixed;inset:0;z-index:10000;width:100%;height:100dvh;border:0;border-radius:0}.masking-canvas-tools{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:2;display:flex;gap:8px}.masking-canvas-tools button{--app-control-height:40px;--app-control-padding:0;display:grid;place-items:center;width:40px;height:40px;font-size:28px!important;line-height:1!important}.masking-canvas-tools svg{display:block}html[data-ui=mobile] .masking-canvas-tools button{--app-control-height:48px;width:48px;height:48px}.masking-placeholder{color:#374151;background:#ffffffdd;padding:8px 12px}.masking-brush-sample,.masking-placeholder{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.masking-brush-sample{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #111;background:#80808066}.gacha-page .fortune-add-item{--app-field-size:var(--app-heading-size);--app-control-padding:var(--app-heading-padding);--app-control-height:0px;display:block;width:100%;margin:14px 0 0}html .layout-root .layout-main.app-page .gacha-page button.fortune-add-item{line-height:1.5!important;padding:14px 18px!important}html[data-ui=mobile] .layout-root .layout-main.app-page .gacha-page button.fortune-add-item{--app-control-padding:14px 18px}html .layout-root .layout-main.app-page .gacha-page button.insert{min-height:18px!important;height:18px!important;padding:0 8px!important;line-height:16px!important;font-size:14px!important;margin:2px 0!important}html[data-ui=mobile] .layout-root .layout-main.app-page .gacha-page button.insert{min-height:20px!important;height:20px!important;line-height:18px!important;font-size:16px!important}.settings-accessible-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.settings-column-headings{color:var(--theme-muted,#aab8ca);font-weight:600;font-size:13px;margin:12px 0 8px}.probability-mode-select{display:flex;flex-direction:column;gap:8px;max-width:320px;margin:12px 0 18px}.probability-input{min-width:0}.probability-input small{margin:0;overflow-wrap:anywhere}.high-low-rules>label{display:flex;flex-direction:column;gap:10px;margin:16px 0}.high-low-rules label>span,.high-low-suit-options{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.high-low-rule-value input{max-width:200px}.high-low-suit-options label{display:flex;align-items:center;gap:8px;padding:10px}html .layout-root :is(.high-low-rules,.high-low-suit-options) input[type=checkbox]{width:22px;height:22px;min-height:0;flex:none;margin:0;padding:0}.high-low-suit-removal{margin-bottom:20px}.high-low-revival{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:12px}.high-low-revival label{display:flex;flex-direction:column;gap:6px;font-size:12px}.high-low-revival input{max-width:220px}.settings-inline-headings{display:flex;flex-wrap:wrap;gap:8px 20px}.settings-inline-headings span:not(:last-child):after{content:" /";padding-left:12px}html[data-ui=mobile] .layout-main .settings-column-headings:not(.rarity-row){display:flex!important;flex-wrap:wrap;gap:8px 16px}html[data-ui=mobile] .layout-main .settings-column-headings:not(.rarity-row) span:not(:last-child):after{content:" /";padding-left:8px}html[data-ui=mobile] .layout-main .rarity-row.headings{display:grid!important}html[data-ui=mobile] .layout-main .rarity-row.headings span:empty{display:none}html[data-ui=mobile] .layout-root .layout-main .gacha-page .rarity-row .mobile-field-label{display:none!important}html[data-theme=light] input[type=number]{color-scheme:light}html[data-theme=light] input[type=number]::-webkit-inner-spin-button,html[data-theme=light] input[type=number]::-webkit-outer-spin-button{filter:none!important;color-scheme:light;opacity:1}html[data-theme=dark]{color-scheme:dark}html[data-theme=light]{color-scheme:light;--theme-page:#ffffff;--theme-panel:#ffffff;--theme-heading:#F0F2F6;--theme-field:#ffffff;--theme-text:#172033;--theme-muted:#526078;--theme-border:#cbd0d6}.site-theme-options{margin-bottom:24px}html[data-theme=light] .layout-root .site-toolbar{background:var(--theme-page)!important;border-bottom:0!important}html[data-theme=light] #__next,html[data-theme=light] .layout-content,html[data-theme=light] .layout-main,html[data-theme=light] .layout-root,html[data-theme=light] body{background:var(--theme-page)!important;color:var(--theme-text)!important}html[data-theme=light] :is(.gacha-page,.gamePage,.shopping-page,.historyPage,.online-storage-page,.storage-manager,.access-stats-page,.homePage,.auth-gate){color:var(--theme-text)!important}html[data-theme=light] .layout-main :is(.dice-item,.number-roulette-result,.roulette-hit),html[data-theme=light] :is(.layout-main,dialog) :is(h1,h2,h3,h4,label,legend,output,th,td){color:var(--theme-text)!important}html[data-theme=light] :is(.layout-main,dialog) :is(p,small,.hint,.intro,.muted,.lead,.notice,.status,.toolbar,.manager-controls,.stock-remaining,.shopping-points),html[data-theme=light] :is(.roulette-legend,.number-roulette-history){color:var(--theme-muted)!important}html[data-theme=light] :is(.gacha-panel,.panel,.card,.appTile,.manager-panel,.manager-urls,.tool,.auth-gate,.shopping-tile,.shopping-summary,.summary article,.history-body,.attempt-body,.listenerHistory,.listenerHistory li,.file,.upload-progress),html[data-theme=light] :is(.site-dialog,.gacha-preview-dialog,.gacha-notice-popup,.tool-summary-dialog,.modal-content,.dialog-content){background:var(--theme-panel)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}html[data-theme=light] .layout-main.app-page :is(.gacha-panel h2,.panel h2,summary),html[data-theme=light] :is(.panel-heading,.gacha-panel h2,.panel h2,.panel>h2,.card>h2,.titleRow,.historyPage .tool>header,summary){background:var(--theme-heading)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}html[data-theme=light] .layout-root .layout-main.app-page :is(input,textarea,select),html[data-theme=light] :is(.layout-main,dialog) :is(input,textarea,select){background:var(--theme-field)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}html[data-theme=light] :is(input,textarea)::placeholder{color:#748198!important}html[data-theme=light] .layout-root .layout-main.app-page input:read-only{background:#edf1f6!important;color:#526078!important}html[data-theme=light] :is(.layout-main .secondary,.historyPage button),html[data-theme=light] :is(.site-dialog,.site-account,.layout-main,.gacha-preview-dialog,.gacha-notice-popup) button:not(.sidebar-favorite-toggle):not(.sidebar-favorite-drag):not(.sidebar-favorite-step):not(.site-settings-button):not(.masking-color):not(.primary):not(.active):not(.danger):not(.manager-delete):not(.manager-folder):not(.appButton){background:#f0f1f3!important;color:var(--theme-text)!important;border-color:#b8bec6!important}html[data-theme=light] :is(.site-toolbar .site-menu-button,.manager-breadcrumb button,.manager-folder,.layout-main .insert){background:transparent!important;color:#2256a3!important}html[data-theme=light] :is(.layout-main,dialog) :is(.primary,.download,.manager-download,.appButton){color:#fff!important}html[data-theme=light] :is(.layout-main,dialog) :is(.danger,.manager-delete){color:#fff!important}html[data-theme=light] .site-display-options label{border-color:var(--theme-border)}html[data-theme=light] .site-display-options label:has(input:checked),html[data-theme=light] .site-mobile-menu nav a[aria-current=page]{background:#dbeafe!important;border-color:#60a5fa!important}html[data-theme=light] .site-mobile-menu nav a{color:var(--theme-text)}html[data-theme=light] :is(.site-settings-note,.site-display-options small){color:var(--theme-muted)!important}html[data-theme=light] #tool-sidebar{background:#F0F2F6!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}html[data-theme=light] #tool-sidebar :is(a,button,span),html[data-theme=light] .site-legal-info :is(div,span,p,a){color:var(--theme-text)!important}html[data-theme=light] #tool-sidebar>div{color:var(--theme-muted)!important}html[data-theme=light] button[aria-controls=tool-sidebar]{color:#000!important}html[data-theme=light] .site-legal-info a{color:#1d4ed8!important}html[data-theme=light] :is(th,td,details,.history-attempt,.site-legal-details){border-color:var(--theme-border)!important}html[data-theme=light] :is(.shared-file-drop-area,.drop,.shopping-tile-image,.number-roulette-numbers span){background:#f5f5f5!important;color:var(--theme-text)!important;border-color:#b8bec6!important}html[data-theme=light] :is(.shopping-image-placeholder,.shared-file-drop-guide span,.shared-file-drop-guide strong){color:#42618a!important}html[data-theme=light] .shopping-tile.is-selected{border-color:#3b82f6!important}html[data-theme=light] :is(.badge,.localBadge,.statusBadge){background:#ccfbf1!important;color:#115e59!important}html[data-theme=light] :is(.storage-warning,.management-warning){background:#fff7df!important;color:#704900!important;border-color:#e9c56a!important}html[data-theme=light] :is(.storage-warning,.management-warning) :is(p,strong){color:#704900!important}html[data-theme=light] :is(.error,.manager-error,.gacha-notice-popup.is-error){background:#fff1f2!important;color:#991b1b!important;border-color:#ef9a9a!important}html[data-theme=light] .gacha-notice-popup.is-error :is(p,strong){color:#991b1b!important}html[data-theme=light] .gacha-notice-popup:not(.is-error) :is(p,strong){color:#164e63!important}html[data-theme=light] .stock-table .sold-out{background:#fff1f2!important}html[data-theme=light] .stock-balance strong{color:var(--theme-text)}html[data-theme=light],html[data-theme=light] *{scrollbar-color:#b8bec6 #f3f4f6}html[data-theme=light] ::-webkit-scrollbar-track,html[data-theme=light] ::-webkit-scrollbar-track:horizontal{background:#f3f4f6}html[data-theme=light] ::-webkit-scrollbar-thumb,html[data-theme=light] ::-webkit-scrollbar-thumb:horizontal{background:#b8bec6;border:2px solid #f3f4f6}html[data-theme=light] ::-webkit-scrollbar-thumb:horizontal:hover,html[data-theme=light] ::-webkit-scrollbar-thumb:hover{background:#969ea9}html[data-theme=light] ::-webkit-scrollbar-button,html[data-theme=light] ::-webkit-scrollbar-corner{background:#f3f4f6}html[data-theme=light] #tool-sidebar div{color:var(--theme-muted)!important}html[data-theme=light] .toolSummaryDialog{background:var(--theme-panel)!important;color:var(--theme-text)!important;border-color:var(--theme-border)}html[data-theme=light] .toolSummaryDialog :is(h2,h3,p,li,th,td,strong){color:var(--theme-text)!important}html[data-theme=light] .toolSummaryClose{background:#f0f1f3;color:var(--theme-text)}html[data-theme=light] .toolSummaryContent :is(a,code){color:#1d4ed8}html[data-theme=light] .layout-main :is(.score,.declaration,.summary article) :is(strong,b,span,div){color:var(--theme-text)!important}html[data-theme=light] .layout-main :is(.shopping-points strong,.manager-expiry){color:#1d4ed8!important}html[data-theme=light] .toolInfoButton{color:#2256a3}html[data-theme=light] :is(.stock-table,.players) :is(thead,th){background:var(--theme-heading)!important;color:var(--theme-text)!important}html[data-theme=light] .gamePage .players tr.active{background:#eff6ff!important}html[data-theme=light] .gamePage .players tr.lost{background:#fff1f2!important}html[data-theme=light] .gamePage .players tr.withdraw{background:#fff7e6!important}html[data-theme=light] :is(.score,.finishedNotice,.historyPage .notice,.historyPage .empty,.gacha-page .notice){background:#f5f5f5!important;color:#374151!important;border-color:#cbd0d6!important}html[data-theme=light] .gamePage .panel h2 span{color:#425f9e!important}html[data-theme=light] .gamePage .statusBadge.lost{background:#fee2e2!important;color:#991b1b!important}html[data-theme=light] .gamePage .statusBadge.withdraw{background:#fef3c7!important;color:#854d0e!important}html[data-theme=light] .track{background:#dce5f1!important}html[data-theme=light] .access-pie:after{background:var(--theme-panel)!important}html[data-theme=light] .access-pie>span{color:var(--theme-text)!important}html[data-theme=light] :is(.barRow time,.access-lineLegend,.access-pieContent li,.access-pieContent strong){color:var(--theme-muted)!important}html[data-theme=light] .access-lineWrap text{fill:var(--theme-muted)!important}html[data-theme=light] .access-gridLine{stroke:#cbd5e1!important}html[data-theme=light] :is(.headings,.cardStage small,.declaration span,.judgement small,.rewardPreview small,.listenerHistory li>span){color:var(--theme-muted)!important}html[data-theme=light] :is(.toolSummaryContent pre,.toolSummaryContent code){background:#edf2f8!important;color:#224975!important}html[data-theme=light] .toolSummaryClose,html[data-theme=light] :is(.site-dialog,.site-account,.layout-main,.gacha-preview-dialog,.gacha-notice-popup) button:not(.sidebar-favorite-toggle):not(.sidebar-favorite-drag):not(.sidebar-favorite-step):not(.site-settings-button):not(.masking-color):not(.primary):not(.active):not(.danger):not(.manager-delete):not(.manager-folder):not(.insert){background:#f0f1f3!important;color:#172033!important;border:1px solid #aeb4bd!important;box-shadow:0 1px 2px #17203320}html[data-theme=light] .gamePage button.active,html[data-theme=light] .layout-main :is(.download,.manager-download,.appButton),html[data-theme=light] :is(.layout-main,dialog) button.primary{background:#2563eb!important;color:#fff!important;border:1px solid #1d4ed8!important;box-shadow:0 1px 2px #17203325}html[data-theme=light] :is(.layout-main,dialog) :is(button.danger,button.manager-delete){background:#b91c1c!important;color:#fff!important;border:1px solid #991b1b!important}html[data-theme=light] :is(.layout-main,dialog) button:enabled:hover{filter:brightness(.94)}html[data-theme=light] :is(.layout-main,dialog) button:focus-visible{outline:3px solid #2563eb!important;outline-offset:3px}html[data-theme=light] :is(.layout-main,dialog,.site-account) button:disabled{opacity:.45!important;box-shadow:none!important;cursor:not-allowed}html[data-theme=light] .layout-main .insert{background:#f5f5f5!important;color:#374151!important;border-color:#b8bec6!important}html[data-theme=light] :is(.manager-breadcrumb button,.manager-folder){background:transparent!important;box-shadow:none!important}html .layout-root .layout-content>.site-toolbar{background:var(--theme-page,#0e1117)!important;border:0!important;box-shadow:none!important}html .layout-root .site-toolbar .site-menu-button,html .layout-root .site-toolbar .site-menu-button:is(:hover,:active,:focus){background:transparent!important;border:0!important;box-shadow:none!important}html[data-theme=light] .layout-root .site-toolbar .site-menu-button,html[data-theme=light] .layout-root .site-toolbar .site-menu-button:is(:hover,:active,:focus){color:#000!important}html[data-theme=light] #tool-sidebar .site-legal-info a,html[data-theme=light] .layout-main a:not(.appButton):not(.download):not(.manager-download),html[data-theme=light] .site-legal-info a,html[data-theme=light] .toolSummaryContent a{color:#4ea1ff!important;text-decoration:none!important}html[data-theme=light] #tool-sidebar .site-legal-info a:hover,html[data-theme=light] .layout-main a:not(.appButton):not(.download):not(.manager-download):hover,html[data-theme=light] .site-legal-info a:hover{color:#4ea1ff!important}html[data-theme=light] :is(.resize-result,.resize-sources li){border-color:var(--theme-border)}html[data-theme=light] .layout-main .shared-file-drop-area>b,html[data-theme=light] .layout-main .shared-file-drop-area>strong,html[data-theme=light] .layout-main .shared-file-drop-guide strong{color:#172033!important}html[data-theme=light] .layout-main .shared-file-drop-area>span,html[data-theme=light] .layout-main .shared-file-drop-guide span{color:#42618a!important}html[data-theme=light] :is(.sidebar-header,.site-dialog-header-actions) .site-settings-button{background:transparent;color:#000!important}html[data-theme=light] #tool-sidebar .sidebar-inner{border-color:var(--theme-border)}html[data-theme=light] #tool-sidebar .sidebar-tool-row>a[aria-current=page]{background:#dbeafe}html[data-theme=light] :is(#tool-sidebar,.site-mobile-menu) .sidebar-favorite-toggle[data-selected=true]{color:#2563eb!important}html[data-theme=light] :is(#tool-sidebar,.site-mobile-menu) .sidebar-favorite-toggle[data-selected=false]{color:#748198!important}html[data-theme=light] :is(#tool-sidebar,.site-mobile-menu) :is(.sidebar-favorite-drag,.sidebar-favorite-step){color:#172033!important}