/* Generated fuse-bead sprites, with restrained motion on the existing product surface. */
.count-row{min-height:83px;gap:12px}.bag-objects{display:flex;gap:8px;overflow:auto;min-width:0;flex:1;scrollbar-width:none}.bag-objects::-webkit-scrollbar{display:none}.bag-object{background:none;display:flex;align-items:center;gap:12px;flex-shrink:0;text-align:left;padding:5px 2px;max-width:190px;border-radius:5px}.bag-object .pixel-bag-art{width:52px;height:68px;object-fit:contain;flex-shrink:0}.bag-object>span{font-size:14px;max-width:86px;overflow-wrap:anywhere;line-height:1.5}.bag-object:hover{background:var(--soft)}.pixel-bag-art{object-fit:contain}.bag-preview>.pixel-bag-art{width:86px;height:100px}.stepper{gap:9px}.stepper button{flex-shrink:0}.list-tools{min-height:46px;margin-top:9px;gap:10px}.list-tools h2{position:static;clip:auto;width:auto;height:auto;font-size:17px;margin-right:auto;overflow:visible}.list-tools #add.add-outline{display:flex;align-items:center;justify-content:center;gap:4px;background:transparent;color:var(--ink);border:1px solid #b2c5ba;border-radius:10px;width:auto;min-height:34px;font-size:12px;font-weight:500;padding:6px 9px;white-space:nowrap}.list-tools #add img{filter:none;width:17px;height:17px}.group-heading{margin-top:6px}.item{min-height:74px;gap:10px}.item-name-line{display:flex;align-items:center;gap:6px}.item-name{font-size:15px;line-height:1.5}.item-sprite{width:33px;height:38px;object-fit:contain;flex-shrink:0;image-rendering:auto}.item-name-line .item-name{flex:0 1 auto}.item-copy{flex:1}.item-meta{max-width:105px;flex-shrink:0}.item-status{font-size:11px;padding:5px 7px}.item.done .item-sprite{opacity:.4}.item.done .item-name{color:#718078}.item-detail{gap:5px}.portal-wrap{padding:3px 18px 0;height:88px;background:var(--bg)}.packing-portal{position:relative;display:block;width:100%;height:86px;min-height:86px;border:0;border-radius:0;background:none;padding:0;color:#fff}.packing-portal:hover{filter:none}.portal-art{width:100%;height:86px;object-fit:fill;pointer-events:none}.packing-portal>span{position:absolute;left:12%;right:12%;top:50%;transform:translateY(-50%);font-size:13px;font-weight:600;text-align:center;line-height:1.4;pointer-events:none;text-shadow:0 1px 1px #000}.bottom{background:var(--bg)}.packing-mode .app{padding-bottom:190px}.falling-sprite{position:fixed;width:42px;height:42px;object-fit:contain;z-index:50;pointer-events:none;will-change:transform,opacity}.icon-preview{display:flex;justify-content:center;margin-top:8px;min-height:45px}.icon-preview img{width:44px;height:44px}.setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px}.setting-toggle input{width:20px;height:20px}.inventory-modal{width:470px;padding:20px;max-height:calc(100dvh - 20px)}.inventory-modal .dialog-head{margin-bottom:4px}.inventory-modal h2{font-size:22px}.inventory-modal #inventoryCount{font-size:12px;margin-top:6px}.inventory-modal .chips{padding:10px 0 4px}.inventory-scene{position:relative;width:100%;aspect-ratio:1;max-width:390px;margin:8px auto 0}.inventory-bag-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:0;pointer-events:none}.inventory-contents{position:absolute;inset:0;z-index:1}.inventory-object{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;border-radius:4px;background:transparent;padding:1px;width:40px;height:40px;min-height:40px;border:0}.inventory-object:hover,.inventory-object:focus-visible{background:#eef2e9aa}.inventory-object .item-sprite{width:35px;height:35px}.inventory-hint{text-align:center;margin:3px 0 10px;font-size:12px}.inventory-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 0 0;font-size:14px}.inventory-selection span{overflow-wrap:anywhere}.inventory-selection button{font-size:12px;min-height:36px;flex-shrink:0;padding:8px 10px}.inventory-modal #moreInventory{display:block;margin:0 auto;font-size:13px}.inventory-modal .suitcase-scene{margin-top:0}.sr-only{position:absolute!important}.inventory-modal .chip{font-size:12px}.item-location{max-width:110px;line-height:1.4}.app>header{margin-bottom:14px}#portalWrap.hide+.bottom-nav{border-top:1px solid var(--line)}@media(max-width:350px){.count-row{gap:5px;min-height:76px}.bag-object{gap:7px}.bag-object .pixel-bag-art{width:43px;height:58px}.bag-object>span{max-width:62px;font-size:12px}.stepper{gap:5px}.stepper button{width:32px;height:34px;min-height:34px;padding:7px}.stepper output{width:20px}.item-name-line{gap:3px}.item-name{font-size:13px}.item-sprite{width:27px;height:33px}.item-meta{max-width:84px}.item-status{font-size:10px;padding:4px 6px}.item-location{font-size:10px}.list-tools h2{font-size:16px}.list-tools #add.add-outline{font-size:11px;padding:6px}.portal-wrap{padding:2px 12px 0;height:77px}.packing-portal,.portal-art{height:75px;min-height:75px}.packing-portal>span{font-size:12px}.inventory-modal{padding:16px}.inventory-object{width:34px;height:34px;min-height:34px}.inventory-object .item-sprite{width:30px;height:30px}}
.list-tools.pixel-inline-tools{min-height:0;height:0;margin:0}.pixel-inline-tools h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.group-heading #add.add-outline{display:flex;align-items:center;gap:4px;background:transparent;color:var(--ink);border:1px solid #b2c5ba;border-radius:10px;width:auto;min-height:34px;font-size:12px;font-weight:500;padding:6px 9px;white-space:nowrap;margin-left:6px}.group-heading #add img{filter:none;width:17px;height:17px}.group-heading #add span{font-size:12px;color:inherit;margin-left:0}.group-heading:has(#add){padding-top:8px;padding-bottom:9px}.inventory-object .item-sprite{opacity:1}
.item.done .item-name-line>.item-sprite{opacity:0}
.category-add{display:flex;align-items:center;gap:3px;flex-shrink:0;min-height:34px;padding:6px 8px;background:transparent;color:var(--ink);border:1px solid #c8d6ce;border-radius:8px;font-size:12px;font-weight:500;margin-left:4px}.category-add img{width:15px;height:15px}.group-heading{gap:8px;flex-wrap:wrap}.group-heading h3{overflow-wrap:anywhere;flex:1;min-width:0}.group-heading .group-count{margin-left:0;font-size:11px;flex-shrink:0}.category-empty{font-size:13px;color:var(--muted);padding:15px 0 22px;border-bottom:1px solid var(--line)}.category-error{color:#a24536;font-size:13px;min-height:20px;margin-top:9px}.list-tools #add.add-outline{font-size:13px}#categoryModal input{font-size:16px}@media(max-width:350px){.category-add{font-size:11px;padding:6px;gap:2px}.group-heading h3{font-size:16px}.group-heading{gap:6px}}
.header-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.header-actions #languageSelect{width:92px;max-width:92px;min-height:36px;padding:6px 20px 6px 7px;font-size:12px;border:1px solid var(--line);background:var(--bg)}header .trip-edit{flex:1;min-width:0}header .icon-button{width:32px;min-width:32px;height:36px;min-height:36px;padding:6px}header h1{font-size:25px}html:not([lang="zh-CN"]) .stages strong{font-size:14px;white-space:normal;line-height:1.3}html:not([lang="zh-CN"]) .stages small{font-size:11px;line-height:1.3}html:not([lang="zh-CN"]) .item-status{white-space:normal;max-width:103px;text-align:right;line-height:1.35}html:not([lang="zh-CN"]) .category-add{white-space:normal;max-width:105px;line-height:1.3}html:not([lang="zh-CN"]) .bag-object>span{font-size:12px}html:not([lang="zh-CN"]) .packing-portal>span{font-size:12px}.inventory-modal[open]{display:flex;flex-direction:column;position:fixed;inset:0;margin:0;padding:calc(12px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom));border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;overflow:hidden;box-shadow:none}.inventory-modal::backdrop{background:#fff}.inventory-modal .dialog-head{width:100%;max-width:640px;margin:0 auto 5px;flex-shrink:0}.inventory-modal .chips{width:100%;max-width:640px;margin:0 auto;flex-shrink:0;padding:5px 0 8px}.inventory-modal .inventory-scene{position:relative;flex:1;width:100%;height:auto;min-height:160px;max-width:none;aspect-ratio:auto;margin:0}.inventory-modal .inventory-bag-art{object-fit:contain;inset:0;width:100%;height:100%}.inventory-modal .inventory-contents{overflow:hidden}.physics-object{left:0!important;top:0!important;min-height:0!important;max-width:none;border:0!important;padding:0!important;background:transparent!important;transform-origin:center;will-change:transform;transition:none!important}.physics-object .item-sprite{width:100%!important;height:100%!important;opacity:1!important;object-fit:contain;pointer-events:none}.inventory-footer{width:100%;max-width:640px;margin:3px auto 0;display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0}.inventory-footer .inventory-hint{margin:0;font-size:12px;line-height:1.5}.inventory-footer #replayInventory{white-space:nowrap;flex-shrink:0;font-size:12px;padding:6px;min-height:32px}.inventory-modal .inventory-selection{width:100%;max-width:640px;margin:5px auto 0;padding-top:5px;flex-shrink:0}.inventory-modal #moreInventory{margin:0 auto;padding:4px;min-height:25px;font-size:12px}.inventory-modal .dialog-head h2{font-size:22px}.inventory-modal #inventoryCount{font-size:12px}.inventory-modal .inventory-object:focus-visible{outline:2px solid #276e56!important;outline-offset:2px}.inventory-modal .inventory-selection button{max-width:45%;white-space:normal}@media(max-width:350px){.header-actions #languageSelect{width:75px;max-width:75px;font-size:11px}header h1{font-size:22px}.inventory-modal[open]{padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.inventory-footer .inventory-hint{font-size:11px}.inventory-footer{gap:5px}}
body:has(#inventoryModal[open]){overflow:hidden}.inventory-modal[open]{padding-left:0;padding-right:0}.inventory-modal .dialog-head,.inventory-modal .chips,.inventory-modal .inventory-footer,.inventory-modal .inventory-selection{width:calc(100% - 28px)}.inventory-scene .inventory-bag-art{pointer-events:none}
html:not([lang="zh-CN"]) .section-title h2{font-size:17px}html:not([lang="zh-CN"]) .bag-tools{gap:7px}#bagTotal{white-space:nowrap}html:not([lang="zh-CN"]) .list-tools #add.add-outline{white-space:normal;max-width:56%;line-height:1.3}@media(max-width:350px){.header-actions #languageSelect{width:92px;max-width:92px;font-size:11px}}
.inventory-art-frame{position:absolute;overflow:hidden;pointer-events:none}.inventory-art-frame .inventory-bag-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.inventory-art-frame.single-case .inventory-bag-art{width:var(--image-width);height:var(--image-height);max-width:none;object-fit:fill;transform-origin:0 0;transform:translateX(var(--frame-width)) rotate(90deg)}
.trip-edit .eyebrow{display:block;font-size:12px;font-weight:650;letter-spacing:.1px;margin-bottom:6px;color:var(--accent)}

.inventory-footer{flex-wrap:wrap}.inventory-footer #addInventoryItem{font-size:12px;min-height:32px;padding:6px;white-space:nowrap}

.gender-options{border:0;padding:16px 0;display:flex;gap:12px}.gender-options legend{font-size:14px}.gender-options label{flex:1;display:flex;align-items:center;gap:10px;padding:16px;border:1px solid var(--line);border-radius:12px;margin:0}.gender-options input{width:20px;height:20px;margin:0;accent-color:var(--accent)}.gender-options label:has(input:checked){background:var(--soft);border-color:var(--accent)}#genderSetting{margin-top:8px}
