/* The travel notebook uses the approved ivory paper, ink, wood and indigo. */
.owPanel,.owPanel *{box-sizing:border-box;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.owPanel textarea,.owPanel input[type=text]{user-select:text;-webkit-user-select:text;touch-action:auto}.owPanel[hidden],#owWallet[hidden],#owInteract[hidden]{display:none!important}
.owPanel{position:fixed;inset:18px;z-index:100;background:#e9dfc9;color:#443d33;border:3px solid #8c7052;border-radius:5px;box-shadow:0 15px 60px #161d2e80;display:flex;flex-direction:column;font:16px Murecho,sans-serif;overflow:hidden}
.owPanel:before{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,#77573504 0 1px,transparent 1px 5px);z-index:-1}.owPanel button,.owPanel select,#owInteract{min-height:44px;background:#d4c5a4;color:#453b30;border:1px solid #9c805c;border-radius:3px;padding:8px 12px;font:600 15px Murecho,sans-serif;cursor:pointer;box-shadow:0 2px #8a745c}.owPanel button:disabled{opacity:.48;cursor:default;box-shadow:none}.owPanel button:hover:not(:disabled){background:#e2d4b3}.owPanel button:focus-visible,#owInteract:focus-visible{outline:3px solid #4e6890;outline-offset:2px}.owPanel button.sel,.owPanel button.primary{background:#4e6890;color:#fff7e8;border-color:#394e70;box-shadow:0 2px #354660}.owPanel h1,.owPanel h2,.owPanel h3,.owSpecialTitle{font-family:'Kaisei Tokumin',serif}.owPanel h2{font-size:24px;margin:8px 0 14px}.owPanel h3{font-size:17px;margin:8px 0}.owPanel p{line-height:1.7;margin:9px 0}.owPanel small{line-height:1.55}
.owPanelTop{display:flex;align-items:center;gap:16px;min-height:64px;padding:8px 12px;background:#54483c;color:#f5e9ce;border-bottom:4px solid #b99a6a;flex-shrink:0}.owTabs{display:flex;gap:2px;align-items:center;flex:1}.owTabs button{background:transparent;color:#dbcbae;border:none;box-shadow:none;padding:8px 14px;font-size:17px}.owTabs button.sel{background:#665342;border:none;border-bottom:4px solid #d8ad59;box-shadow:none;color:#fff4d9}.owPanelMoney{display:flex;gap:14px;white-space:nowrap;font-size:13px}.owPanelMoney span{display:flex;gap:5px;align-items:baseline}.owPanelMoney b{font-size:20px;color:#f6ce77}.owSpecialTitle{font-size:23px}.owClose{width:68px;flex-shrink:0}.owPanelBody{flex:1;min-height:0;overflow:auto;padding:14px 18px;overscroll-behavior:contain;touch-action:pan-y}.owPanelFoot{display:flex;justify-content:center;gap:8px;min-height:56px;padding:6px 12px;background:#d3c3a3;border-top:1px solid #ae9270;flex-shrink:0}.owPanelFoot button{font-size:13px;min-width:100px}.owMessage{position:absolute;left:15%;right:15%;bottom:62px;background:#4e6890;color:#fff7e7;padding:10px;border:1px solid #7f97bb;font-size:15px;box-shadow:0 2px 8px #3335;z-index:5;pointer-events:none}
.owModal #hud,.owModal #owCorner,.owModal #owWallet,.owModal #owInteract,.owModal #cmpCard,.owModal #formCard,.owModal #labels,.owModal .lbl3d,.owModal #touch,.owModal #owEdgeTip,.owModal #owLootNotice{visibility:hidden!important;pointer-events:none!important}.owModal:after{content:'';position:fixed;inset:0;background:#15212d88;z-index:90;pointer-events:none}
#owWallet{position:fixed;top:18px;left:24px;display:flex;gap:18px;color:#f6ead2;background:#534636ee;border:1px solid #ac906b;padding:7px 12px;border-radius:3px;z-index:20;font:13px Murecho,sans-serif}#owWallet b{color:#f3cd77;font-size:17px;padding-left:5px}#owInteract{position:fixed;left:50%;transform:translateX(-50%);bottom:108px;z-index:24;background:#4e6890;color:#fff4df;border-color:#8ba3c1;max-width:90vw;font-size:15px}#owDogState{height:54px;min-width:62px;background:#564b3c;color:#f8e8c4;border:1px solid #a4916b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:3px;font:13px Murecho,sans-serif}.owTinyDog{font-size:25px;color:#e9dec3}#owQuests button{padding:3px 6px;min-height:28px;border:0;background:transparent;color:#eee3c9;box-shadow:none;font:12px Murecho,sans-serif}#owQuests p{line-height:1.4;margin:4px;font-size:12px}.owPlaying #owFooter{max-width:calc(100% - 26px)}
.owPowerSummary{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #b8a27e;padding:0 0 9px;margin-bottom:14px;color:#685c48}.owPowerSummary>span{font-size:20px}.owPowerSummary b{font-size:34px;color:#4e6890;padding-left:10px}.owPowerSummary small{text-align:right;font-size:14px}.owGearLayout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.65fr);gap:20px;min-height:calc(100% - 72px)}.owPanel[data-tab=equipment] .owGearLayout{grid-template-columns:25% 40% minmax(0,1fr);gap:18px}.owPortrait{background:radial-gradient(ellipse at 50% 65%,#b8af94,#d3c9b1 66%);border:1px solid #b19c79;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:360px}.owPortrait b{font:24px 'Kaisei Tokumin',serif}.owPortrait small{font-size:12px}.owHeroPreview{width:100%;height:360px;touch-action:none}.owHeroPreview canvas{max-width:100%;touch-action:none}.owGearMiddle{min-width:0}.owGearTools{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.owGearTools button{min-height:36px;font-size:13px;padding:6px 10px;box-shadow:none}.owGearTools select{min-height:36px;padding:4px;font-size:12px;margin-left:auto}.owItemGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:365px;overflow:auto;padding:3px;align-content:start}.owPanel[data-tab=equipment] .owItemGrid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:318px}.owGearCellWrap{min-width:0}.owGearCell{background:#5e574b!important;color:#f5e7c8!important;border:2px solid #8d826b!important;position:relative;width:100%;height:104px;min-width:0;padding:3px!important;box-shadow:inset 0 0 12px #29282099!important;display:flex;flex-direction:column;align-items:center;justify-content:center}.owGearCell.g1{border-color:#be9b50!important}.owGearCell.g2{border-color:#897aa8!important}.owGearCell.sel{outline:3px solid #f3e0ac;outline-offset:1px}.owGearCell svg{height:72px;max-width:80%}.owGearCell>span{font-size:10px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.owGearCell>b{position:absolute;right:5px;bottom:3px;font-size:17px;color:#f5d48c;background:#493d31cc;padding:0 2px}.owNewMark{position:absolute;right:3px;top:3px;color:#ffcf58;font-size:10px;font-style:normal}.owEquippedMark{position:absolute;left:3px;top:3px;color:#a9c2df;font-size:10px;font-style:normal}.owSelectItem{display:flex;align-items:center;justify-content:center;gap:3px;font-size:12px;min-height:28px}.owSelectItem input{width:16px;height:16px;accent-color:#4e6890}.owSlotLabel{grid-column:1/-1;color:#70624d;margin:4px 0!important;padding-top:6px;font-size:14px!important}.owEmptySlot{height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px dashed #a8997c;background:#cbbfa6;color:#877a62;font-size:12px}.owEmptySlot small{font-size:11px}.owItemDetail{background:linear-gradient(125deg,#524b40,#332f28);color:#f0e3c8;padding:16px;border:1px solid #8a765d;min-width:0;overflow:auto;max-height:100%;box-shadow:inset 0 0 18px #26201555}.owDetailArt{height:170px;display:flex;justify-content:center;align-items:center;border-bottom:1px solid #8c7a5a;margin-bottom:10px;background:radial-gradient(ellipse,#9b8a6650,transparent)}.owDetailArt svg{height:100%;max-width:100%}.owRarity{display:inline-block;font-size:12px;background:#a59a82;color:#27251f;padding:2px 8px;border:1px solid #c9bb98;border-radius:2px}.owRarity.g1{background:#c3a665}.owRarity.g2{background:#ad9bc4}.owDetailPower b{font-size:28px;color:#f5d591}.owDetailPower em,.owRewardCard em{font:600 16px Murecho,sans-serif}.up{color:#75b99a}.down{color:#dfa181}.owEffect{font-size:15px}.owFlavor{font-size:13px;color:#b6a98f}.owSynergy{border-left:3px solid #a4b7d0;padding:5px 8px;background:#4e689025;font-size:13px}.owItemActions{display:flex;flex-wrap:wrap;gap:7px}.owItemActions button{font-size:13px;padding:7px 10px}.owInlineCompare{margin-top:12px;padding:10px;border-top:1px solid #aa9771;font-size:14px}.owInlineCompare p{font-size:13px}.owSets{margin-top:14px;border-top:1px solid #b39b76;padding-top:7px}.owSetRow{display:flex;gap:5px;margin:6px 0;align-items:center}.owSetRow span{font-size:13px;flex:1}.owSetRow button{font-size:11px;padding:4px 7px;min-height:36px}.owBulk{margin-top:14px;display:flex;flex-wrap:wrap;gap:7px;align-items:center}.owBulk button{font-size:12px}.owBulk small{display:block;width:100%;color:#756951}.owPagination{display:flex;align-items:center;justify-content:space-between;margin:8px 0;font-size:13px}.owEmpty{grid-column:1/-1}
.owRewardTitle{text-align:center}.owRewardCards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:970px;margin:auto}.owRewardCard{display:flex;flex-direction:column;align-items:center;min-height:300px;padding:12px!important;background:#655849!important;color:#f3e3c7!important;border:2px solid #9b8b6c!important;box-shadow:0 4px #6c5438!important}.owRewardCard.g1{border-color:#c3a058!important}.owRewardCard.g2{border-color:#a88eb4!important}.owRewardCard.sel{background:#435570!important;outline:3px solid #e8d5a3}.owRewardCard svg{height:134px;max-width:100%}.owRewardCard h3{font-size:21px;margin:8px}.owRewardCard p{font-size:15px;line-height:1.6;text-align:left}.owRewardCard small{font-size:12px;color:#d8c8aa}.owRewardDetail{display:flex;flex-wrap:wrap;gap:15px;align-items:center;justify-content:center;margin:18px auto;max-width:970px}.owRewardDetail>p{flex:1;min-width:280px}.owRewardDetail>button{min-width:155px}.owAdPlaceholder{width:100%;text-align:right;color:#938a77;font-size:12px}.owChoicePair{display:flex;gap:16px;margin:12px 0}.owChoicePair>button{flex:1;text-align:left;padding:16px}.owChoicePair svg{width:80px;height:80px;float:left;margin-right:15px}.owChoicePair b{font-size:20px}.owChoicePair p{font-size:16px}.owCompanionLayout{display:grid;grid-template-columns:30% 1fr;gap:30px}.owDogPortrait{text-align:center;background:#d2c4a5;padding:45px 10px}.owDogFace{width:160px;height:130px;position:relative;display:flex;align-items:center;justify-content:space-around;background:#e8dbc0;border:3px solid #b2a18a;border-radius:24px 24px 35px 35px;color:#56483e;font-size:14px;margin:0 auto 30px;box-shadow:0 20px 0 -12px #4e6890}.owDogFace:before,.owDogFace:after{content:'';position:absolute;top:-15px;width:45px;height:75px;background:#bca985;border:2px solid #9a8669;border-radius:4px 3px 20px 20px;transform:rotate(-12deg);left:-10px}.owDogFace:after{left:auto;right:-10px;transform:rotate(12deg)}.owDogFace i{width:27px;height:19px;background:#56483e;border-radius:5px;position:absolute;top:75px;left:65px}.owNotice{background:#d2c4a5;padding:8px}.owQuestBook{display:grid;grid-template-columns:32% 1fr;gap:30px;height:100%;min-height:320px}.owQuestList{border-right:1px solid #b39d76;padding-right:15px;display:flex;flex-direction:column;gap:10px}.owQuestList button{text-align:left;line-height:1.6}.owQuestDetail{padding:10px 15px;overflow:auto}.owBookTag{color:#977641}.owState{display:inline-block;padding:5px 12px;background:#bdac86;border:1px solid #a58e62}.owLogs{margin-top:22px}.owLogs summary{min-height:44px;cursor:pointer;border-top:1px solid #ae9571;padding:12px 0}.owLogs article{padding:12px;border-bottom:1px solid #c5b392;font-size:14px}.owMapLayout{display:flex;gap:22px;height:100%}.owMapLayout canvas{width:65%;height:100%;object-fit:contain;background:#d1c99f;border:1px solid #ae9970}.owMapAside{width:35%;overflow:auto}.owMapAside>button{display:block;width:100%;margin:8px 0;text-align:left}.owMapAside h2{font-size:22px}.owMapAside small{font-size:14px}.owDialogue{display:grid;grid-template-columns:160px 1fr 220px;gap:20px;align-items:center;max-width:1100px;margin:auto;height:100%}.owSpeaker{display:flex;flex-direction:column;align-items:center;gap:8px}.owSpeaker b{font-size:29px}.owSpeaker small{font-size:14px}.owDialogueText{font-size:19px;line-height:1.8!important}.owDialogueActions{display:flex;flex-direction:column;gap:12px}.owPanel[data-tab=dialogue]{inset:auto 24px 24px;height:240px}.owPanel[data-tab=dialogue] .owPanelTop{min-height:55px}.owPanel[data-tab=dialogue] .owPanelMoney{margin-left:auto}.owPanel[data-tab=end] .owPanelBody{text-align:center;background:radial-gradient(ellipse,#f3e8cd,#d3c4a5)}.owEndIllustration{display:flex;gap:70px;align-items:center;justify-content:center;margin:30px}.owEndIllustration .owDogFace{margin:0;transform:scale(.7)}.owFerryToken{display:inline-block;width:95px;height:135px;background:#cdb782;border:7px double #91724e;border-radius:8px;transform:rotate(-10deg);position:relative;box-shadow:3px 5px #b09a6d}.owFerryToken:before{content:'川';position:absolute;inset:16px;color:#4e6890;font:60px 'Kaisei Tokumin',serif}.owFerryToken:after{content:'';width:40px;height:30px;border:8px solid #c2492e;border-radius:15px;position:absolute;top:-20px;left:20px}.owEndLines{font-size:19px;line-height:2.2!important}.owEndButtons{display:flex;justify-content:center;gap:20px}.owEndButtons button{min-width:180px}.owSaveActions{display:flex;gap:12px;margin:18px 0;flex-wrap:wrap}.owPanel textarea{display:block;width:100%;min-height:90px;background:#f7efd9;color:#463c2f;border:1px solid #9b8561;border-radius:3px;padding:12px;margin:7px 0 15px;font:14px monospace;resize:vertical}.owCodexEntry{padding:8px 16px;border-bottom:1px solid #baa788}.owSmithLayout{display:grid;grid-template-columns:55% 1fr;gap:24px}.owSmithGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.owSmithGrid button{min-height:75px}.owSmithDetail{background:#5c5040;color:#efe4c8;padding:18px}.owSmithDetail small{color:#cbbb99}.owUpgradeShelves{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.owUpgradeShelves h3{width:100%}.owUpgradeShelves button{font-size:14px}
.owPlaying #cmpCard{left:22px;bottom:108px;top:auto;right:auto;transform:none;width:510px;max-height:230px;padding:8px;background:#544a3dee;color:#eee1c4;border:1px solid #b6a077;border-radius:3px;font:14px Murecho,sans-serif}.owPlaying #cmpRow{display:flex;gap:12px}.owPlaying #cmpCur,.owPlaying #cmpNew{flex:1;min-width:0;padding:7px;border:1px solid #958266}.owPlaying .cmpNo{display:none}.owPlaying .cmpLbl{font-size:11px;color:#ccb995}.owPlaying .cmpName{font-size:16px}.owPlaying .cmpName small{font-size:11px}.owPlaying .cmpPow{font-size:14px}.owPlaying .cmpPow b{font-size:21px}.owPlaying .cmpEn{margin:4px 0 0;padding:0;display:block}.owPlaying .cmpEn li{display:block;font-size:12px;line-height:1.45}.owPlaying .cmpEn li b,.owPlaying .cmpEn li .en{display:none}.owPlaying .cmpArt{width:44px;height:44px;float:left;margin-right:6px}.owPlaying .cmpArt svg{width:100%;height:100%}.owPlaying #btnSwap{min-height:44px;font:600 14px Murecho,sans-serif;padding:6px 12px;display:block;width:100%;margin-top:6px}
#owEdgeTip{position:fixed;left:18px;top:65px;width:250px;z-index:24;background:#514638eb;color:#f3e9cd;border-left:3px solid #bbaa87;padding:8px 12px;font:14px Murecho,sans-serif;line-height:1.6;pointer-events:none}.owPlaying .lbl3d.tip{display:none!important}#owLootNotice{position:fixed;left:20px;top:125px;z-index:25;background:#564b3ee8;color:#f6e5c2;border:1px solid #b9a06e;padding:8px;font:14px Murecho,sans-serif;pointer-events:none}
@media(max-height:450px){.owPanel{inset:6px;font-size:16px;border-width:2px}.owPanelTop{min-height:49px;padding:3px 6px;gap:5px;border-bottom-width:2px}.owTabs{gap:0}.owTabs button{font-size:13px;padding:5px 9px;min-height:40px}.owPanelMoney{font-size:11px;gap:7px;flex-direction:column}.owPanelMoney b{font-size:14px}.owClose{width:50px;padding:4px!important;font-size:12px!important}.owSpecialTitle{font-size:17px}.owPanelBody{padding:8px;min-height:0}.owPanelFoot{min-height:46px;padding:2px 4px;gap:4px;justify-content:space-between}.owPanelFoot button{min-width:0;min-height:40px;font-size:11px;padding:4px 7px}.owPowerSummary{margin-bottom:6px;padding-bottom:4px}.owPowerSummary>span{font-size:16px}.owPowerSummary b{font-size:24px}.owPowerSummary small{font-size:12px;line-height:1.3}.owGearLayout{grid-template-columns:57% 1fr;gap:9px;min-height:220px}.owPanel[data-tab=equipment] .owGearLayout{grid-template-columns:23% 38% 1fr;gap:7px}.owPortrait{min-height:218px}.owPortrait b{font-size:17px}.owPortrait small{font-size:10px;text-align:center}.owHeroPreview{height:180px}.owGearTools{gap:3px;margin-bottom:4px}.owGearTools button{min-height:32px;font-size:11px;padding:4px 7px}.owGearTools select{min-height:32px;font-size:10px;width:75px}.owItemGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-height:180px}.owPanel[data-tab=equipment] .owItemGrid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:210px}.owGearCell,.owEmptySlot{height:67px}.owGearCell svg{height:46px}.owGearCell>b{font-size:13px}.owGearCell>span{font-size:8px}.owEmptySlot{font-size:10px}.owEmptySlot small{font-size:9px}.owNewMark,.owEquippedMark{font-size:8px}.owSelectItem{font-size:10px;min-height:25px}.owSlotLabel{font-size:12px!important;padding-top:2px}.owItemDetail{padding:8px;max-height:235px}.owDetailArt{height:75px;margin-bottom:4px}.owItemDetail h2{font-size:18px;margin:6px 0}.owDetailPower{font-size:14px}.owDetailPower b{font-size:21px}.owEffect{font-size:16px;line-height:1.6}.owFlavor{font-size:13px}.owItemActions{gap:5px}.owItemActions button{min-height:44px;font-size:12px;padding:5px}.owSets{margin-top:7px}.owSetRow{flex-wrap:wrap}.owSetRow span{width:100%;flex:none}.owBulk{margin-top:7px}.owBulk button{font-size:11px}.owRewardTitle{font-size:18px!important;margin:1px 0 6px!important}.owRewardCards{gap:8px}.owRewardCard{min-height:0;height:174px;padding:5px!important;overflow:auto;justify-content:flex-start}.owRewardCard svg{height:57px;flex-shrink:0}.owRewardCard h3{font-size:16px;margin:3px}.owRewardCard>b{font-size:13px}.owRewardCard p{font-size:14px;line-height:1.45;margin:4px 0}.owRewardCard small{font-size:11px}.owRewardCard .owRarity{font-size:10px;padding:1px 5px}.owRewardDetail{margin:6px 0;gap:6px;align-items:center}.owRewardDetail>p{font-size:13px;line-height:1.45;margin:0;min-width:0}.owRewardDetail>button{min-width:110px;padding:5px;min-height:44px}.owAdPlaceholder{font-size:10px}.owChoicePair{gap:8px;margin:6px 0}.owChoicePair>button{padding:8px}.owChoicePair svg{width:60px;height:60px;float:none}.owChoicePair b{font-size:16px}.owChoicePair p{font-size:16px;line-height:1.5;margin:6px 0}.owChoicePair small{font-size:12px}.owCompanionLayout{grid-template-columns:22% 1fr;gap:15px}.owDogPortrait{padding:14px 5px}.owDogPortrait h2{font-size:17px}.owDogPortrait p{font-size:13px}.owDogFace{transform:scale(.55);transform-origin:top left;margin:12px 0 -35px}.owCompanionLayout main h2{font-size:19px}.owCompanionLayout main p{font-size:16px;line-height:1.5}.owQuestBook{grid-template-columns:32% 1fr;gap:12px;min-height:230px}.owQuestList{gap:5px;padding-right:7px}.owQuestList button{min-height:44px;font-size:13px;padding:5px}.owQuestDetail{padding:2px 8px}.owQuestDetail h2{font-size:20px}.owQuestDetail p{font-size:16px;line-height:1.6}.owMapLayout{gap:10px}.owMapLayout canvas{width:62%}.owMapAside{width:38%}.owMapAside h2{font-size:17px;margin:3px 0}.owMapAside p,.owMapAside small{font-size:13px}.owMapAside button{min-height:44px;font-size:12px;padding:6px}.owPanel[data-tab=dialogue]{inset:auto 6px 6px;height:180px}.owPanel[data-tab=dialogue] .owPanelTop{min-height:46px}.owDialogue{grid-template-columns:85px 1fr 145px;gap:8px}.owSpeaker b{font-size:22px}.owSpeaker small{font-size:11px}.owDialogueText{font-size:16px;line-height:1.6!important;margin:0!important}.owDialogueActions{gap:7px}.owDialogueActions button{min-height:44px;font-size:12px;padding:4px}.owEndIllustration{height:85px;margin:12px;gap:35px}.owEndIllustration .owDogFace{transform:scale(.5);transform-origin:center;margin:0}.owFerryToken{transform:scale(.55) rotate(-10deg);margin:0 -20px}.owPanel[data-tab=end] h1{font-size:26px;margin:10px}.owEndLines{font-size:16px;line-height:1.75!important;margin:6px!important}.owEndButtons button{min-width:140px;min-height:44px}.owSaveActions{gap:7px;margin:9px 0}.owSaveActions button{font-size:13px}.owPanel textarea{min-height:75px;font-size:14px}.owSmithLayout{grid-template-columns:51% 1fr;gap:10px}.owSmithGrid{gap:6px}.owSmithGrid button{min-height:55px;font-size:12px;padding:4px}.owSmithDetail{padding:10px}.owSmithDetail p{font-size:16px}.owUpgradeShelves{margin:10px 0;gap:6px}.owUpgradeShelves button{font-size:12px}.owMessage{left:8px;right:8px;bottom:48px;font-size:13px;padding:7px}
 #owWallet{left:8px;top:7px;padding:4px 7px;gap:12px;font-size:11px}#owWallet b{font-size:13px}.owPlaying #owFooter{bottom:6px;padding:5px;max-width:calc(100% - 20px);min-width:0;gap:5px}.owPlaying #owDogState{min-width:42px;height:42px;font-size:10px}.owTinyDog{font-size:20px}.owPlaying #owEquipBtn{min-width:42px;height:44px;font-size:11px}.owPlaying #owQuests{max-height:130px;overflow:auto}.owPlaying #owQuests button{font-size:10px;min-height:23px}.owPlaying #owQuests p{font-size:10px}.owPlaying #cmpCard{left:8px;bottom:84px;width:300px;max-height:215px;padding:5px}.owPlaying #cmpRow{display:flex;flex-direction:column;gap:5px}.owPlaying #cmpCur,.owPlaying #cmpNew{padding:3px;min-height:56px}.owPlaying .cmpName{font-size:14px}.owPlaying .cmpLbl{font-size:10px}.owPlaying .cmpPow{font-size:12px}.owPlaying .cmpPow b{font-size:15px}.owPlaying .cmpEn li{font-size:11px;line-height:1.3}.owPlaying .cmpArt{width:34px;height:34px}.owPlaying #btnSwap{font-size:13px;margin:4px 0 0;min-height:44px}.owPlaying #owInteract{bottom:74px;font-size:13px;left:auto;right:8px;transform:none;max-width:260px}#owEdgeTip{left:8px;top:43px;width:215px;font-size:12px;padding:6px 8px}#owLootNotice{left:8px;top:96px;font-size:12px}
}

.owPanel[data-tab=equipment] .owPanelBody,.owPanel[data-tab=inventory] .owPanelBody,.owPanel[data-tab=warehouse] .owPanelBody{display:flex;flex-direction:column;overflow:hidden}.owGearLayout{flex:1;min-height:0!important;overflow:hidden;align-items:stretch}.owGearMiddle{overflow:auto;min-height:0;overscroll-behavior:contain}.owPortrait{min-height:0!important;justify-content:flex-start;padding-top:16px}.owHeroPreview{flex:1;min-height:0;height:auto;max-height:360px}.owPanel[data-tab=equipment] .owGearTools{display:none}.owPanel[data-tab=equipment] .owGearCell,.owPanel[data-tab=equipment] .owEmptySlot{height:80px}.owPanel[data-tab=equipment] .owItemGrid{max-height:none}.owClose{width:90px;white-space:nowrap}.owPlaying .cmpBody{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}.owPlaying .cmpEn li span{display:block!important;font-size:12px;color:#dfcfb0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.owPlaying .cmpHead{border-color:#baa27d}.owPlaying .cmpT,.owPlaying .cmpHint{color:#e5d7b8}.owPlaying #cmpCard{max-height:none;width:550px}.owPlaying #cmpCard .cmpMain{display:block}.owPlaying #cmpCard .cmpLbl{display:block}.owPlaying #cmpCard .cmpName small{color:#493d31}.owPlaying #cmpCard .cmpArt{height:55px;width:50px}.owPlaying #cmpCard .cmpEn{display:block}.owPlaying #cmpCard .cmpEn li{display:block}.owPlaying #cmpCard .cmpCol{background:#655849}.owPlaying #cmpCard .cmpCol.new{background:#6c5e45}.owPlaying #cmpCard #btnSwap{margin-bottom:0}
@media(max-height:450px){.owClose{width:64px}.owPortrait{padding-top:4px}.owHeroPreview{max-height:185px}.owPanel[data-tab=equipment] .owGearCell,.owPanel[data-tab=equipment] .owEmptySlot{height:51px}.owPanel[data-tab=equipment] .owGearCell svg{height:38px}.owPanel[data-tab=equipment] .owSlotLabel{margin:2px 0!important;font-size:11px!important}.owPlaying #cmpCard{width:310px;bottom:80px}.owPlaying #cmpCard .cmpBody{display:flex;flex-direction:column;gap:4px}.owPlaying #cmpCard .cmpArrow,.owPlaying #cmpCard .cmpHead{display:none}.owPlaying #cmpCard .cmpCol{padding:4px;min-height:54px}.owPlaying #cmpCard .cmpEn li span{font-size:11px}.owPlaying #cmpCard .cmpArt{width:37px;height:42px}.owPlaying #cmpCard .cmpName{font-size:13px}.owPlaying #cmpCard .cmpPow b{font-size:15px}}

body.owPlaying #cmpCard{left:22px!important;right:auto!important;transform:none!important;bottom:108px!important;width:550px!important;overflow:hidden}.owPanel[data-tab=equipment] .owItemDetail .owDetailArt{height:115px}.owItemActions{position:sticky;bottom:-16px;background:#39352d;padding:8px 0;margin-top:8px;z-index:2}.owItemDetail{scrollbar-width:thin;scrollbar-color:#bda681 #40382f}.owGearMiddle{scrollbar-width:thin;scrollbar-color:#a48d65 #d3c5a6}#owEdgeTip[hidden]{display:none}
@media(max-height:450px){body.owPlaying #cmpCard{left:8px!important;bottom:80px!important;width:310px!important}.owPanel[data-tab=equipment] .owGearCell,.owPanel[data-tab=equipment] .owEmptySlot{height:44px}.owPanel[data-tab=equipment] .owItemGrid{gap:3px}.owPanel[data-tab=equipment] .owSlotLabel{line-height:12px;margin:1px 0!important;padding-top:1px}.owPanel[data-tab=equipment] .owGearCell svg{height:30px}.owPanel .owItemDetail .owDetailArt,.owPanel[data-tab=equipment] .owItemDetail .owDetailArt{height:40px;margin-bottom:4px}.owItemDetail h2{margin:4px 0}.owItemDetail .owDetailPower{margin:4px 0}.owItemDetail .owEffect{margin:6px 0}.owItemActions{position:static;bottom:auto}.owPlaying .cmpPow{font-size:12px}.owPlaying .cmpPow b{font-size:15px}}
.owDetailScrollHint{font-size:12px;color:#d2c19c;margin:6px 0;border-bottom:1px solid #8a765d;padding-bottom:5px}

.owTinyDog svg{width:32px;height:25px;display:block}
@media(max-height:450px){.owTinyDog svg{width:24px;height:20px}}

.owSynergyBadge{display:inline-block;font-size:12px;padding:2px 4px;margin-left:4px;border:1px solid #7a94b5;background:#4e689045;color:#d9e3f1}

/* Allow one-finger scrolling inside the paused notebook; the game keeps its guards. */
.owPanel,.owPanel *{touch-action:pan-y}
.owPanel .owHeroPreview,.owPanel .owHeroPreview *{touch-action:none}
.owPanel textarea,.owPanel input[type=text]{touch-action:auto}
