@font-face{font-family:'Literata';src:url('assets/fonts/literata-regular.woff') format('woff');font-weight:400;font-style:normal;font-display:fallback}@font-face{font-family:'Literata';src:url('assets/fonts/literata-bold.woff') format('woff');font-weight:700;font-style:normal;font-display:fallback}@font-face{font-family:'IM Fell English';src:url('assets/fonts/imfell-regular.woff') format('woff');font-weight:400;font-style:normal;font-display:fallback}:root{--paper:#f7f1e3;--ink:#1d1a16;--ink-soft:#5b5246;--fs:18px;--tap:48px}html.fs-large{--fs:21px}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--paper);color:var(--ink);font-family:'Literata',Georgia,'Times New Roman',serif;font-size:var(--fs);line-height:1.35;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{overflow-x:hidden}a{color:var(--ink)}h1,h2,h3,.head{font-family:'IM Fell English',Georgia,serif;font-weight:400;margin:0;line-height:1.1}h1{font-size:1.75em}h2{font-size:1.35em}h3{font-size:1.1em}p{margin:0 0 0.5em}#app{width:100%;height:100vh;max-width:760px;margin:0 auto;padding:6px}.page{position:relative;height:100%;display:flex;flex-direction:column;border:3px double var(--ink);border-radius:3px;box-shadow:inset 0 0 0 4px var(--paper),inset 0 0 0 5px var(--ink);padding:14px 14px 10px;overflow:hidden}.page::before,.page::after{content:'';position:absolute;width:14px;height:14px;border:1.5px solid var(--ink);transform:rotate(45deg);background:var(--paper)}.page::before{top:-9px;left:50%;margin-left:-7px}.page::after{bottom:-9px;left:50%;margin-left:-7px}.page-head{flex:0 0 auto;text-align:center;margin-bottom:8px}.page-body{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column}.page-foot{flex:0 0 auto;padding-top:8px}.center{text-align:center}.grow{flex:1 1 auto;min-height:0}.small{font-size:0.8em}.soft{color:var(--ink-soft)}.btn{display:block;width:100%;min-height:var(--tap);margin:0 0 9px;padding:8px 12px;border:2px solid var(--ink);border-radius:7px 3px 6px 4px;background:var(--paper);color:var(--ink);box-shadow:2px 2px 0 var(--ink);font-family:inherit;font-size:1em;font-weight:700;line-height:1.2;text-align:left;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}.btn .ic{width:1.35em;height:1.35em;vertical-align:-0.33em;margin-right:0.45em}.btn:active,.btn.is-pressed,.btn.is-on{background:var(--ink);color:var(--paper);box-shadow:none}.btn:focus{outline:2px dashed var(--ink);outline-offset:2px}.btn.is-on::after{content:' \2713'}.btn[disabled]{border-style:dashed;box-shadow:none;cursor:default}.btn-center{text-align:center}.btn-row{display:flex;margin:0 -4px}.btn-row>.btn{flex:1 1 0;margin-left:4px;margin-right:4px;width:auto;text-align:center}.btn-back{width:auto;display:inline-block;padding-right:18px}.btn-more{display:inline-block;min-height:var(--tap);min-width:var(--tap);padding:10px 6px;border:0;background:none;color:var(--ink);font-family:inherit;font-size:0.9em;font-style:italic;text-decoration:underline;cursor:pointer}.pic-row{display:flex;flex-wrap:wrap;justify-content:center;margin:0 -4px}.pic-btn{flex:0 0 auto;width:94px;min-height:78px;margin:4px;padding:6px 2px 4px;border:2px solid var(--ink);border-radius:10px 4px 9px 5px;background:var(--paper);color:var(--ink);box-shadow:2px 2px 0 var(--ink);font-family:inherit;font-size:0.78em;font-weight:700;line-height:1.1;text-align:center;cursor:pointer;-webkit-appearance:none;appearance:none}.pic-btn[disabled]{border-style:dashed;box-shadow:none;cursor:default}.pic-btn .ic{display:block;width:34px;height:34px;margin:0 auto 4px}.pic-btn:active,.pic-btn.is-on{background:var(--ink);color:var(--paper);box-shadow:none}.boxes{display:inline-block;white-space:nowrap;vertical-align:middle}.box{display:inline-block;width:14px;height:14px;margin-right:3px;border:2px solid var(--ink);border-radius:2px;background:var(--paper);vertical-align:middle}.box.on{background:var(--ink)}.box.half{background:repeating-linear-gradient(45deg,var(--ink) 0,var(--ink) 2px,var(--paper) 2px,var(--paper) 5px)}.stat{display:flex;align-items:center;justify-content:space-between;min-height:30px}.stat .ic{width:22px;height:22px;margin-right:6px;vertical-align:middle}.seal{display:inline-block;width:64px;height:64px;border:4px double var(--ink);border-radius:50%;text-align:center;line-height:52px;font-family:'IM Fell English',Georgia,serif;font-size:1.4em;transform:rotate(-8deg);background:var(--paper)}.seal .ic{width:30px;height:30px;vertical-align:middle}.rule{display:block;width:100%;height:14px;margin:6px 0}.hint{font-style:italic;font-size:0.9em;margin:4px 0}.hint .ic{width:1.3em;height:1.3em;vertical-align:-0.3em;margin-right:0.35em}.ic{display:inline-block;width:24px;height:24px}.art{display:block}.art-box{flex:1 1 auto;min-height:60px;display:flex;align-items:center;justify-content:center}.art-box>svg,.art-box>img{flex:0 0 auto;max-width:100%}.title-page .page-head{margin-bottom:0}.logo{display:block;width:100%;max-width:440px;height:auto;margin:0 auto}.logo-box{flex:0 1 auto;min-height:70px;text-align:center}.logo-box img{max-width:100%;max-height:22vh}.title-menu{flex:0 0 auto;max-width:420px;width:100%;margin:4px auto 0}.title-foot{display:flex;justify-content:space-between;align-items:flex-end;font-size:0.75em;min-height:18px}.offline-line{flex:1 1 auto;padding-right:8px}.version{flex:0 0 auto}.lead{font-size:1.05em;text-align:center;margin:8px 0}.more-text{font-size:0.95em}.section-title{font-family:'IM Fell English',Georgia,serif;font-size:1.15em;margin:6px 0 3px}.settings-offline{display:flex;align-items:center;justify-content:space-between}.btn-row-3>.btn{font-size:0.85em;padding-left:3px;padding-right:3px}.settings-offline .btn-more{flex:0 0 auto;width:auto}.update-msg{margin:0 0 2px;text-align:right;line-height:1.2;font-size:0.75em}.page-settings .section-title{margin:2px 0 2px}.tip-card{display:block;flex:0 0 auto;width:100%;box-sizing:border-box;text-align:left;font:inherit;color:var(--ink);cursor:pointer;background:var(--paper);border:3px double var(--ink);border-radius:6px;padding:6px 10px 4px;margin:12px 0 6px;min-height:48px}.page-head:empty + .page-body>.tip-card{margin-right:52px;width:auto}.tip-card .tip-text{display:block;line-height:1.3}.tip-card .ic{width:20px;height:20px;vertical-align:-4px;margin-right:6px}.tip-card .tip-ok{display:block;text-align:right;font-weight:bold;font-size:0.9em;margin-top:2px}.tut-bar{flex:0 0 auto;border:2px dashed var(--ink);border-radius:6px;padding:5px 8px;margin:0 0 6px;font-size:0.85em;line-height:1.3}.tut-bar p{margin:0}.tut-bar p .ic{width:18px;height:18px;vertical-align:-3px;margin-right:5px}.tut-bar .btn{margin-top:5px}.wev-bar{flex:0 0 auto;border:2px solid var(--ink);border-radius:6px;padding:4px 8px;margin:0 0 6px;font-size:0.8em;line-height:1.3}.wev-bar p{margin:0}.wev-bar p .ic{width:16px;height:16px;vertical-align:-3px;margin-right:5px}.inn-people{flex:0 0 auto;margin-bottom:2px}.help-page-art{min-height:90px}.update-bar{flex:0 0 auto;border:2px solid var(--ink);border-radius:6px;padding:6px 8px 2px;margin:0 0 6px;background:var(--paper)}.update-bar p{margin:0 0 4px;font-size:0.8em;line-height:1.3}.update-bar p .ic{width:18px;height:18px;vertical-align:-3px;margin-right:6px}.swatch{display:inline-block;width:84px;text-align:center;font-size:0.75em;margin:2px}.swatch svg{display:block;width:56px;height:40px;margin:0 auto 2px;border:1.5px solid var(--ink)}@media (min-width:700px){#app{padding:16px}.page{padding:22px 26px 14px}}@media (max-height:600px){.btn{margin-bottom:7px;padding-top:6px;padding-bottom:6px}.page{padding-top:10px}}.btn.btn-more{display:inline-block;width:auto;margin:0;border:0;box-shadow:none;background:none;color:var(--ink);font-weight:400;text-align:center}.btn.btn-more:active{background:var(--ink);color:var(--paper)}.step{text-align:center;letter-spacing:0.08em}.page-tight .page-head{margin-bottom:2px}.btn.btn-icon{display:inline-block;width:var(--tap);min-width:var(--tap);height:var(--tap);margin:0;padding:0;text-align:center;flex:0 0 auto}.btn.btn-icon .ic{margin:0;width:26px;height:26px;vertical-align:middle}.picker{display:flex;align-items:center;justify-content:space-between;margin:0 0 6px}.picker-label{flex:1 1 auto;text-align:center;padding:0 6px}.field-label{display:block;font-weight:700;margin:6px 0 4px}.field{display:block;width:100%;min-height:52px;margin:0 0 12px;padding:8px 12px;border:2px solid var(--ink);border-radius:4px;background:#fffdf6;color:var(--ink);font-family:inherit;font-size:1.3em}.field:focus{outline:2px dashed var(--ink);outline-offset:2px}.portrait{display:block}.portrait-big{width:150px;height:180px;margin:0 auto}@media (min-height:600px){.portrait-big{width:192px;height:230px}}.portrait-step{width:84px;height:101px;margin:6px auto 0}.portrait-mid{width:104px;height:125px;flex:0 0 auto}.pic-grid{max-width:224px;margin:4px auto 8px}.pic-grid .pic-btn{width:100px;min-height:80px}.stat-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 6px}.stat-row .stat-name{flex:1 1 auto}.stat-row .stat-name .ic,.stat .ic{width:22px;height:22px;vertical-align:-5px;margin-right:6px}.stat-row .boxes{margin:0 6px}.sum-top{display:flex;align-items:center;margin-bottom:6px}.sum-text{flex:1 1 auto;padding-left:12px}.sum-text .ic{width:20px;height:20px;vertical-align:-4px}.sum-name{font-size:1.45em;margin-bottom:4px}.meter .num{font-size:0.8em;display:inline-block;min-width:3.4em;text-align:right}.meter{min-height:28px}.bld{cursor:pointer}.bld-label{font-family:'Literata',Georgia,serif;font-weight:700;font-size:12px;fill:#1d1a16}.village-line{display:flex;justify-content:center;align-items:center;margin-top:2px}.village-line>* + *{margin-left:8px}.village-line .boxes{margin-left:16px}.village-line .box{width:11px;height:11px;margin-right:2px}.time-part{white-space:nowrap}.time-part .ic{width:16px;height:16px;vertical-align:-3px;margin-right:2px}.village-line{flex-wrap:wrap}.who{display:flex;align-items:center;margin:4px 0 6px}.portrait-who{width:84px;height:101px;flex:0 0 auto}.who-text{padding-left:12px}.who-name{font-size:1.5em}.speech{position:relative;margin:6px 0 4px;padding:10px 12px;border:2px solid var(--ink);border-radius:12px 4px 12px 12px;background:#fffdf6;font-size:1.05em}.speech::before{content:'';position:absolute;top:-10px;left:34px;width:14px;height:14px;border-left:2px solid var(--ink);border-top:2px solid var(--ink);background:#fffdf6;transform:rotate(45deg)}.people{display:flex;flex-wrap:wrap;margin:0 -3px}.person-btn{display:flex;align-items:center;width:calc(50% - 6px);min-height:56px;margin:3px;padding:2px 4px;border:2px solid var(--ink);border-radius:8px 3px 7px 4px;background:var(--paper);color:var(--ink);box-shadow:2px 2px 0 var(--ink);font-family:inherit;font-size:0.85em;line-height:1.15;text-align:left;cursor:pointer}.person-btn:active{background:var(--ink);color:var(--paper)}.portrait-mini{width:44px;height:53px;flex:0 0 auto;margin-right:6px}.pic-row-4{flex-wrap:nowrap}.pic-row-4 .pic-btn{width:calc(25% - 8px);min-width:56px;font-size:0.72em}.pic-row-4 .pic-btn{word-break:keep-all;overflow-wrap:normal;-webkit-hyphens:none;hyphens:none;padding-left:1px;padding-right:1px}@media (max-width:420px){.pic-row-4 .pic-btn{font-size:0.62em;letter-spacing:-0.02em}}.map-box{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.map{display:block}.map [data-act=tile]{cursor:pointer}.overview{display:block}.seal.seal-big{width:96px;height:96px;line-height:84px}.seal.seal-big .ic{width:48px;height:48px}.sign-list{width:100%}.sign-way{font-size:1.15em;padding:8px 6px;border-bottom:1px dashed var(--ink)}.sign-arrow{display:inline-block;width:1.6em;font-weight:700;font-size:1.3em;text-align:center}.slots{display:flex;flex-wrap:wrap;margin:0 -3px}.slot{width:calc(33.33% - 6px);height:62px;margin:3px;padding:4px;border:2px solid var(--ink);border-radius:6px 3px 5px 4px;position:relative;font-size:0.8em;line-height:1.1}.slot .ic{width:26px;height:26px;display:block}.slot-name{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.slot-n{position:absolute;right:5px;top:3px;font-weight:700}.page-fight .page-body{justify-content:flex-start}.foes{display:flex;margin:0 -3px 4px}.foe{flex:1 1 0;min-width:0;min-height:48px;margin:0 3px;padding:2px 3px 4px;border:2px solid var(--ink);border-radius:8px 4px 8px 4px;background:var(--paper);color:var(--ink);font-family:inherit;font-size:0.78em;line-height:1.1;text-align:center;cursor:pointer}.foe.is-target{border:4px double var(--ink);padding:0 1px 2px}.foe.is-gone{border-style:dashed}.foe-pic{display:block;width:100%;height:58px}.foes-1 .foe-pic{height:92px}.foes-2 .foe-pic{height:72px}.foe-name{display:block;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.foes-3 .foe-name{font-size:0.82em;letter-spacing:-0.02em}.foe-bars{display:block;margin-top:2px}.foe-bars .box{width:8px;height:8px;margin-right:1px;border-width:1.5px}.calm-bar .box{border-radius:50%}.calm-bar .box.on{background:repeating-linear-gradient(45deg,var(--ink) 0,var(--ink) 1.5px,var(--paper) 1.5px,var(--paper) 3px)}.foe-nums{display:block;margin-top:2px;font-size:0.92em;line-height:1.1}.fight-danger{display:none;padding:2px 4px;font-size:0.86em;text-align:center}.fight-danger .box{width:9px;height:9px}.fight-status>span{white-space:nowrap}.fight-status .pips{flex:0 0 auto}.intent{display:block;margin-top:2px;font-size:1.15em}.intent .ic{width:18px;height:18px;vertical-align:-3px;margin-right:2px}.fight-status{display:flex;justify-content:space-between;align-items:center;padding:3px 4px;border-top:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink)}.fight-status .ic{width:18px;height:18px;vertical-align:-3px;margin-right:2px}.pips{white-space:nowrap}.pip{display:inline-block;width:13px;height:13px;margin-left:3px;border:2px solid var(--ink);border-radius:50%;vertical-align:middle}.pip.on{background:var(--ink)}.fight-log{font-size:0.82em;font-style:italic;line-height:1.25;height:2.5em;margin:3px 0;overflow:hidden}.hand{display:flex;flex-direction:column}.card-row{display:flex;align-items:stretch;margin:0 0 5px}.card-row .card-btn{flex:1 1 auto;min-width:0;margin:0 4px 0 0}.card-info{flex:0 0 48px;width:48px;min-height:48px;padding:0;border:2px solid var(--ink);border-radius:4px 7px 4px 6px;background:var(--paper);color:var(--ink);box-shadow:2px 2px 0 var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:center}.card-info .ic{width:22px;height:22px}.card-info.is-on{background:var(--ink);color:var(--paper);box-shadow:none}.card-info[disabled]{border-style:dashed;box-shadow:none;cursor:default}.card-btn{position:relative;display:block;min-height:48px;margin:0 0 5px;padding:3px 8px 3px 66px;border:2px solid var(--ink);border-radius:7px 3px 6px 4px;background:var(--paper);color:var(--ink);box-shadow:2px 2px 0 var(--ink);font-family:inherit;font-size:0.86em;line-height:1.15;text-align:left;cursor:pointer}.card-btn .ic{position:absolute;left:36px;top:50%;margin-top:-11px;width:22px;height:22px}.card-cost{position:absolute;left:6px;top:50%;margin-top:-12px;width:24px;height:24px;line-height:20px;border:2px solid currentColor;border-radius:50%;text-align:center;font-weight:700}.card-name{display:block;font-weight:700}.card-mp{font-weight:400;font-size:0.85em}.card-text{display:block;font-size:0.86em}.card-btn.is-on{background:var(--ink);color:var(--paper);box-shadow:none}.card-btn[disabled]{border-style:dashed;box-shadow:none;cursor:default}.card-spell{border-style:double;border-width:4px;padding:1px 6px 1px 64px}.end-pics{display:flex;justify-content:center}.end-pic{width:110px;height:88px}.foes-1 .foe-pic{height:74px}@media (min-height:700px){.fight-danger{display:block}.foes-1 .foe-pic{height:104px}.foes-2 .foe-pic{height:84px}}@media (min-width:600px) and (min-height:700px){.foes-1 .foe-pic{height:150px}.foes-2 .foe-pic{height:130px}.foes-3 .foe-pic{height:110px}.end-pic{width:150px;height:120px}}.page-fight .btn-row .btn{font-size:0.8em;padding:6px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-fight .btn-row .btn .ic{width:18px;height:18px;margin-right:3px;vertical-align:-4px}.fight-btns .fb-end{flex:2 1 0}.fight-btns .fb-flee{flex:1.3 1 0}.page-fight .fight-btns>.fb-end,.page-fight .fight-btns>.fb-flee{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.1}html.fs-large .page-fight .fight-btns>.fb-end,html.fs-large .page-fight .fight-btns>.fb-flee{font-size:0.7em}@media (max-width:420px){.page-fight .fight-btns .fb-end .ic,.page-fight .fight-btns .fb-flee .ic{display:none}.page-fight .fight-btns>.btn{margin-left:2px;margin-right:2px}.page-fight .fight-btns>.fb-end,.page-fight .fight-btns>.fb-flee{flex:1 1 auto}}.fight-btns .fb-ability{flex:0 0 auto;width:var(--tap);margin-left:4px;margin-right:4px}.page-fight .btn-row .btn.fb-ability .ic{width:26px;height:26px;margin:0;vertical-align:middle}.hand.hand-grid{flex-direction:row;flex-wrap:wrap;margin:0 -3px}.hand-grid .card-row{width:calc(50% - 6px);margin:0 3px 5px}.hand-grid .card-row .card-btn{width:auto;margin:0 3px 0 0;padding:3px 4px 3px 52px;font-size:0.78em}.hand-grid .card-btn .ic{left:28px;width:18px;height:18px;margin-top:-9px}@media (max-width:420px){.hand-grid .card-row .card-btn{padding:3px 1px 3px 25px;font-size:0.7em;letter-spacing:-0.01em}.hand-grid .card-btn .ic{display:none}}.hand-grid .card-cost{left:4px;width:22px;height:22px;line-height:18px;margin-top:-11px}@media (max-width:420px){.hand-grid .card-cost{left:2px;width:20px;height:20px;line-height:16px;margin-top:-10px;font-size:0.9em}}.hand-grid .card-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hand-grid .card-name{white-space:normal;overflow:hidden;line-height:1.1;word-break:break-word;overflow-wrap:anywhere}.hand-grid .card-row .card-spell{padding:1px 2px 1px 50px}@media (max-width:420px){.hand-grid .card-row .card-spell{padding:1px 1px 1px 23px}}button.slot{background:var(--paper);color:var(--ink);font-family:inherit;text-align:left;cursor:pointer;box-shadow:2px 2px 0 var(--ink)}button.slot:active{background:var(--ink);color:var(--paper)}.slot-empty{border-style:dashed}.gear-row,.recipe{display:flex;align-items:center;width:100%;min-height:52px;margin:0 0 6px;padding:4px 8px;border:2px solid var(--ink);border-radius:7px 3px 6px 4px;background:var(--paper);color:var(--ink);box-shadow:2px 2px 0 var(--ink);font-family:inherit;font-size:0.88em;line-height:1.2;text-align:left;cursor:pointer}.gear-row .ic,.recipe .ic{width:30px;height:30px;flex:0 0 auto;margin-right:8px}.recipe[disabled]{border-style:dashed;box-shadow:none;cursor:default}.recipes{display:flex;flex-direction:column}.recipe{min-height:48px;margin-bottom:4px;padding:2px 8px}.deck-list{-webkit-column-count:2;-webkit-column-gap:8px;column-count:2;column-gap:8px;font-size:0.8em}.deck-row{position:relative;break-inside:avoid;padding:3px 0 3px 30px;border-bottom:1px dashed var(--ink);line-height:1.15}.deck-row .card-cost{left:0;top:4px;margin-top:0;width:22px;height:22px;line-height:18px;font-size:0.9em}.trade{display:flex;margin:0 -3px}.trade-col{flex:1 1 0;margin:0 3px;min-width:0}.trade-col + .trade-col{border-left:1.5px dashed var(--ink);padding-left:5px}.trade-title{font-weight:700;font-size:0.85em;text-align:center;margin-bottom:3px}.wares{display:flex;flex-wrap:wrap}.ware{position:relative;width:48px;height:52px;margin:0 2px 4px;padding:2px 0 0;border:2px solid var(--ink);border-radius:6px 3px 5px 3px;background:var(--paper);color:var(--ink);font-family:inherit;text-align:center;cursor:pointer}.ware .ic{width:24px;height:24px;display:block;margin:0 auto}.ware .price{display:block;font-weight:700;font-size:0.85em}.ware .ware-n{position:absolute;top:0;right:2px;font-size:0.65em;font-weight:700}.ware.is-on{background:var(--ink);color:var(--paper)}.ware[disabled]{border-style:dashed;cursor:default}.trade-info{font-size:0.85em;margin-top:4px}.trade-many .trade-col:first-child{flex:2 1 0}.trade-many .trade-col + .trade-col{flex:3 1 0}.trade-many .ware{margin:0 1px 4px}.recipes{flex-direction:row;flex-wrap:wrap;margin:0 -3px}.recipe{width:calc(50% - 6px);margin:0 3px 5px;padding:2px 4px;font-size:0.78em}.recipe .ic{width:22px;height:22px;margin-right:4px}.comp-btn.is-on{border-width:3px;box-shadow:3px 3px 0 var(--ink);font-weight:700}.comp-btn[disabled]{border-style:dashed;box-shadow:none;cursor:default}.comp-unknown,.comp-pet{display:inline-block;width:44px;height:44px;line-height:44px;margin-right:6px;text-align:center;font-size:1.6em;font-weight:700}.comp-pet .ic{width:34px;height:34px;vertical-align:middle}.talk-comp{margin:4px 0 0;font-style:italic;font-size:0.9em}.talk-comp .ic{width:18px;height:18px;vertical-align:-3px;margin-right:4px}.home-list .recipe{width:100%;margin:0 3px 6px;padding:4px 8px;font-size:0.9em}.dmap{display:block}.dmap [data-act=room]{cursor:pointer}.room-q{font-family:'IM Fell English',Georgia,serif;font-size:26px;fill:#1d1a16}.btn.btn-banner{margin:4px 0 0;min-height:48px}.boss-pic{width:180px;height:144px}.puzzle-box{flex-direction:column}.lamps{display:flex;justify-content:center}.lamp{width:56px;height:76px;margin:0 3px;border:2px solid var(--ink);border-radius:28px 28px 6px 6px;background:var(--paper);color:var(--ink);font-family:inherit;cursor:pointer}.lamp .ic{width:34px;height:34px;display:block;margin:0 auto}.lamp.is-lit{background:var(--ink);color:var(--paper)}.lamp-n{font-weight:700;font-size:0.85em}.mirrors{display:block}.mirrors [data-act=pz]{cursor:pointer}.clues{width:100%}.clue{display:flex;align-items:center;justify-content:center;min-height:34px;border-bottom:1px dashed var(--ink)}.clue .ic{width:28px;height:28px}.clue-mid{font-weight:700;font-size:1.2em;margin:0 10px;position:relative}.clue-slots{margin-left:10px;white-space:nowrap;position:relative}.clue-slot{display:inline-block;width:14px;height:14px;margin-right:3px;border:2px solid var(--ink);vertical-align:middle}.clue-slot.on{background:var(--ink)}.clue-not{font-weight:700;margin-left:6px}.stone-slots{display:flex;justify-content:center;margin-top:10px}.stone{width:64px;height:64px;margin:0 4px;border:3px double var(--ink);border-radius:50%;background:var(--paper);color:var(--ink);font-family:inherit;cursor:pointer}.stone .ic{width:34px;height:34px}.stone-n{font-size:1.1em;opacity:0.6}.riddle-goal{margin:0 0 4px;text-align:center;font-weight:700;font-size:0.95em}@media (max-width:520px){.riddle-goal{padding:0 34px}}@media (min-width:520px) and (min-height:700px){.clue{min-height:44px}.clue .ic{width:36px;height:36px}.stone{width:76px;height:76px}.stone .ic{width:42px;height:42px}}.clue-mark{display:inline-block;width:26px;margin-left:8px;font-weight:700;font-size:1.15em;text-align:center}.clue-mark.clue-bad{border:2px solid var(--ink);border-radius:50%;line-height:20px;height:22px}.btn-row-3>.btn{font-size:0.9em;padding-left:4px;padding-right:4px;white-space:nowrap}@media (max-width:420px){.btn-row-3>.btn{font-size:0.8em}.btn-row-3>.btn .ic{width:18px;height:18px}}.pic-btn{-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;word-wrap:break-word}.pic-btn{width:auto;min-width:94px;max-width:150px;padding-left:6px;padding-right:6px}.pic-grid .pic-btn{width:100px}.pic-row-find>.pic-btn{min-width:120px}.pic-row-5{margin-left:-2px;margin-right:-2px}.pic-row-5 .pic-btn{width:calc(20% - 4px);min-width:54px;margin-left:2px;margin-right:2px;padding-left:0;padding-right:0;font-size:0.6em;text-align:center;word-break:normal;overflow-wrap:normal;-webkit-hyphens:none;hyphens:none}.qtabs{margin-top:4px;margin-bottom:2px}.qlist{margin-top:2px}.qrow{display:flex;align-items:flex-start;min-height:48px;padding:6px 2px;border-bottom:1px dashed var(--ink)}.qrow>.ic{width:28px;height:28px;flex:0 0 auto;margin-right:8px}.qrow-text{flex:1 1 auto;line-height:1.25}.qrow-need,.qrow-day{display:block;margin-top:2px}.qrow-need .ic{width:1.1em;height:1.1em;vertical-align:-0.2em;margin-right:0.3em}.qpage{flex:1 1 auto;align-self:center;text-align:center}.consequence{font-weight:bold;text-align:center;margin:6px 0;padding:4px;border:2px solid var(--ink);border-radius:6px}.consequence .ic{width:1.3em;height:1.3em;vertical-align:-0.3em;margin-right:0.35em}.rewards{display:flex;flex-wrap:wrap;margin:4px -4px}.reward-row{width:calc(50% - 8px);margin:2px 4px;display:flex;align-items:center;min-height:32px}.reward-row .ic{width:24px;height:24px;flex:0 0 auto;margin-right:6px}.btn.btn-quest{border-style:double;border-width:5px}.help-btn{position:absolute;top:6px;right:6px;z-index:2;width:48px;height:48px;padding:0;border:2px solid var(--ink);border-radius:50%;background:var(--paper);color:var(--ink);font-family:'IM Fell English',Georgia,serif;font-size:26px;font-weight:700;line-height:44px;text-align:center;cursor:pointer}.help-btn:active{background:var(--ink);color:var(--paper)}.page-head h2,.page-head h1{margin-left:46px;margin-right:46px}.tip{border:2px dashed var(--ink);border-radius:6px;padding:4px 6px;font-style:normal}.fight-btns .fb-help{flex:0 0 auto;width:52px;font-family:'IM Fell English',Georgia,serif;font-size:24px;padding:0}.help-art{text-align:center}.menu-list .btn{margin-bottom:7px}.wm-name{font-family:'IM Fell English',Georgia,serif;fill:#1d1a16;stroke:#f7f1e3;stroke-width:4px;paint-order:stroke;font-weight:700}.overview [data-act=look]{cursor:pointer}.travel-list .btn{font-size:0.9em}.folk-art{max-height:120px}.letter{border:2px solid var(--ink);border-radius:4px;padding:6px 10px;margin:4px 0;box-shadow:3px 3px 0 var(--ink)}.letter p{margin:0 0 4px}.letter-sign{text-align:right;font-style:italic}.verse{font-style:italic}.seal-grid{margin:4px auto}.seal-row{display:flex;align-items:center;justify-content:center}.seal-rown{width:16px;font-size:0.75em;text-align:right;margin-right:4px}.seal-cell{width:46px;height:46px;margin:1px;border:1.5px solid var(--ink);border-radius:4px;display:flex;align-items:center;justify-content:center}.seal-cell .ic{width:32px;height:32px}.seal-small .seal-cell{width:30px;height:22px;margin:1px;box-sizing:border-box}.btn-row>.btn-wide{flex:2 1 0}.page-seal .seal-grid{margin-top:0}.seal-small .seal-cell .ic{width:20px;height:20px}.seal-cursor{border-width:3px;border-style:dashed}.seal-bad .seal-cell{border-style:double;border-width:4px}.seal-mark{width:16px;font-weight:700;margin-left:4px}.seal-msg{margin:2px 0}.seal-keys{display:flex;flex-wrap:wrap;justify-content:center}.seal-key{width:calc(25% - 6px);min-height:48px;margin:0 3px 2px;border:2px solid var(--ink);border-radius:6px;background:var(--paper);color:var(--ink);padding:0;cursor:pointer}.seal-key .ic{width:30px;height:30px}.seal-key:active{background:var(--ink);color:var(--paper)}.seal-key[disabled]{border-style:dashed}@media (min-width:520px){.seal-key{width:calc(12.5% - 6px)}}.travel-code{font-family:'Courier New',monospace;font-size:1.15em;font-weight:700;letter-spacing:1px;word-spacing:6px;line-height:1.6;text-align:center;padding:8px;border:2px solid var(--ink);border-radius:6px}.qr{width:240px;height:240px;max-width:100%}.code-input{width:100%;font-family:'Courier New',monospace;font-size:1em;border:2px solid var(--ink);border-radius:6px;padding:6px;background:var(--paper);color:var(--ink)}.qr-video{width:100%;max-height:300px;border:2px solid var(--ink)}.dice-row{display:flex;flex-wrap:wrap;justify-content:center;margin:2px 0 6px}.die{width:34px;height:34px;margin:2px}.dice-big .die{width:48px;height:48px}.tcard{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:44px;height:60px;border:2px solid var(--ink);border-radius:6px;background:var(--paper);margin:2px}.tcard b{font-size:1.5em;line-height:1}.tcard .ic{width:18px;height:18px}.tcard-win{border-width:4px}.tcard-lead{border-style:double;border-width:5px}.tcard-row{display:flex;justify-content:center;flex-wrap:wrap;margin:4px 0}.tcard-hand{margin:0 0 6px}.tcard-btn{padding:0;margin:0 4px;border:0;background:none;color:var(--ink);min-width:48px;min-height:64px;cursor:pointer}.tcard-btn:active .tcard{background:var(--ink);color:var(--paper)}.tround{display:flex;align-items:center;justify-content:center}.tround .tcard{width:34px;height:46px}.tround .tcard b{font-size:1.1em}.tround .tcard .ic{width:14px;height:14px}.tround>.small{width:56px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tround>.small:first-child{width:16px}.tmark{width:20px;font-weight:700;text-align:center}.page-head h2::after{content:'';display:block;width:110px;height:7px;margin:3px auto 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);background:radial-gradient(circle,var(--ink) 2.5px,transparent 3px) center no-repeat;background-size:9px 7px}@media (max-height:660px){.page-head h2::after{display:none}}@media (max-height:660px){.page:not(.page-riddle) .page-head h2:only-child{min-height:33px}.page-tight:not(.page-riddle) .page-head h2:only-child{min-height:33px;margin-bottom:4px}.page-head .qtabs,.page-head .jtabs{margin-top:14px}}.page{background-image:linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink));background-size:16px 2px,2px 16px,16px 2px,2px 16px,16px 2px,2px 16px,16px 2px,2px 16px;background-position:left 10px top 10px,left 10px top 10px,right 10px top 10px,right 10px top 10px,left 10px bottom 10px,left 10px bottom 10px,right 10px bottom 10px,right 10px bottom 10px;background-repeat:no-repeat}.soft{color:var(--ink);font-style:italic}.stone-n{opacity:1;font-style:italic}.scene-wrap{display:none;text-align:center;margin:-2px 0 2px}.scene-strip{display:inline-block;vertical-align:top}@media (min-height:700px) and (min-width:480px){.scene-wrap{display:block}}.rep-row{display:flex;align-items:center;padding:3px 0;border-bottom:1px dashed var(--ink)}.rep-row .ic{width:24px;height:24px;flex:0 0 24px;margin-right:8px}.rep-name{flex:1 1 auto;line-height:1.15}.confirm-box{border:2px solid var(--ink);border-radius:6px;padding:6px 8px;margin:6px 0}.confirm-box .consequence{margin:0}.chron-then{display:block;font-style:italic;margin-top:2px}.qtabs-3>.btn{font-size:0.85em;padding-left:2px;padding-right:2px;white-space:nowrap}.qtabs-3>.btn .ic{width:18px;height:18px;margin-right:3px;vertical-align:-3px}.story-aim{display:flex;align-items:flex-start;margin:8px 0 4px;font-size:1.05em}.story-aim .ic{width:24px;height:24px;flex:0 0 24px;margin-right:8px}.story-qs{margin:4px 0 0;padding-left:1.3em}.story-qs li{margin-bottom:4px}.btn.btn-say{text-align:left;line-height:1.25;padding-top:6px;padding-bottom:6px}.talk-fx{margin:4px 0 0;font-size:0.85em;font-weight:700;text-align:center}.talk-fx .ic{width:18px;height:18px;vertical-align:-3px;margin-right:5px}@media (max-width:420px),(max-height:700px){.page-talk .portrait-who{width:60px;height:72px}.page-talk .who{margin:0 0 4px}.page-talk .speech{font-size:0.92em;padding-top:6px;padding-bottom:6px}.page-talk .btn.btn-say{font-size:0.82em;min-height:48px;margin-bottom:5px;padding-top:3px;padding-bottom:3px}.page-talk .btn.btn-say .ic{width:18px;height:18px}.page-talk .talk-fx{font-size:0.78em;margin-top:2px}}.game-list{display:block}.btn.game-btn{display:flex;align-items:center;width:100%;margin:0 0 8px;text-align:left;min-height:56px}.btn.game-btn .ic{width:30px;height:30px;flex:0 0 30px;margin-right:12px}.peb-count{display:flex;flex-wrap:wrap;justify-content:center;font-size:0.85em;margin:0 34px 2px}.peb-count span{margin:0 8px}.peb-count span{white-space:nowrap}.peb-mini{vertical-align:-3px}.peb-board [data-act=pt]{cursor:pointer}.peb-rules{margin:6px 0 0;padding-left:1.4em;font-size:0.95em}.peb-rules li{margin-bottom:4px}.cup-row{display:flex;justify-content:center;margin:6px 0}.cup-btn{display:block;width:23%;max-width:90px;min-height:64px;margin:0 1%;padding:0;border:2px solid transparent;border-radius:6px;background:none;cursor:pointer}button.cup-btn{border-color:var(--ink);border-style:dashed}.cup-art{width:60px;height:64px;display:block;margin:0 auto}@media (min-width:520px){.cup-art{width:76px;height:81px}}.btn.next-line{flex:0 0 auto;margin:0 0 6px;padding:5px 8px;text-align:left;font-size:0.85em;line-height:1.25}.next-line .ic{float:left;width:24px;height:24px;margin:2px 8px 0 0}.next-line .next-text{display:block;overflow:hidden}.next-line .next-where{display:block;margin-top:1px}.qrow-story{display:flex;width:100%;border:0;border-bottom:1px dashed var(--ink);background:none;color:var(--ink);font:inherit;text-align:left}.jtabs{flex-wrap:nowrap;margin:8px 0 2px}.jtabs .pic-btn{flex:0 0 auto;width:50px;min-width:48px;min-height:52px;padding:2px 0;font-size:0.66em;margin:0 2px}.jtabs .pic-btn .ic{width:26px;height:26px;margin-bottom:2px}.jtabs .pic-btn .jt-label{display:none}.jtabs .pic-btn.is-on{flex:1 1 auto;width:auto;max-width:none;padding-left:4px;padding-right:4px}.jtabs .pic-btn.is-on .jt-label{display:block;white-space:nowrap}@media (max-width:420px){html.fs-large .btn-row .btn{min-width:0;padding-left:4px;padding-right:4px;white-space:normal;line-height:1.1;font-size:0.86em;overflow-wrap:break-word}html.fs-large .btn-row .btn .ic{margin-right:2px}html.fs-large .person-btn{font-size:0.66em;overflow-wrap:break-word}html.fs-large .slot-name{font-size:0.74em}html.fs-large .pic-row-5 .pic-btn{font-size:0.44em;letter-spacing:-0.04em}html.fs-large .pic-row-4 .pic-btn{font-size:0.56em}}.meter>span,.fight-status>span{white-space:nowrap}@media (max-width:420px){html.fs-large .meter .box{width:14px;height:14px;margin-right:1px}html.fs-large .meter .num{min-width:0}}@media (max-width:420px) and (max-height:700px){html.fs-large{--fs:19px}html.fs-large .tip-card{margin:6px 0 4px;padding:4px 8px 2px}html.fs-large .tip-card .tip-text{font-size:0.8em;line-height:1.2}html.fs-large .portrait-who{width:48px;height:58px}html.fs-large .tip-card ~ .riddle-goal + p.center.small{display:none}html.fs-large .pic-row-4 .pic-btn{font-size:0.5em;letter-spacing:-0.03em}}@media (max-height:660px){.page-tight .sum-top ~ .rule{display:none}.sum-text .small{font-size:0.74em;line-height:1.25}.stat{min-height:28px}}@media (max-width:420px) and (max-height:700px){html.fs-large .page-settings .btn-row-3 .btn{font-size:0.68em;white-space:nowrap;overflow-wrap:normal}html.fs-large .page-settings .btn[data-arg=explain]{font-size:0.8em}html.fs-large .fight-log{font-size:0.72em;line-height:1.2}html.fs-large .foes-3 .foe-name{font-size:0.7em;letter-spacing:-0.03em}html.fs-large .hand-grid .card-row .card-btn{font-size:0.62em}html.fs-large .page-tight .page-head .small.center{font-size:0.78em;line-height:1.2}}