@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");:root{font-family:Noto Sans KR,Arial,sans-serif;color:#252b35;background:#f8f9fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}h1,h2,h3,p{margin-top:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffb4aa;outline-offset:2px}.appShell{min-height:100vh}.topbar{height:72px;background:#fff;border-bottom:1px solid #e9e9ed;padding:0 clamp(20px,4vw,64px);gap:48px;position:-webkit-sticky;position:sticky;top:0;z-index:10}.logo,.topbar{display:flex;align-items:center}.logo{gap:7px;border:0;background:none;font-size:20px;font-weight:800;white-space:nowrap;color:#252b35;padding:0}.logo strong{font-weight:600;color:#f26861}.logoMark{display:grid;place-items:center;color:#f26861;margin-right:3px}.mainNav{height:100%;display:flex;align-items:stretch;gap:26px}.mainNav button{background:none;border:0;border-bottom:3px solid transparent;display:flex;align-items:center;gap:7px;padding:3px 2px 0;color:#777d87;font-size:14px;white-space:nowrap}.mainNav button.navActive{color:#f26861;border-color:#f26861;font-weight:700}.topRight{gap:16px;margin-left:auto}.localTag,.topRight{display:flex;align-items:center}.localTag{font-size:12px;font-weight:700;color:#697383;gap:7px}.onlineDot{width:8px;height:8px;background:#31ba7e;border-radius:50%}.btn{border:1px solid #e2e4e8;background:#fff;border-radius:9px;padding:10px 14px;color:#444b56;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;transition:background .15s}.btn:hover{background:#f7f8fa}.btn.primary{background:#f56862;border-color:#f56862;color:white}.btn.primary:hover{background:#e95c56}.btn.dark{background:#282d38;border-color:#282d38;color:white}.btn.dark:hover{background:#424958}.libraryPage,.playPage,.studioPage{max-width:1350px;margin:0 auto;padding:38px clamp(20px,4vw,48px) 80px}.pageHeading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:42px}.eyebrow{font-size:11px;letter-spacing:2px;color:#f26861;font-weight:800;margin-bottom:12px}.pageHeading h1,.playHeading h1{font-size:30px;letter-spacing:-1px;margin-bottom:9px}.pageHeading p,.playHeading p{font-size:14px;color:#838995;margin:0}.libraryToolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.libraryToolbar h2{font-size:18px;margin:0}.libraryToolbar h2 span{color:#f26861}.gameGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:22px;gap:22px}.createCard,.gameCard{border:1px solid #ececf0;background:white;border-radius:14px;overflow:hidden;box-shadow:0 3px 14px rgba(25,35,55,.035)}.gameCover{width:100%;height:auto;aspect-ratio:2/3;position:relative;background:#f3e8e5;overflow:hidden}.gameCover img{display:block;width:100%;height:100%;object-fit:contain}.coverFallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:linear-gradient(145deg,#fce6e2,#f7bdb5 58%,#d8a7ba);color:#fff}.coverFallback span{font-size:10px;font-weight:800;letter-spacing:2px}.coverChip{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.92);border-radius:20px;padding:5px 9px;font-size:10px;font-weight:800;color:#e66a65}.gameInfo{padding:18px}.gameInfo h3{font-size:17px;margin-bottom:6px}.gameInfo p{font-size:12px;line-height:1.6;color:#8b919a;height:38px;overflow:hidden;margin-bottom:16px}.gameActions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.gameActions .btn{padding:8px 10px}.iconButton{width:34px;height:34px;display:grid;place-items:center;border:1px solid #e7e7ec;background:#fff;border-radius:8px;color:#7d8590}.dangerIcon:hover{color:#ed5e5e;background:#fff2f2}.createCard{min-height:370px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;color:#3a414d;border-style:dashed}.createIcon{width:65px;height:65px;border-radius:50%;background:#fff0ee;color:#f26861;display:grid;place-items:center}.createCard small{color:#9a9da5}.studioPage{padding-top:0}.studioHeading{display:flex;align-items:center;gap:16px;min-height:103px}.studioHeading h1{font-size:21px;margin-bottom:5px}.studioHeading p{font-size:12px;color:#9298a1;margin:0}.backButton{background:white;border:1px solid #e9e9ed;border-radius:8px;width:35px;height:35px;display:grid;place-items:center}.studioActions{gap:10px;margin-left:auto}.saved,.studioActions{display:flex;align-items:center}.saved{font-size:12px;color:#4ba47d;gap:5px;margin-right:5px}.studioTabs{height:55px;background:#fff;border:1px solid #ededf0;border-radius:10px 10px 0 0;display:flex;gap:32px;align-items:stretch;padding:0 24px;overflow-x:auto}.studioTabs button{border:0;border-bottom:3px solid transparent;background:none;color:#888e98;white-space:nowrap;padding:2px 0 0;font-size:13px}.studioTabs button.tabActive{border-color:#f26861;color:#292d34;font-weight:800}.studioColumns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);background:#fff;border:1px solid #ededf0;border-top:0;min-height:670px;border-radius:0 0 10px 10px}.editPanel{padding:30px 35px 28px;border-right:1px solid #ececf0;display:flex;flex-direction:column;min-width:0}.sectionHeading{margin-bottom:25px}.sectionHeading h2{font-size:18px;margin-bottom:7px}.sectionHeading p{font-size:12px;color:#9298a1;margin:0}.fields{display:flex;flex-direction:column;gap:23px}.field{font-size:13px;font-weight:700;display:block;color:#30343c}.field small{font-size:11px;color:#9a9fa9;font-weight:400;margin-left:7px}.required{color:#f26861}.field input:not([type=file]),.field select,.field textarea{display:block;width:100%;border:1px solid #e4e6ea;border-radius:9px;background:#fff;margin-top:10px;padding:12px 13px;color:#323640;font-size:13px;line-height:1.65;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#f68e89;box-shadow:0 0 0 3px #fff0ee}.field textarea{resize:vertical;min-height:88px}.uploadBox{position:relative;display:flex;align-items:center;gap:9px;color:#e86963;background:#fff8f7;border:1px dashed #efb3ae;border-radius:10px;margin-top:10px;padding:17px;font-size:12px;overflow:hidden}.uploadBox input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.tip{background:#fff8f2;color:#96785f;font-size:12px;line-height:1.8;padding:13px 15px;border-radius:9px}.editFooter{display:flex;justify-content:space-between;margin-top:auto;padding-top:34px}.previewPanel{padding:30px 35px;background:#fdfdfd;min-width:0}.previewTop{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.previewTop h2{font-size:16px;margin:0}.previewTop span{font-size:11px;color:#9ca1a9}.previewCover{width:min(100%,230px);aspect-ratio:2/3;border-radius:12px;overflow:hidden;margin:0 auto 22px;background:#f7e4e0}.previewCover img{width:100%;height:100%;object-fit:cover}.previewFallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:linear-gradient(150deg,#f9dbd5,#eeb3ae,#d6b4d5);color:white}.previewFallback span{font-size:11px;letter-spacing:2px;font-weight:800}.previewPanel h3{font-size:19px;margin-bottom:8px}.previewPanel>p{font-size:12px;color:#9298a1;line-height:1.7}.previewTags{display:flex;gap:7px;flex-wrap:wrap}.previewTags span,.softPill{background:#fff0ee;color:#ed7770;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:700}.previewDivider{border-top:1px solid #eaeaf0;margin:24px 0 15px}.previewMeta{display:flex;justify-content:space-between;margin:14px 0;font-size:12px;color:#8b929b}.previewMeta b{color:#414650}.playHeading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.playHeading h1{font-size:25px}.textBack{border:0;background:none;color:#f26861;display:flex;align-items:center;gap:6px;padding:0;margin-bottom:14px;font-size:12px}.playGrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);grid-gap:22px;gap:22px;align-items:stretch}.playBoardPanel,.playChatPanel{background:white;border:1px solid #ececf0;border-radius:14px;padding:24px;min-width:0}.panelHeading{justify-content:space-between;margin-bottom:22px}.panelHeading,.panelHeading h2{display:flex;align-items:center}.panelHeading h2{font-size:16px;gap:9px;margin:0}.panelHeading h2 svg{color:#f26861}.statRow{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.statRow span{padding:9px 12px;border-radius:8px;background:#f8f9fb;color:#858c97;font-size:12px}.statRow b{color:#343945;margin-left:5px}.board{display:grid;grid-gap:4px;gap:4px;width:min(100%,530px);margin:auto;aspect-ratio:1;padding:10px;background:#f4f2f0;border:1px solid #ece8e3;border-radius:12px}.tile{border:1px solid #e3dfd8;border-radius:5px;display:grid;place-items:center;font-size:clamp(13px,2.5vw,29px);padding:0;min-width:0;min-height:0}.tileLight{background:#fdfaf6}.tileDark{background:#e9e4dd}.tile:hover{outline:2px solid #f5a49c}.tilePlayer{background:#ffded9;border:2px solid #f26861}.boardBottom{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px}.boardBottom span{font-size:11px;color:#9399a3}.playChatPanel{display:flex;flex-direction:column;min-height:610px}.chatLog{flex:1 1;max-height:570px;min-height:390px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:4px 3px 16px}.chatBubble{font-size:13px;line-height:1.75;white-space:pre-wrap;padding:12px 14px;border-radius:12px;max-width:92%;overflow-wrap:anywhere}.bubbleGM{background:#f6f7f9;align-self:flex-start}.bubbleUser{background:#fff0ee;align-self:flex-end}.bubbleSystem{background:#f5f6f8;color:#78818d;align-self:center;font-size:11px}.chatForm{display:flex;gap:8px;margin-top:auto}.chatForm input{min-width:0;flex:1 1;border:1px solid #e4e6ea;border-radius:9px;padding:12px;font-size:12px}.chatHint{font-size:11px;color:#9a9fa8;margin:11px 0 0}.toast{position:fixed;bottom:24px;right:24px;z-index:30;background:#343944;color:white;border-radius:10px;padding:12px 18px;display:flex;align-items:center;gap:8px;box-shadow:0 10px 35px #0002;font-size:13px}@media(max-width:1100px){.gameGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{gap:25px}.mainNav{gap:14px}.editPanel,.previewPanel{padding:25px}}@media(max-width:800px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:14px 20px;gap:12px}.mainNav{order:3;width:100%;height:40px;justify-content:space-between}.topRight{margin-left:auto}.gameGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.playGrid,.studioColumns{grid-template-columns:1fr}.editPanel{border-right:0;border-bottom:1px solid #ececf0}.studioHeading{flex-wrap:wrap;padding:20px 0}.studioActions{width:100%;margin-left:0}.studioTabs{gap:20px}.previewPanel{padding:25px}.playChatPanel{min-height:480px}.chatLog{max-height:400px}}@media(max-width:520px){.libraryPage,.playPage,.studioPage{padding-left:15px;padding-right:15px}.pageHeading{align-items:flex-start;flex-direction:column;margin-bottom:25px}.gameGrid{gap:12px}.gameCover{height:auto;aspect-ratio:2/3}.gameInfo{padding:12px}.gameInfo h3{font-size:14px}.gameActions .btn{font-size:11px;padding:7px}.gameActions .btn svg,.topRight .localTag{display:none}.logo{font-size:17px}.mainNav button{font-size:12px}.editPanel{padding:20px}.studioActions .saved{display:none}.playBoardPanel,.playChatPanel{padding:15px}.statRow{gap:5px}.statRow span{font-size:10px;padding:7px}.createCard{min-height:300px}}.counter{text-align:right;margin-top:-10px;margin-bottom:18px}.assetHelp,.counter{color:#777;font-size:13px}.assetHelp{line-height:1.7}.mapUpload,.smallUpload{display:flex;align-items:center;justify-content:center;gap:9px;padding:16px;border:1px dashed #ff9d9d;background:#fff7f7;border-radius:12px;color:#d95353;cursor:pointer;font-weight:700}.mapUpload input,.smallUpload input{display:none}.mapPreview{margin:14px 0;background:#f4f4f4;border:1px solid #e5e5e5;border-radius:12px;overflow:hidden}.mapPreview img{display:block;width:100%;height:auto}.assetToolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:14px}.assetToolbar span{color:#888;font-size:12px}.assetList{display:flex;flex-direction:column;gap:14px}.assetCard{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.assetThumb{width:94px;height:120px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f6f6f6;border-radius:9px;color:#aaa;overflow:hidden}.assetThumb img{width:100%;height:100%;object-fit:cover}.assetFields{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:8px}.assetFields input,.assetFields select,.assetFields textarea{width:100%;padding:9px;border:1px solid #dedede;border-radius:8px;background:white;color:#333}.assetFields textarea{resize:vertical}.smallUpload{font-size:12px;padding:9px}.coords{display:flex;align-items:center;gap:8px;color:#777;font-size:12px}.coords input{width:70px}.imageBoard{position:relative;overflow:hidden;border:1px solid #ddd;border-radius:12px;background:#f1f1f1}.imageBoard>img{display:block;width:100%;height:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mapToken{position:absolute;z-index:3;transform:translate(-50%,-50%);width:44px;height:44px;padding:0;border:3px solid #fff;box-shadow:0 2px 8px #0005;border-radius:50%;background:#fff0f0;display:flex;align-items:center;justify-content:center;font-size:24px;cursor:pointer}.mapToken.monster{border-color:#ff8989}.mapToken img{width:100%;height:100%;object-fit:cover;border-radius:50%}.mapToken span{position:absolute;top:100%;left:50%;transform:translateX(-50%);background:#252525;color:#fff;font-size:10px;white-space:nowrap;padding:2px 5px;border-radius:4px;pointer-events:none}.mapClickLayer{position:absolute;z-index:2;inset:0;border:0;width:100%;height:100%;padding:0;cursor:crosshair}.mapClickLayer,.mapClickLayer:hover{background:transparent}.mapHint{font-size:12px;color:#888}@media(max-width:650px){.assetCard{flex-wrap:wrap}.assetThumb{width:70px;height:92px}.mapToken{width:34px;height:34px}}.imageMatrixCount{font-size:12px;color:#777;margin:12px 0}.imageMatrixScroll{width:100%;overflow:auto;border:1px solid #e6e6e6;border-radius:12px;background:white}.imageMatrix{border-collapse:separate;border-spacing:7px;width:max-content;min-width:100%;text-align:center}.imageMatrix td,.imageMatrix th{padding:0;vertical-align:top}.imageMatrix th{min-width:110px;max-width:145px;font-size:12px;color:#333}.imageMatrix thead th{position:-webkit-sticky;position:sticky;top:0;background:white;z-index:1}.imageMatrix th:first-child{position:-webkit-sticky;position:sticky;left:0;background:#fafafa;z-index:2}.matrixHeader{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:10px 6px;min-height:42px}.matrixHeader span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrixRemove{padding:1px 6px;border:0;background:transparent;color:#999;font-size:18px}.matrixRemove:hover{color:#f55;background:#fff0f0}.matrixCell{flex-direction:column;gap:4px}.matrixCell,.matrixUpload{display:flex;align-items:center}.matrixUpload{position:relative;justify-content:center;width:98px;height:112px;background:#fafafa;border:1px solid #e2e2e2;border-radius:11px;overflow:hidden;color:#aaa;cursor:pointer}.matrixUpload:hover{border-color:#ff6262;background:#fff5f5}.matrixUpload img{width:100%;height:100%;object-fit:cover}.matrixUpload input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.matrixDeleteImage{padding:3px 7px;font-size:10px;border:0;background:transparent;color:#e55}.matrixDeleteImage:hover{background:#fff1f1}@media(max-width:700px){.matrixUpload{width:80px;height:94px}}.modeSection{border:1px solid #e8e8ec;border-radius:12px;padding:17px;background:#fdfdfd}.modeSection h3{font-size:15px;margin-bottom:6px}.modeChoices{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-top:13px}.modeChoice{border:1px solid #e1e3e8;border-radius:10px;background:white;padding:17px 12px;text-align:left;display:flex;flex-direction:column;gap:8px;color:#343943}.modeChoice small{color:#8b919c;font-size:11px}.modeChoice.modeSelected{border:2px solid #f56862;background:#fff6f5;padding:16px 11px}.playerLimits{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;margin-top:18px}.playerLimits .field{margin:0}.promptPreview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:510px;overflow-y:auto;border:1px solid #e6e7eb;background:#fff;border-radius:11px;padding:18px;font-size:12px;line-height:1.85;color:#4d535c;margin:20px 0;min-height:240px}.rightMap{margin:0 0 20px}.emptyPreview{min-height:230px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#a0a6ae;background:#f7f8fa;border:1px dashed #e3e5e9;border-radius:11px;font-size:12px}.previewImageGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin-top:20px}.previewImageItem{min-width:0}.previewImageItem img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px;border:1px solid #e9e9ed}.previewImageItem span{display:block;font-size:10px;color:#858b95;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.previewImageGrid .emptyPreview{grid-column:1/-1}.settingsPreview{border:1px solid #ececf0;background:white;border-radius:12px;padding:20px}.settingPreviewIcon{display:flex;justify-content:center;color:#f56862;margin-bottom:12px}.settingsPreview h3{text-align:center}.settingsPreview .previewTags{justify-content:center;margin:10px 0 22px}@media(max-width:520px){.modeChoices,.playerLimits{grid-template-columns:1fr}}.batchUploadArea{min-height:265px;border:1px dashed #d8dce3;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#fff;cursor:pointer;text-align:center;padding:24px;color:#2585e8;position:relative}.batchUploadArea strong{font-size:15px;color:#202632}.batchUploadArea span{font-size:12px;color:#87909c}.batchUploadArea input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.batchUploadArea:hover{border-color:#ff6262;background:#fffafa}.rightImageMatrix{min-width:0;width:100%;padding:4px 0}.rightImageMatrix .imageMatrixScroll{overflow:auto;max-height:calc(100vh - 290px);width:100%;border:0}.rightImageMatrix .imageMatrix{width:max-content;min-width:100%;border-collapse:separate;border-spacing:7px}.rightImageMatrix .imageMatrix th{min-width:90px;max-width:125px;position:relative;white-space:nowrap}.rightImageMatrix .imageMatrix thead th{background:#fff;position:-webkit-sticky;position:sticky;top:0;z-index:2}.rightImageMatrix .imageMatrix tbody th{position:-webkit-sticky;position:sticky;left:0;background:#f7f7f8;z-index:1;border-radius:10px}.rightImageMatrix .matrixUpload{width:88px;height:88px;border-radius:12px}.rightImageMatrix .matrixUpload img{object-fit:cover}.rightImageMatrix .matrixCell{min-width:90px}.rightImageMatrix .matrixDeleteImage{font-size:11px;padding:3px 6px}.matrixSummary{font-size:12px;color:#777;margin-bottom:12px}.registerFields .field strong{font-size:14px}.registerFields .field small{color:#999;font-weight:400}.registerTags{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.registerTag{display:inline-flex;align-items:center;border:1px solid #f4d6d6;background:#fff4f4;color:#d84c4c;border-radius:30px;padding:7px 12px;font-size:12px}.tagEntry{display:flex;gap:8px}.tagEntry input{flex:1 1;min-width:0}.tagEntry button{white-space:nowrap}.registrationPreview{padding:16px 4px}.registrationCover{width:180px;max-width:100%;aspect-ratio:2/3;overflow:hidden;border-radius:12px;background:#fff1f1;margin:0 auto 18px}.registrationCover img{width:100%;height:100%;object-fit:cover}.registrationPreview h3{font-size:20px;margin:12px 0}.registrationPreview p{white-space:pre-wrap;line-height:1.75;color:#555;overflow-wrap:anywhere}.registrationPreview .previewTags{flex-wrap:wrap}@media(max-width:650px){.tagEntry{flex-direction:column}}.mapTabs,.playMapPicker{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.mapTab{border:1px solid #e4e5e9;background:#fff;border-radius:9px;padding:9px 13px;color:#545966;cursor:pointer}.mapTabActive{border-color:#ed6565!important;background:#fff4f4!important;color:#ce4141!important;font-weight:700}.mapPinToolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:14px 0}.mapPinToolbar>span{font-size:12px;color:#777;margin-right:4px}.pinCanvas{position:relative;border:1px solid #e2e5e9;border-radius:12px;overflow:hidden;cursor:crosshair;background:#f6f6f6}.pinCanvas>img{display:block;width:100%;height:auto;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pinMarker{position:absolute;z-index:3;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:2px solid white;border-radius:50%;background:#4287c2;color:#fff;font-size:14px;font-weight:800;box-shadow:0 2px 8px #0006;cursor:pointer;padding:0}.pinMarker.start{background:#35a071}.pinMarker.exit{background:#d18146}.pinMarker.pinSelected{outline:3px solid #ffda72}.pinMarker span{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);white-space:nowrap;font-size:11px;color:#fff;background:#222b;border-radius:5px;padding:3px 7px;font-weight:500;pointer-events:none}.pinDetails{margin:16px 0;padding:16px;border:1px solid #e6e7ed;border-radius:12px;background:#fbfbfc;display:flex;flex-direction:column;gap:10px}.pinDetails h3{margin:0}.mapEditorFooter{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#777;margin:16px 0}.playMapPicker{margin:0 0 12px}.imageBoard .pinMarker{z-index:4}.imageBoard{overflow:visible}.mapEditor .mapUpload{margin-bottom:8px}.mapLinkOverlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;overflow:visible}.mapRouteList{margin:14px 0;padding:14px;border:1px solid #e4e6eb;border-radius:12px;background:#fafbfc}.mapRouteList h3{margin:0 0 10px;font-size:14px}.mapRouteRow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #e9ebef;font-size:13px}.mapRouteRow b{color:#e56e51;padding:0 5px}.mapRouteRow .btn{font-size:11px;padding:5px 9px;white-space:nowrap}.pinCanvas .pinMarker{z-index:3}.pinCanvas .pinMarker span{max-width:160px;overflow:hidden;text-overflow:ellipsis}.hudToggle{display:flex;align-items:center;gap:9px;padding:11px 4px;font-size:13px;color:#333}.hudToggle input{width:17px;height:17px;accent-color:#ef6965}.modeSection .field{margin-top:12px}.liveGamePreview{border:1px solid #e2e5ea;border-radius:13px;background:#f7f8fa;padding:13px;margin-top:15px;display:flex;flex-direction:column;gap:12px}.liveGameHeader,.liveHpLabel,.livePreviewTitle{display:flex;align-items:center;justify-content:space-between;gap:8px}.livePreviewTitle{font-size:12px;font-weight:700;color:#545e6d}.livePreviewTitle small{font-size:11px;font-weight:400}.liveGameHeader{background:#202a3c;color:white;border-radius:8px;padding:12px;font-size:14px}.liveGameHeader span{font-size:11px;color:#cad2dd}.liveHp{padding:0 3px}.liveHpLabel{font-size:12px;margin-bottom:5px}.liveHpLabel b{color:#c94252}.liveHpTrack,.playHpBar{height:12px;border-radius:30px;background:#f1c7ca;overflow:hidden}.liveHpTrack div,.playHpBar div{height:100%;background:linear-gradient(90deg,#ed6875,#cc4057);border-radius:30px}.liveBoardScene{position:relative;min-height:190px;aspect-ratio:16/10;background:#e4e8ec;border-radius:10px;overflow:hidden;border:1px solid #dde1e6}.liveBoardScene img{width:100%;height:100%;position:absolute;inset:0;object-fit:contain}.liveEmptyMap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;height:100%;min-height:190px;color:#9aa3b0;font-size:11px}.liveScenePin{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:23px;height:23px;border-radius:50%;border:2px solid white;background:#317cbb;color:white;font-size:11px;font-weight:700;box-shadow:0 2px 5px #0005}.liveChat,.liveEquipment{border:1px solid #e2e5eb;border-radius:9px;padding:12px;background:white;font-size:12px}.liveEquipmentSlots{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.liveEquipmentSlots span,.playInventory span{border:1px solid #dfe4e9;border-radius:7px;background:#f7f8fb;padding:7px 9px;font-size:11px}.liveEquipmentSlots em{font-size:11px;color:#888}.liveChat b{color:#596ca2}.liveChat p{font-size:12px;line-height:1.6;color:#59616e;margin:9px 0}.liveChatInput{display:flex;justify-content:space-between;border:1px solid #e1e4e9;border-radius:8px;padding:9px;color:#a1a8b2;font-size:11px}.liveChatInput span{color:#ee6964}.liveDice{display:flex;align-items:center;gap:7px;border-radius:8px;padding:10px;background:#fcecea;color:#b64a49;font-size:12px;font-weight:700}.liveDice small{font-weight:400;color:#a87d7d;margin-left:auto}.livePreviewNote{font-size:11px;line-height:1.6;color:#858d99}.playHpBar{margin:12px 0}.playInventory{padding:12px;border:1px solid #e5e7eb;border-radius:10px;margin:12px 0}.playInventory strong{font-size:12px}.playInventory>div{margin-top:9px}.liveRoomBar,.playInventory>div{display:flex;flex-wrap:wrap;gap:7px}.liveRoomBar{justify-content:space-between;background:#202a3c;color:#fff;border-radius:9px;padding:12px;font-size:12px}.liveRoomBar span{color:#d6deeb;font-size:11px}.liveRoomBar small{width:100%;color:#aebcd0}.liveTurnBanner{display:flex;flex-direction:column;gap:4px;padding:12px;background:#e5f6ee;border:1px solid #9bd5b8;border-radius:9px;color:#18694a;font-size:12px}.liveTurnBanner span{font-size:11px}.livePlayerGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:7px;gap:7px}.livePlayerCard{display:flex;flex-direction:column;gap:5px;border:1px solid #dfe5ed;background:white;border-radius:8px;padding:10px;font-size:11px;min-width:0}.livePlayerCard strong{overflow-wrap:anywhere}.livePlayerCard small{color:#7a8492}.livePlayerCard span{font-size:10px;color:#bd5260}.livePlayerActive{border:2px solid #35a77b;background:#f2fcf7}.livePlayerHp{height:6px;border-radius:9px;background:#f5c8d0;overflow:hidden}.livePlayerHp i{display:block;width:100%;height:100%;background:#dc5d72}.liveWaiting{margin-top:9px;border-top:1px solid #edf0f4;padding-top:9px;color:#7c8592;font-size:11px}.worldStartRow{flex-wrap:wrap;gap:10px;margin:12px 0}.worldCheck,.worldStartRow{display:flex;align-items:center}.worldCheck{gap:9px;font-size:13px;padding:8px 0;color:var(--text,#293343)}.worldCheck input{width:17px;height:17px;flex-shrink:0}.pinMarker.building{background:#e2a343!important}.pinMarker.event{background:#a97be6!important}.gmIllustration{position:relative;display:flex;align-items:center;justify-content:center;min-height:140px;max-height:280px;overflow:hidden;background:#101a2a;border-radius:12px;margin:10px 12px 0}.gmIllustration img{max-width:100%;max-height:280px;width:auto;height:auto;object-fit:contain}.gmIllustration span{position:absolute;left:10px;bottom:9px;color:white;background:rgba(0,0,0,.65);padding:4px 9px;border-radius:6px;font-size:12px}.imageBoard .pinMarker.playerPosition{z-index:10;background:#ee4f62!important;color:#fff;border:3px solid #fff;width:38px;height:38px;font-size:13px;box-shadow:0 0 0 4px #f6b3bf,0 4px 13px #0007}.imageBoard .pinMarker.playerPosition span{background:#a82840;font-weight:800}.imageBoard.playWorldMap{position:relative;overflow:hidden;cursor:pointer}.imageBoard.playWorldMap>img:first-child{display:block;width:100%;height:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.imageBoard.playWorldMap .playCharacterSprite{position:absolute;z-index:5;width:54px;height:64px;object-fit:contain;transform:translate(-50%,-80%);filter:drop-shadow(0 3px 4px rgba(0,0,0,.65));pointer-events:none}.characterEditor{margin-top:18px}.characterEditor h4{margin:18px 0 9px;font-size:13px}.characterEditorGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.characterSectionToggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:2px 12px;gap:2px 12px}.characterFieldList,.characterSlotEditor{display:grid;grid-gap:8px;gap:8px;margin-bottom:10px}.characterFieldEditor{display:flex;flex-wrap:wrap;align-items:center;gap:6px;background:#fafbfc;border:1px solid #e3e7ed;padding:8px;border-radius:9px}.characterFieldEditor input,.characterFieldEditor select,.characterSlotRow input{min-width:0;flex:1 1 100px;border:1px solid #dfe3ea;border-radius:6px;padding:8px;font-size:12px;background:#fff}.characterFieldEditor select{flex:0 1 94px}.characterFieldEditor input[aria-label="초기값"],.characterFieldEditor input[aria-label="최대값"]{flex:0 1 72px}.characterFieldVisible{font-size:11px;display:flex;align-items:center;gap:3px;white-space:nowrap}.characterSlotRow{display:flex;gap:8px}.characterPanel{margin:14px 0;border:1px solid #e2e6ee;background:#fff;border-radius:12px;padding:14px;min-width:0}.characterPanelHeading{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:13px}.characterPanelHeading span{font-size:11px;color:#9aa3af}.characterSummary{display:flex;gap:12px;align-items:center;margin-bottom:13px}.characterPortrait{width:76px;height:88px;object-fit:contain;border-radius:9px;background:#f4f6fa;flex-shrink:0}.characterIdentity{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1}.characterIdentity>strong{font-size:15px}.characterIdentity small{font-size:11px;color:#6f7a89}.characterVitals{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:600}.characterStatTrack,.characterVitalTrack{height:7px;background:#f1d8dc;border-radius:20px;overflow:hidden}.characterStatTrack i,.characterVitalTrack i{display:block;height:100%;background:#ed6777;border-radius:20px}.characterTabs{display:flex;gap:5px;border-bottom:1px solid #e9edf2;padding-bottom:9px}.characterTabs button{border:0;border-radius:7px;background:#f4f6f9;padding:8px 12px;font-size:12px;color:#596579;cursor:pointer}.characterTabs button.active{background:#ffe8e7;color:#cf4c55;font-weight:700}.characterTabBody{padding-top:12px}.characterStatGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.characterStat{border:1px solid #e9edf2;background:#f8f9fb;padding:10px;border-radius:8px;display:flex;flex-direction:column;gap:6px;min-width:0}.characterStat small{font-size:10px;color:#7d8795;overflow-wrap:anywhere}.characterStat strong{font-size:14px}.characterSlotList{display:grid;grid-gap:7px;gap:7px}.characterSlotList>div{display:flex;justify-content:space-between;gap:10px;border:1px solid #edf0f4;border-radius:7px;padding:10px;font-size:12px}.characterEmptyStatus,.characterSlotList span{color:#7d8795}.characterItems{display:flex;gap:7px;flex-wrap:wrap}.characterItems span{background:#f4f6f9;border:1px solid #e3e7ed;padding:8px 10px;border-radius:7px;font-size:12px}.characterEmptyStatus,.characterItems p{font-size:12px}@media(max-width:650px){.characterStatGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.characterEditorGrid,.characterSectionToggles{grid-template-columns:1fr}}.diceCheckPanel{margin:12px 0;padding:16px;border:1px solid #f1c8c8;border-radius:12px;background:#fff8f7;display:flex;flex-direction:column;gap:10px}.diceCheckTop{display:flex;align-items:center;justify-content:space-between;gap:12px}.diceCheckTop strong{display:flex;align-items:center;gap:8px}.diceCheckTop span{font-weight:700;color:#d9505d}.diceCheckPanel p{margin:0;color:#686e7a;font-size:13px}.diceCheckPanel button{align-self:flex-start}.diceCheckResult{margin:10px 0;padding:12px;border-radius:10px;background:#f2f5f9;display:flex;flex-direction:column;gap:4px;font-size:13px}.diceCheckResult span{color:#596477}.diceWaitingLabel{font-size:12px;color:#d9505d}.diceStakes{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:4px;font-size:13px}.diceStakes li{padding:6px 10px;border-radius:8px}.diceStakes b{margin-right:6px}.diceStakes .win{background:#eef8f0;color:#2f6b3c}.diceStakes .lose{background:#fdeeee;color:#a3343f}.gmChoices{display:flex;flex-direction:column;gap:8px;padding:12px 0;margin-top:8px;border-top:1px solid #edf0f4}.gmChoiceButton{display:flex;align-items:center;text-align:left;gap:10px;width:100%;border:1px solid #e5e9ef;background:#fff;border-radius:10px;padding:11px 12px;color:#3b4658;font-size:13px;line-height:1.5;cursor:pointer;transition:background .15s,border-color .15s}.gmChoiceButton:focus-visible,.gmChoiceButton:hover{background:#fff5f5;border-color:#f2a7a7;outline:none}.gmChoiceButton>span:nth-child(2){flex:1 1;min-width:0;overflow-wrap:anywhere}.gmChoiceNumber{flex-shrink:0;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ffebeb;color:#d55360;font-size:12px;font-weight:700}.gmChoiceButton>svg{flex-shrink:0;color:#c6cbd4}.characterConfigPreview{background:#fff;border:1px solid #e5e7ec;border-radius:12px;padding:14px;min-width:0}.characterConfigPreviewHeading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px;margin-bottom:12px}.characterConfigPreviewHeading strong{font-size:13px;color:#293343}.characterConfigPreviewHeading small{font-size:11px;color:#858e9c}.characterConfigPreview .characterPanel{margin:0;width:100%;max-width:100%;box-sizing:border-box}.characterConfigPreviewEmpty,.characterConfigPreviewHint{font-size:11px;line-height:1.6;color:#858e9c;margin:10px 0 0}.characterConfigPreviewEmpty{padding:20px;text-align:center;background:#f8f9fb;border-radius:8px}.playChatPanel .storyLog{gap:0;padding:4px 5px 20px;scroll-behavior:smooth}.storyEntry{width:100%;max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}.storyGM{padding:15px 6px;color:#303743;font-size:14px;line-height:2;white-space:pre-wrap;border-bottom:1px solid #f0f1f4}.storyPlayer{padding:12px 15px;margin:13px 0 6px;background:#fff7f3;border-left:3px solid #ee7770;border-radius:0 9px 9px 0;color:#6b4743;font-size:13px;line-height:1.8}.storyEntryLabel{display:block;font-size:11px;font-weight:800;letter-spacing:.03em;margin-bottom:5px;color:#a05b56}.storySystem{padding:10px 13px;margin:7px 0;border-radius:8px;background:#f5f6f8;color:#667180;font-size:12px;line-height:1.65}.storySystem .storyEntryLabel{color:#7d8998}.storyEvent{padding:12px 15px;margin:8px 0;border-left:3px solid #8e9fbe;background:#f6f8fc;border-radius:0 8px 8px 0;font-size:13px;line-height:1.8}.storyEvent .storyEntryLabel{color:#607494}.storyMore{align-self:center;margin:4px auto 10px;font-size:12px}.storyLog .storyEntryText{white-space:pre-wrap}.storyLog .storyEvent .storyEntryText,.storyLog .storyGM .storyEntryText{white-space:normal}.storyFresh{cursor:pointer;border-radius:8px;animation:storyFresh 1.1s ease-in-out infinite}@keyframes storyFresh{0%,to{background:transparent;box-shadow:0 0 0 0 rgba(234,179,8,0)}50%{background:rgba(250,204,21,.16);box-shadow:0 0 0 3px rgba(234,179,8,.45)}}.freshHint{display:inline-block;margin-left:4px;padding:2px 9px;border:2px solid #fff;border-radius:999px;background:linear-gradient(180deg,#ff6b6b,#e11d48);color:#fff;font-size:11px;font-weight:900;letter-spacing:.02em;line-height:1.3;white-space:nowrap;box-shadow:0 2px 6px rgba(225,29,72,.45);text-shadow:0 1px 0 rgba(0,0,0,.25);animation:freshBounce 1.1s ease-in-out infinite}@keyframes freshBounce{0%,to{transform:translateY(0) scale(1)}30%{transform:translateY(-3px) scale(1.08)}60%{transform:translateY(0) scale(.97)}}@media (prefers-reduced-motion:reduce){.freshHint,.storyFresh{animation:none}.storyFresh{background:rgba(250,204,21,.16);box-shadow:0 0 0 3px rgba(234,179,8,.45)}}.storyHeading{display:inline-block;margin:0 0 6px;padding:2px 10px;border-radius:999px;background:#eef1f6;color:#4a5568;font-size:11.5px;font-weight:700;line-height:1.7}.storyNarration{margin:0 0 8px;color:#4b5563}.storySpeech{margin:4px 0 10px;padding:6px 12px;border-left:3px solid #c9a35a;background:#fdf8ee;border-radius:0 8px 8px 0;color:#2f2a20}.storyQuote{quotes:none;color:#7a4e12;font-weight:600}.storyQuote:before{content:"“"}.storyQuote:after{content:"”"}.storySpeech .storyQuote{color:#5b3a0c}.promptBuilder{display:flex;flex-direction:column;gap:16px;padding:16px;border:1px solid var(--border,#dce2ea);border-radius:14px;background:var(--panel,#fff)}.promptBuilderHeader{display:flex;flex-direction:column;gap:5px}.promptBuilderHeader small,.promptCombine small{color:#64748b}.promptSectionList{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));grid-gap:7px;gap:7px}.promptSectionRow{display:flex;align-items:center;gap:8px;padding:7px;border:1px solid #e2e8f0;border-radius:9px}.promptSectionRow.active{border-color:#64748b;background:#f1f5f9}.promptSectionRow button{flex:1 1;min-width:0;text-align:left;border:0;background:transparent;cursor:pointer;display:flex;flex-direction:column;gap:2px;color:inherit}.promptSectionRow button small{color:#64748b}.promptSectionRow input{flex:none}.promptDraftEditor{border:1px solid #e2e8f0;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px}.promptDraftHeading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.promptDraftEditor>p{color:#64748b;margin:0;font-size:13px}.promptDraftOptions{display:flex;flex-direction:column;gap:8px}.promptDraftOption{display:grid;grid-template-columns:auto 1fr;grid-gap:5px 10px;gap:5px 10px;border:1px solid #e2e8f0;padding:12px;border-radius:10px;cursor:pointer}.promptDraftOption.active{border-color:#64748b;background:#f8fafc}.promptDraftOption small{grid-column:2;white-space:pre-wrap;color:#475569;max-height:180px;overflow:auto;line-height:1.6}.promptCustomArea{width:100%;min-height:150px}.promptCombine{gap:10px}.promptCombine,.promptCombine>div{display:flex;flex-direction:column}.promptCombine>div{gap:4px}.promptCombine pre{white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;padding:12px;border-radius:10px;background:#f1f5f9;font:inherit;font-size:13px;line-height:1.6}.promptBuilderError{padding:10px;color:#b91c1c;background:#fef2f2;border-radius:8px}.promptStack{gap:16px}.promptStack,.promptStackCard{display:flex;flex-direction:column}.promptStackCard{gap:12px;border:1px solid #dbe3ee;border-radius:14px;padding:16px;background:#fff}.promptStackTitle{display:flex;flex-direction:column;gap:5px}.promptStackTitle strong{font-size:16px}.promptStackTitle small{font-size:12px;color:#64748b}.promptStackActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.promptChoiceCard{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #dbe3ee;border-radius:10px;cursor:pointer;min-width:0}.promptChoiceCard.active,.promptCustomBox.active{border-color:#4f46e5;background:#f5f3ff}.promptChoiceCard>div,.promptCustomBox>span{display:flex;align-items:center;gap:8px}.promptChoiceCard p{font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#475569}.promptCustomBox{display:flex;flex-direction:column;gap:10px;border:1px solid #dbe3ee;border-radius:10px;padding:12px}.promptCustomBox textarea{width:100%;resize:vertical;min-height:100px}.promptAddButton{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:18px;border:2px dashed #94a3b8;border-radius:12px;background:transparent;color:inherit;cursor:pointer;font-weight:700;flex-wrap:wrap}.promptAddButton small{font-weight:400;color:#64748b}.promptAddPanel{display:flex;flex-direction:column;gap:12px;border:1px solid #dbe3ee;border-radius:12px;padding:16px}@media(max-width:850px){.promptThreeChoices{grid-template-columns:1fr}}.mapGeneratePanel,.mapMarkerPanel{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;border:1px solid #dce3ed;border-radius:12px;background:#f8fafc}.mapGeneratePanel>div,.mapMarkerPanel>div{flex:1 1 250px}.mapGeneratePanel .assetHelp,.mapMarkerPanel .assetHelp{margin:5px 0}.mapGenerationError{width:100%;color:#b42318;font-size:13px}.mapMarkerSample{width:64px;height:64px;object-fit:contain;background:repeating-conic-gradient(#eee 0 25%,white 0 50%) 50%/16px 16px;border-radius:8px}.defaultPlayerMarker{display:inline-block;width:27px;height:27px;box-sizing:border-box;border:4px solid #fff;border-radius:50%;background:#2584f5;box-shadow:0 2px 8px rgba(0,0,0,.45),inset 0 0 0 4px #2584f5;position:relative;flex:none}.defaultPlayerMarker:after{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;border-radius:50%;background:#fff;transform:translate(-50%,-50%)}.imageBoard.playWorldMap .playDefaultMarker{position:absolute;z-index:5;transform:translate(-50%,-50%);pointer-events:none}.defaultMarkerPreview{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:8px;background:#eaf3ff}.promptThreeChoices{grid-template-columns:repeat(4,minmax(0,1fr))}.promptThreeChoices .promptChoiceCard,.promptThreeChoices .promptCustomBox{min-width:0;min-height:170px;padding:12px;gap:10px;display:flex;flex-direction:column}.promptChoiceSelect{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px}.promptChoiceSummary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;line-height:1.6;font-size:12px;overflow-wrap:anywhere;margin:0;color:#475569}.promptDetailButton{align-self:flex-start;margin-top:auto;padding:3px 0;border:0;background:transparent;color:#4f46e5;font-size:12px;cursor:pointer;font-weight:600}.promptChoiceFull{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65;border-top:1px solid #e2e8f0;padding-top:10px;max-height:260px;overflow-y:auto}.promptThreeChoices .promptCustomBox textarea{width:100%;min-height:105px;max-height:260px;flex:1 1;resize:vertical;font-size:12px;line-height:1.6;box-sizing:border-box}@media(max-width:1100px){.promptThreeChoices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.promptThreeChoices{grid-template-columns:1fr}}.promptThreeChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;align-items:stretch}.promptThreeChoices .promptChoiceCard{min-width:0;min-height:145px}.promptThreeChoices .promptCustomBox{grid-column:1/-1;min-height:0}.promptThreeChoices .promptCustomBox textarea{min-height:90px;max-height:360px;flex:none;font-size:13px}@media(max-width:650px){.promptThreeChoices{grid-template-columns:1fr}.promptThreeChoices .promptCustomBox{grid-column:1}}.promptOptionalInactive{opacity:.78;background:#f8fafc}.promptOptionalToggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;cursor:pointer}.promptOptionalToggle input{accent-color:#5757ed}.wizardBuilder{gap:18px}.wizardBuilder,.wizardIntro{display:flex;flex-direction:column}.wizardIntro{gap:5px}.wizardIntro strong{font-size:19px}.wizardHelp,.wizardIntro small,.wizardStep>p{color:#64748b;font-size:13px;line-height:1.6}.wizardProgress{display:flex;flex-wrap:wrap;gap:6px}.wizardProgress button{border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;padding:9px 10px;font-size:12px;color:#64748b;cursor:pointer}.wizardProgress button.current{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd;font-weight:700}.wizardProgress button.done{color:#15803d}.wizardStep{display:flex;flex-direction:column;gap:14px}.wizardStep h3{font-size:19px;margin:0}.wizardStep>p{margin:0}.wizardChoiceList,.wizardTypeList{display:flex;flex-direction:column;gap:9px}.wizardTypeList>button,.wizardWorldRow{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #dbe2ec;background:white;border-radius:12px;padding:14px;cursor:pointer}.wizardTypeList>button strong{min-width:135px}.wizardTypeList>button small{flex:1 1;color:#64748b}.wizardTypeList>button svg,.wizardWorldRow svg{margin-left:auto}.wizardOptionalPicker button.chosen,.wizardTypeList>button.chosen,.wizardWorldRow.chosen{border-color:#60a5fa;background:#eff6ff}.wizardWorldRow b{width:40px}.wizardWorldRow span{flex:1 1}.wizardWorldCustom{border:1px solid #dbe2ec;border-radius:12px;padding:12px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.wizardWorldCustom input{flex:1 1;min-width:150px}.wizardRequired{border:1px solid #e2e8f0;border-radius:13px;padding:13px;display:flex;flex-direction:column;gap:10px}.wizardRequiredLabel{display:flex;gap:10px;align-items:center}.wizardRequiredLabel span{font-size:12px;color:#64748b}.wizardRequiredLabel small{margin-left:auto;color:#16a34a}.wizardChoices{display:flex;flex-direction:column;gap:8px}.wizardRowHeader{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.wizardChoice{border:1px solid #dbe2ec;border-radius:10px;padding:11px;background:white}.wizardChoice.selected{background:#eff6ff;border-color:#60a5fa}.wizardChoice label{display:flex;align-items:center;gap:10px;cursor:pointer;min-width:0}.wizardChoice label b{flex-shrink:0;font-size:13px;min-width:35px}.wizardChoice label span{font-size:12px;color:#475569;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wizardChoice input[type=radio]{accent-color:#2563eb}.wizardDetail{background:none;border:0;color:#2563eb;font-size:12px;cursor:pointer;margin:7px 0 0 26px}.wizardFull{white-space:pre-wrap;font-size:13px;line-height:1.6;margin:9px 0 0;color:#334155}.wizardCustom textarea{width:100%;margin-top:9px;min-height:54px;box-sizing:border-box;resize:vertical}.wizardOptionalPicker{display:flex;flex-wrap:wrap;gap:7px}.wizardOptionalPicker button{background:white;border:1px solid #dbe2ec;border-radius:9px;padding:8px 11px;cursor:pointer;font-size:12px}.wizardOptionalEditor{border:1px solid #e2e8f0;padding:13px;border-radius:12px;gap:12px}.wizardAdd,.wizardOptionalEditor{display:flex;flex-direction:column}.wizardAdd{gap:8px}.wizardBack{align-self:flex-start}@media(max-width:700px){.wizardTypeList>button{flex-wrap:wrap}.wizardTypeList>button strong{min-width:0}.wizardProgress button{flex:1 1}}.mapEditor .pinCanvas .pinMarker span{display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;font-weight:700;background:rgba(21,30,43,.88);border:1px solid rgba(255,255,255,.55);box-shadow:0 2px 7px #0005;z-index:5}.mapEditor .pinCanvas .pinMarker{overflow:visible;touch-action:none;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mapEditor .pinCanvas .pinMarker:active{cursor:-webkit-grabbing;cursor:grabbing;z-index:12}.mapEditor .pinCanvas .mapPlaceLabel{position:absolute;z-index:4;transform:translate(-50%);margin-top:19px;max-width:160px;padding:4px 8px;border-radius:6px;background:rgba(21,30,43,.88);border:1px solid rgba(255,255,255,.65);box-shadow:0 2px 7px #0005;color:white;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mapEditor .pinCanvas{touch-action:none}.imageBoard.playWorldMap .playPlaceLabel{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%);margin-top:13px;max-width:28%;padding:3px 7px;border-radius:5px;background:rgba(30,25,20,.88);border:1px solid rgba(241,210,145,.85);color:#fff6de;font-size:clamp(9px,1.15vw,13px);font-weight:700;line-height:1.4;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:0 2px 5px #0008}.placeLabelCanvas{position:relative;width:100%;line-height:0}.placeLabelCanvas>img{display:block;width:100%;height:auto}.mapPlaceName{position:absolute;z-index:4;transform:translate(-50%,7px);max-width:38%;padding:3px 7px;border-radius:5px;background:rgba(20,30,44,.92);border:1px solid rgba(241,210,145,.8);color:#fff;font-size:clamp(9px,1.1vw,13px);font-weight:700;line-height:1.4;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:0 2px 5px #0008}.liveBoardScene .mapPlaceName{font-size:10px;padding:2px 4px;max-width:42%}.prologueSuggestion{border:1px solid #e5e7eb;border-radius:10px;padding:12px;margin:10px 0;background:#fafafa}.prologueSuggestionHead{display:flex;justify-content:space-between;align-items:center;gap:12px}.prologueSuggestion p{white-space:pre-wrap;line-height:1.7;font-size:13px;margin:10px 0 0}.prologueEditor textarea{line-height:1.7}.storyEntryText{white-space:pre-wrap}.wizardSectionGuide{margin:0;color:#52657e;font-size:13px;line-height:1.65;background:#f3f7fc;padding:10px 12px;border-radius:8px}.wizardSelectable{position:relative;cursor:pointer;outline-offset:3px}.wizardSelectable:focus-visible,.wizardSelectable:hover{border-color:#2563eb;background:#eff6ff}.wizardSelectable:focus-visible{outline:2px solid #2563eb}.wizardDisabled{cursor:wait;opacity:.72}.wizardOptionSummary{display:flex;gap:10px;align-items:flex-start}.wizardOptionSummary input{margin-top:5px;flex-shrink:0}.wizardOptionText{display:flex;flex-direction:column;gap:6px;min-width:0}.wizardOptionText strong{font-size:13px;color:#1e293b}.wizardOptionText span{font-size:12px;color:#52657e;line-height:1.55;white-space:pre-line}.wizardHoverFull{display:none;position:absolute;z-index:30;left:5%;right:5%;top:calc(100% + 5px);background:#172338;color:white;white-space:pre-wrap;line-height:1.6;font-size:13px;padding:14px;border-radius:10px;box-shadow:0 10px 28px #0f172a55;max-height:280px;overflow:auto;pointer-events:none}.wizardSelectable:hover .wizardHoverFull{display:block}.mapCustomPrompt{display:flex;flex-direction:column;gap:10px;border:1px solid #dce3ed;border-radius:12px;padding:16px;background:#fff}.mapCustomPrompt textarea{width:100%;box-sizing:border-box;resize:vertical}.mapCustomPrompt .btn{align-self:flex-start}.mapTaskProgress{border:1px solid #bfdbfe;background:#eff6ff;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px;color:#1e40af}.mapTaskProgress small{color:#475569}.mapIndeterminate{height:9px;border-radius:99px;background:#dbeafe;overflow:hidden;position:relative}.mapIndeterminate span{position:absolute;top:0;bottom:0;width:35%;background:#2563eb;border-radius:99px;animation:mapTaskSlide 1.4s ease-in-out infinite alternate}@keyframes mapTaskSlide{0%{left:0}to{left:65%}}@media(prefers-reduced-motion:reduce){.mapIndeterminate span{animation:none;width:100%}}.mapWorkflowStatus{border:1px solid #d9e2ef;background:#f8fbff;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.mapWorkflowStatus h3{margin:0}.mapWorkflowProgress{height:8px;background:#e5eaf2;border-radius:99px;overflow:hidden}.mapWorkflowProgress span{display:block;height:100%;background:#38976b;transition:width .25s}.mapWorkflowItem{border:1px solid #e0e5ed;background:#fff;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px}.mapWorkflowItem strong{font-size:14px}.mapWorkflowItem span{font-size:12px;color:#64748b}.mapWorkflowItem.optional{background:#fafafa}.mapEditor .mapStageOne{border:1px solid #cbdcf4;background:#f8fbff;border-radius:12px;padding:16px;margin:10px 0}.mapEditor .mapStageTwo{border:1px solid #c8e5d6;background:#f6fcf8;border-radius:12px;padding:16px;margin:16px 0}.mapEditor .mapTabs{padding:12px;border:1px solid #e0e5ed;border-radius:12px;background:#fafbfc}.mapEditor .pinCanvas{border:2px solid #d7e0ee}.mapCompletion{margin-top:24px;padding:18px;border:1px solid #b9ddc6;background:#f4fbf6;border-radius:12px;display:flex;flex-direction:column;gap:10px}.mapCompletion p{margin:0;color:#276343;font-size:13px}.mapCompletion button{width:100%;justify-content:center}.mapStepSection{border:2px solid #d9e2ef;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:16px;background:#fff;margin:12px 0 22px;min-width:0}.mapStepImage{border-color:#bfd3f0;background:#f9fbff}.mapStepLocations{border-color:#b8dfcd;background:#fbfefc}.mapStepHeader{display:flex;align-items:flex-start;gap:12px;padding-bottom:14px;border-bottom:1px solid #dbe4ef;flex-wrap:wrap}.mapStepHeader>div{flex:1 1;min-width:170px}.mapStepHeader h3{margin:0 0 5px;font-size:17px}.mapStepHeader p{margin:0;font-size:13px;color:#64748b;line-height:1.6}.mapStepNumber{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#e6efff;color:#2456a6;border-radius:10px;font-weight:800}.mapStepLocations .mapStepNumber{background:#e3f5ea;color:#23734b}.mapStepState{font-size:12px;color:#52657e;border-radius:99px;background:#fff;padding:6px 10px;border:1px solid #dce4ed}.mapEditor .mapStepSection .mapStageOne,.mapEditor .mapStepSection .mapStageTwo{margin:0}.mapSelectionArea{border-top:1px solid #dbe4ef;padding-top:15px}.mapSelectionHeading{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.mapSelectionHeading strong{font-size:15px}.mapSelectionHeading span{font-size:12px;color:#64748b}.mapSelectionGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));grid-gap:12px;gap:12px}.mapSelectionCard{display:flex;flex-direction:column;gap:8px;min-width:0;text-align:left;background:#fff;border:2px solid #dce3ed;border-radius:12px;padding:9px;cursor:pointer;color:#1e293b;transition:border-color .15s,box-shadow .15s}.mapSelectionCard:hover{border-color:#7aa6e6;box-shadow:0 4px 12px #1d4ed814}.mapSelectionCard:focus-visible{outline:3px solid #2563eb;outline-offset:2px}.mapSelectionActive{border-color:#2563eb;background:#f1f6ff}.mapSelectionThumb{display:block;width:100%;aspect-ratio:16/10;background:#e2e8f0;border-radius:8px;overflow:hidden}.mapSelectionThumb img{width:100%;height:100%;object-fit:cover;display:block}.mapSelectionInfo{display:flex;flex-direction:column;gap:4px}.mapSelectionInfo strong{font-size:13px;overflow-wrap:anywhere}.mapSelectionInfo small{font-size:11px;color:#64748b}.mapSelectionCheck{align-self:flex-start;border-radius:99px;padding:3px 8px;font-size:11px;font-weight:700;background:#eef2f7;color:#475569}.mapSelectionActive .mapSelectionCheck{background:#dbeafe;color:#1d4ed8}.mapSelectionEmpty,.mapStepEmpty{border:1px dashed #b7c5d7;background:#fff;border-radius:10px;padding:24px 14px;text-align:center;font-size:13px;color:#64748b}.playSituationImage{position:relative;max-height:300px;min-height:140px;overflow:hidden;border-radius:14px;background:#171923;margin:12px 0;display:flex;align-items:center;justify-content:center}.playSituationImage img{width:100%;max-height:300px;object-fit:contain}.playSituationImage span{position:absolute;bottom:8px;left:10px;background:rgba(0,0,0,.65);color:#fff;border-radius:8px;padding:5px 10px;font-size:12px}.prologueRichText{overflow-wrap:anywhere;line-height:1.75}.prologueRichText,.prologueTextSegment{white-space:pre-wrap}.prologueInlineImage{margin:14px 0;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.prologueInlineImage img{display:block;max-width:100%;width:auto;max-height:430px;object-fit:contain;border-radius:10px;border:1px solid #e5e7eb}.prologueInlineImage figcaption{font-size:12px;color:#7a7d86}.prologueMissingImage{display:inline-block;margin:6px 0;padding:8px 11px;border:1px dashed #d49a6b;background:#fff8ed;color:#925a29;border-radius:7px;font-size:12px}.prologuePreviewPanel{margin:14px 0;padding:16px;border:1px solid #d9dee7;border-radius:12px;background:#fbfcff}.prologuePreviewPanel h4{margin:0 0 8px;font-size:15px}.pinCanvas .pinMarker.pinGameStart{background:#15803d;border:3px solid #fff7b0;box-shadow:0 0 0 5px rgba(34,197,94,.38),0 3px 13px #0008;z-index:7;font-size:17px}.pinCanvas .mapPlaceLabel.mapStartPlaceLabel{background:#14532d;border:2px solid #f5df82;color:#fff;box-shadow:0 0 0 3px rgba(22,163,74,.25),0 3px 10px #0009;font-weight:900;z-index:8}.startPlaceSummary{display:flex;align-items:center;gap:12px;padding:12px 15px;border:2px solid #3caa70;border-radius:12px;background:#eefbf2;margin:12px 0;color:#14532d}.startPlaceSummaryIcon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#15803d;color:white;font-size:22px;flex-shrink:0}.startPlaceSummary div{display:flex;flex-direction:column;gap:4px}.startPlaceSummary div span{font-weight:800;font-size:15px}.playCurrentLocationPill{display:inline-flex;align-items:center;padding:7px 12px;border-radius:99px;background:#166534;color:#fff;font-size:13px;font-weight:800;box-shadow:0 2px 7px #0002}.imageBoard.playWorldMap .playLocationHalo{position:absolute;z-index:3;transform:translate(-50%,-50%);width:68px;height:68px;border-radius:50%;background:rgba(34,197,94,.18);border:3px solid #4ade80;box-shadow:0 0 0 6px rgba(34,197,94,.12),0 0 20px rgba(22,163,74,.55);pointer-events:none;animation:playLocationPulse 2.2s ease-in-out infinite}.imageBoard.playWorldMap .mapPlaceName.mapPlaceCurrent{z-index:9;transform:translate(-50%,22px);background:#14532d;border:2px solid #fde68a;color:white;font-weight:900;font-size:clamp(10px,1.25vw,14px);padding:5px 9px;max-width:60%;box-shadow:0 0 0 3px rgba(22,163,74,.3),0 3px 9px #000b}@keyframes playLocationPulse{0%,to{box-shadow:0 0 0 4px rgba(34,197,94,.15),0 0 12px rgba(22,163,74,.35)}50%{box-shadow:0 0 0 11px rgba(34,197,94,.05),0 0 24px rgba(22,163,74,.55)}}@media(prefers-reduced-motion:reduce){.imageBoard.playWorldMap .playLocationHalo{animation:none}}.mapEditor .pinCanvas .mapLinkOverlay{z-index:2;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.mapAdjacentLine{stroke:#16a34a;stroke-width:.65;stroke-dasharray:1.5 1;vector-effect:non-scaling-stroke;stroke-width:3px;filter:drop-shadow(0 1px 1px #0008)}.mapEditor .pinCanvas .pinMarker.pinLinkSource{outline:4px solid #f59e0b;box-shadow:0 0 0 8px #fbbf2450;z-index:10}.mapLinkInstruction{padding:9px 12px;background:#effaf2;border:1px solid #9bd6ad;border-radius:8px;color:#166534;font-size:13px;font-weight:700}.mapEditor .mapRouteList{margin:12px 0 18px}.bulkImportEntry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;margin-bottom:18px}.bulkImportEntry p,.bulkImportPanel p{margin:6px 0;color:#64748b;font-size:13px}.bulkImportPanel{padding:16px;border:1px solid #cbd5e1;border-radius:12px;margin-bottom:20px;background:white}.bulkImportPanel textarea{width:100%;min-height:230px;resize:vertical;box-sizing:border-box;margin-top:10px;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;line-height:1.6}.bulkImportActions,.bulkImportSummary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.bulkImportPanel small,.bulkImportSummary span{font-size:12px;color:#64748b}.bulkImportTags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.bulkImportTags span{font-size:12px;padding:5px 8px;border-radius:6px;background:#e2e8f0}.bulkImportTags .bulkBase{background:#dcfce7;color:#166534}.bulkImportTags .bulkExtra{background:#eff6ff;color:#1d4ed8}@media(max-width:640px){.bulkImportEntry{flex-direction:column;align-items:stretch}}.gameGrid .gameCard{height:420px;display:flex;flex-direction:column;min-width:0}.gameGrid .gameCard .gameCover{flex:1 1 auto;min-height:0;height:auto;aspect-ratio:auto;background:#f1e9e7}.gameGrid .gameCard .gameCover img{width:100%;height:100%;object-fit:cover;object-position:center top}.gameGrid .gameCard .gameInfo{flex:0 0 112px;min-height:0;box-sizing:border-box;padding:10px 12px 11px;display:flex;flex-direction:column}.gameGrid .gameCard .gameInfo h3{font-size:14px;line-height:19px;margin:0 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gameGrid .gameCard .gameInfo p{font-size:11px;line-height:16px;height:16px;margin:0 0 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gameGrid .gameCard .gameActions{flex-wrap:nowrap;gap:5px}.gameGrid .gameCard .gameActions .btn{padding:6px 8px;font-size:11px;white-space:nowrap}.gameGrid .gameCard .gameActions .iconButton{width:30px;height:30px;flex:0 0 30px}@media(max-width:520px){.gameGrid .gameCard{height:370px}.gameGrid .gameCard .gameInfo{flex-basis:110px;padding:8px}.gameGrid .gameCard .gameActions{gap:3px}.gameGrid .gameCard .gameActions .btn{padding:6px}.gameGrid .gameCard .gameActions .iconButton{width:27px;height:27px;flex-basis:27px}}.storyLog .prologueRichText{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.storyLog .prologueInlineImage{margin:16px 0 18px;width:100%;display:flex;align-items:center;justify-content:center}.storyLog .prologueInlineImage img{display:block;max-width:100%;max-height:420px;width:auto;height:auto;object-fit:contain;border-radius:12px}.storyLog .prologueInlineImage figcaption{align-self:center}.relationshipList{display:flex;flex-direction:column;gap:10px}.relationshipPerson{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e9e9ee;border-radius:12px;background:#fff}.relationshipPhoto{width:66px;height:82px;flex:0 0 66px;border-radius:9px;background:#f1f1f5;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#8b8b98}.relationshipPhoto img{width:100%;height:100%;object-fit:cover}.relationshipDetails{display:flex;flex-direction:column;gap:4px;flex:1 1;min-width:0}.relationshipDetails strong{font-size:14px}.relationshipDetails small,.relationshipDetails span{font-size:12px;color:#777}.relationshipDetails b{color:#ea6065}.relationshipGauge{position:relative;height:6px;background:#eeeef3;border-radius:99px;overflow:hidden}.relationshipGauge:after{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:#c9c9d3}.relationshipGauge i{position:absolute;top:0;height:100%;background:#ef6a77}.relationshipGauge i.neg{background:#5b6b8c}.relationshipDetails span.attitude-hostile,.relationshipDetails span.attitude-hostile b{color:#b4232c}.relationshipDetails span.attitude-cold b{color:#5b6b8c}.relationshipDetails span.attitude-trust b{color:#d9365a}.relationshipEditor{margin:16px 0;padding:14px;border:1px solid #e7e7ed;border-radius:12px}.relationshipEditRow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}.relationshipEditRow>input{flex:2 1 120px;min-width:80px}.relationshipEditRow>select{flex:1 1 100px;min-width:90px}.relationshipEditRow label{display:flex;align-items:center;gap:5px;font-size:12px}.relationshipEditRow label input{width:65px}.characterTabs{flex-wrap:wrap}.relationshipPerson:not(:has(.relationshipPhoto)) .relationshipDetails{width:100%}.gmFreeChoice{cursor:text;text-align:left}.gmFreeChoice:hover{border-color:#f6a0a0}.characterGoal{display:flex;gap:5px;align-items:flex-start;padding:9px 10px;margin:-2px 0 12px;border:1px solid #f2e4e3;border-radius:8px;background:#fff8f7;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.characterGoal strong{flex:0 0 auto;color:#d45159}.characterGoal span{min-width:0;white-space:pre-wrap}.characterGoalCurrent,.characterGoalFinal{display:flex;flex-direction:column;gap:5px;padding:11px 13px;margin:0 0 10px;border-radius:10px;font-size:12px;line-height:1.65}.characterGoalFinal{background:#f2f1fb;border:1px solid #dedaf7;border-left:4px solid #7465c6}.characterGoalFinal strong{color:#51439e;font-size:12px;letter-spacing:.02em}.characterGoalCurrent{background:#eef8f5;border:1px solid #cce7dc;border-left:4px solid #239d78}.characterGoalCurrent strong{color:#15785b;font-size:12px;letter-spacing:.02em}.characterGoalCurrent span,.characterGoalFinal span{color:#263142;line-height:1.65}.playChatPanel{justify-content:flex-start}.playChatPanel .chatLog.storyLog{flex:0 1 auto;min-height:0;max-height:570px;overflow-y:auto}.playChatPanel .gmChoices{flex:0 0 auto}.playChatPanel .chatForm{margin-top:8px;flex:0 0 auto}.playChatPanel .chatHint{flex:0 0 auto}@media(max-width:800px){.playChatPanel .chatLog.storyLog{max-height:400px}}.goalModePicker,.goalStepEditor{padding:12px;border:1px solid #dfe4ed;border-radius:10px;margin:10px 0;background:#fafbfe;display:flex;flex-direction:column;gap:10px}.goalModePicker small,.goalStepEditor small{color:#7a8290}.goalMilestoneProgress{margin-top:7px;display:flex;flex-direction:column;gap:6px}.goalMilestoneCount{font-weight:700;color:#51439e}.goalMilestoneTrack{height:9px;border-radius:12px;background:#e1dcf4;overflow:hidden}.goalMilestoneTrack i{display:block;height:100%;background:#7866d2;transition:width .3s}.goalMilestoneItem{display:flex;gap:8px;align-items:baseline;color:#374151}.goalMilestoneItem span:first-child{color:#7465c6;font-weight:700}.wizardTypeList button:disabled{opacity:.52;cursor:not-allowed;background:#f5f6f9;filter:grayscale(.3)}.comingSoon{margin-left:auto;font-size:11px;font-style:normal;color:#8490a1;white-space:nowrap}.rpgStepTop{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.rpgStepTop span{color:#657287;font-size:12px}.rpgStepProgress{display:flex;gap:5px;margin-bottom:20px;flex-wrap:wrap}.rpgStepProgress button{width:32px;height:32px;border-radius:8px;border:1px solid #dbe1e9;background:#f7f8fb;color:#64748b;cursor:pointer}.rpgStepProgress button.active{border-color:#f0757b;background:#fff0f1;color:#b43c47;font-weight:800}.rpgStepProgress button.done{background:#eaf8f1;color:#177553;border-color:#b7e4d0}.rpgStepProgress button:disabled{opacity:.45;cursor:not-allowed}.rpgStepNavigation{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.rpgStepWizard .wizardRequired{margin-bottom:14px}.npcPortraitGrid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));grid-gap:14px;gap:14px;margin:16px 0}.npcPortraitCard{padding:12px;border:1px solid var(--border,#343a4b);border-radius:12px;background:var(--panel,#171d2b)}.npcPortraitThumb{width:104px;min-width:104px;height:156px;border-radius:9px;background:#222a3c;color:#8c96ad}.npcPortraitThumb img{object-fit:cover}.npcPortraitInfo{flex:1 1;gap:8px}.npcPortraitInfo small{line-height:1.5;opacity:.8;white-space:normal}.npcPortraitInfo .field textarea{width:100%;min-height:72px}.npcPortraitActions{gap:7px}.npcUpload{display:inline-flex;align-items:center;gap:6px;cursor:pointer;position:relative}.npcUpload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.npcRightHelp{padding:18px;display:flex;flex-direction:column;gap:12px;line-height:1.7}.npcRightHelp p{font-size:13px;opacity:.82}.wizardSelectable .wizardHoverFull{left:0;right:0;top:calc(100% + 4px)}.npcPortraitGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px;align-items:start}.npcPortraitCard{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;background:#fff;color:#202a3a;border:1px solid #dce4ef;border-radius:14px;box-shadow:0 2px 8px rgba(18,35,60,.04)}.npcPortraitThumb{width:100%;min-width:0;height:240px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#edf2f8;color:#7e8b9d}.npcPortraitThumb img{width:100%;height:100%;object-fit:contain}.npcPortraitInfo{width:100%;min-width:0;display:flex;flex-direction:column;gap:11px;color:#202a3a}.npcPortraitInfo>strong{font-size:18px;color:#15263b}.npcPortraitInfo>small{color:#526173;line-height:1.5;max-height:4.5em;overflow:auto}.npcPortraitInfo .field{width:100%;min-width:0;display:flex;flex-direction:column;gap:6px;color:#34465b;font-weight:600}.npcPortraitInfo .field input,.npcPortraitInfo .field select,.npcPortraitInfo .field textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;background:#fff;color:#1b293b;border:1px solid #cbd5e1;border-radius:8px;padding:10px;font-weight:400}.npcPortraitInfo .field textarea{min-height:100px;resize:vertical}.npcPortraitActions{display:flex;gap:8px;flex-wrap:wrap}.npcPortraitActions .btn{flex:1 1;min-width:125px;justify-content:center}@media(max-width:850px){.npcPortraitGrid{grid-template-columns:1fr}.npcPortraitThumb{height:260px}}.prologueImageEditor{margin:10px 0;max-width:640px;border:1px solid #d8dee8;border-radius:12px;overflow:hidden;background:#f1f4f8}.prologueImageEditor img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.prologueEmptyImage{aspect-ratio:16/9;display:grid;place-items:center;color:#697586}.prologueControls{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}.prologueOpening{border:1px solid #d7dce5;border-radius:14px;overflow:hidden;background:#fff;max-width:100%}.prologueHero{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.prologueOpeningBody{padding:22px 24px 28px}.prologueEyebrow{font-size:11px;letter-spacing:.19em;font-weight:800;color:#8a6a43}.prologueOpeningBody h3{font-size:23px;line-height:1.4;margin:9px 0 17px;color:#242c39}.prologueOpeningBody .prologueRichText{font-size:14px;line-height:1.95;color:#384252}.storyLog .prologueOpening{width:100%}@media(max-width:600px){.prologueOpeningBody{padding:16px}.prologueOpeningBody h3{font-size:19px}}.imageBoard.playWorldMap .playCharacterSprite{z-index:12;width:clamp(48px,6vw,76px);height:clamp(65px,8vw,100px);transform:translate(-50%,-86%);transform-origin:center bottom;filter:drop-shadow(0 3px 5px rgba(0,0,0,.85)) drop-shadow(0 0 8px rgba(56,189,248,.65));animation:playerMarkerFloat 1.5s ease-in-out infinite}.imageBoard.playWorldMap .playLocationHalo{z-index:4;width:60px;height:60px;background:rgba(56,189,248,.12);border:2px solid rgba(125,211,252,.85);box-shadow:0 0 0 4px rgba(14,165,233,.15),0 0 16px rgba(56,189,248,.5)}@keyframes playerMarkerFloat{0%,to{transform:translate(-50%,-86%)}50%{transform:translate(-50%,-92%)}}@media(prefers-reduced-motion:reduce){.imageBoard.playWorldMap .playCharacterSprite{animation:none}}.miniMapPanel{margin-top:14px;border:1px solid #e2e6ee;border-radius:12px;padding:12px;background:#fff}.miniMapHeading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:13px}.miniMapHeading strong{display:flex;align-items:center;gap:6px}.miniMapHeading strong svg{color:#f26861}.miniMapHeading span{font-size:11px;color:#8b94a3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miniMap{position:relative;border-radius:9px;overflow:hidden;background:#f4f2f0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.miniMap>img:first-child{display:block;width:100%;height:auto;pointer-events:none}.miniMapPlayer{position:absolute;z-index:5;width:34px;height:40px;object-fit:contain;transform:translate(-50%,-95%);filter:drop-shadow(0 2px 3px rgba(0,0,0,.6));pointer-events:none}.miniMapHint{margin:8px 0 0;font-size:11px;color:#8b94a3}.sceneStage{position:relative;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#1f2430}.sceneBackground{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.sceneFallback{background:linear-gradient(160deg,#3a3f4f,#1f2430)}.sceneTopBar{position:absolute;top:12px;left:12px;right:12px;z-index:7;display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;pointer-events:none}.sceneTopBar>*{pointer-events:auto}.sceneLocation{display:flex;align-items:center;max-width:calc(100% - 24px);padding:0;border:0;background:none;color:#fff;font:inherit;font-weight:800;white-space:nowrap;cursor:pointer}.sceneLocation>b{display:flex;align-items:center;gap:6px;padding:9px 18px;border-radius:22px;background:rgba(20,22,30,.7);border:1px solid rgba(255,255,255,.3);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 2px 10px rgba(0,0,0,.3);font-size:15px;transition:background .15s,border-color .15s}.sceneLocation:hover:not(:disabled)>b{background:#f26861;border-color:#f26861}.sceneLocation:active:not(:disabled)>b{transform:scale(.96)}.sceneLocation:focus-visible{outline:2px solid #fca5a1;outline-offset:2px}.sceneLocation.open>b{background:#f26861;border-color:#f26861}.sceneLocation:disabled{opacity:.45;cursor:not-allowed}.stageMap{position:absolute;inset:0;z-index:6;background:#1f2430}.stageMap>.miniMap{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;container-type:size;background:none;border-radius:0;overflow:hidden}.stageMapFrame{position:relative}.stageMapFrame>img:first-child{display:block;width:auto;height:auto;max-width:100cqw;max-height:100cqh;pointer-events:none}.stageMapHint{left:50%;bottom:10px;z-index:7;transform:translateX(-50%);margin:0;padding:4px 11px;border-radius:14px;background:rgba(20,22,30,.62);color:#e5e7eb;font-size:11px;white-space:nowrap}.sceneNpcs,.stageMapHint{position:absolute;pointer-events:none}.sceneNpcs{left:0;right:0;bottom:0;z-index:2;display:flex;justify-content:center;align-items:flex-end;gap:clamp(8px,3%,28px);padding:0 4%;height:78%}.sceneNpc{margin:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;flex:0 1 30%}.sceneNpc img{max-height:calc(100% - 26px);max-width:100%;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.55))}.sceneNpcSilhouette{width:min(120px,100%);aspect-ratio:3/4;display:grid;place-items:center;border-radius:14px 14px 0 0;background:rgba(20,22,30,.55);color:rgba(255,255,255,.75)}.sceneNpc figcaption{margin:4px 0 8px;padding:3px 10px;border-radius:12px;background:rgba(20,22,30,.78);color:#fff;font-size:12px;font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sceneBusy{position:absolute;right:12px;top:12px;z-index:3;padding:6px 11px;border-radius:20px;background:rgba(255,255,255,.9);color:#5b6473;font-size:12px;font-style:italic}.playScenePanel .gmChoices{margin-top:0;padding-top:4px}.gmChoiceButton.gmChoiceWild{border-style:dashed;border-color:#c9b8f5;background:#faf8ff}.gmChoiceButton.gmChoiceWild .gmChoiceNumber,.gmChoiceTag{background:#ede7ff;color:#6d4fd8}.gmChoiceTag{flex-shrink:0;font-style:normal;font-size:10px;font-weight:700;border-radius:10px;padding:3px 7px}.sceneInteract{align-self:flex-start}.pinBackgroundPreview{display:block;width:100%;max-height:180px;object-fit:cover;border-radius:9px;margin-top:10px;border:1px solid #e4e6ea}.pinBackgroundRemove{margin-top:8px}@media(max-width:520px){.sceneNpc{flex-basis:40%}}.encounterPanel{border:1px solid #e5e9ef;border-radius:12px;padding:14px;background:#fff}.encounterPanel p{margin:0 0 12px;font-size:14px;color:#3b4658}.encounterActions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-gap:10px;gap:10px}.encounterAction{display:flex;flex-direction:column;align-items:center;gap:7px;padding:16px 8px;border-radius:12px;border:1px solid #e5e9ef;background:#fff;color:#3b4658;font-size:14px;cursor:pointer;transition:background .15s,border-color .15s}.encounterTalk:hover:not(:disabled){background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.encounterFight:hover:not(:disabled){background:#fff1f1;border-color:#f2a7a7;color:#c53340}.encounterTalk svg{color:#3b82f6}.encounterFight svg{color:#e0525d}.encounterIgnore svg{color:#8b94a3}.playPage .encounterPanel .encounterIgnore svg{color:#cbd5e1}.combatPanel,.talkPanel{border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:12px}.talkPanel{border:1px solid #bfdbfe;background:#f8fbff}.combatPanel{border:1px solid #f3c1c4;background:#fff8f8}.combatHeader,.talkHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.combatHeader strong,.talkHeader strong{display:flex;align-items:center;gap:7px}.talkHeader svg{color:#3b82f6}.combatHeader svg{color:#e0525d}.combatHeader span{font-size:12px;font-weight:700;color:#c53340;background:#ffe4e6;border-radius:12px;padding:4px 9px}.talkHeader .btn{padding:7px 11px}.modeNarration{margin:0;padding:12px 14px;border-radius:10px;background:#fff;border:1px solid #e5e9ef;font-size:13px;line-height:1.8;color:#303743;white-space:pre-wrap;max-height:180px;overflow-y:auto}.talkBubble{border-color:#bfdbfe;border-radius:4px 12px 12px 12px}.modeWaiting{margin:0;font-size:13px;color:#87909e;font-style:italic}.talkSuggestions{display:flex;flex-direction:column;gap:6px}.talkSuggestions button{text-align:left;border:1px solid #dbe7f7;background:#fff;border-radius:10px;padding:9px 12px;font-size:13px;color:#2c4a75;cursor:pointer}.talkSuggestions button:hover{background:#eff6ff;border-color:#93c5fd}.talkInput{display:flex;gap:8px}.talkEndButton{width:100%;justify-content:center}.talkInput input{flex:1 1;min-width:0;border:1px solid #cfe0f5;border-radius:9px;padding:10px 12px;font-size:13px;background:#fff}.combatBars{display:flex;flex-direction:column;gap:8px}.combatBar{display:grid;grid-template-columns:72px 1fr 64px;align-items:center;grid-gap:9px;gap:9px;font-size:12px}.combatBar span{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combatBar b{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.combatBar div{height:12px;border-radius:20px;background:#eceff3;overflow:hidden}.combatBar i{display:block;height:100%;border-radius:20px;transition:width .4s}.combatEnemy i{background:linear-gradient(90deg,#8b5cf6,#6d28d9)}.combatSelf i{background:linear-gradient(90deg,#ed6875,#cc4057)}.combatActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px}.combatAction{display:flex;flex-direction:column;align-items:center;gap:3px;padding:11px 6px;border-radius:10px;border:1px solid #f0d2d4;background:#fff;color:#3b4658;cursor:pointer}.combatAction svg{color:#e0525d}.combatAction strong{font-size:13px}.combatAction small{font-size:10px;color:#8b94a3;text-align:center}.combatAction:hover:not(:disabled){background:#fff1f1;border-color:#f2a7a7}.combatFlee svg{color:#8b94a3}.combatItems{display:flex;flex-wrap:wrap;gap:7px}@media(max-width:520px){.combatActions,.encounterActions{grid-template-columns:repeat(2,minmax(0,1fr))}.combatBar{grid-template-columns:56px 1fr 56px}}.talkThread{display:flex;flex-direction:column;gap:10px;max-height:340px;min-height:160px;overflow-y:auto;padding:4px 2px;scroll-behavior:smooth}.talkRow{display:flex;gap:8px;align-items:flex-end;max-width:100%}.talkMe{justify-content:flex-end}.talkAvatar{flex-shrink:0;width:34px;height:34px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#dbeafe;color:#1d4ed8;font-size:14px;font-weight:800}.talkAvatar img{width:100%;height:100%;object-fit:cover;object-position:top}.talkBody{display:flex;flex-direction:column;gap:3px;min-width:0;max-width:78%}.logActions{display:flex;align-items:center;gap:8px}.logExport{padding:4px 10px;font-size:12px;min-height:0}.talkCue{align-self:center;max-width:88%;color:#64748b;font-size:13px;line-height:1.5;text-align:center}.talkName{font-size:11px;font-weight:700;color:#475569}.talkName em{font-weight:400;font-style:italic;color:#8b94a3}.talkBubbleBox{padding:9px 13px;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.talkNpc .talkBubbleBox{background:#fff;border:1px solid #dbe7f7;border-radius:4px 16px 16px 16px;color:#1f2937}.talkMe .talkBubbleBox{max-width:78%;background:#3b82f6;color:#fff;border-radius:16px 4px 16px 16px}.talkTyping{display:flex;gap:4px;align-items:center;padding:12px 14px}.talkTyping i{width:7px;height:7px;border-radius:50%;background:#94a3b8;animation:talkTyping 1.2s ease-in-out infinite}.talkTyping i:nth-child(2){animation-delay:.15s}.talkTyping i:nth-child(3){animation-delay:.3s}@keyframes talkTyping{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}@media(prefers-reduced-motion:reduce){.talkTyping i{animation:none}}.talkSuggestions{flex-direction:row;flex-wrap:wrap}.talkSuggestions button{border-radius:18px;padding:7px 13px}.talkRecord{margin:10px 0;border:1px solid #dbe7f7;border-radius:10px;background:#f8fbff;font-size:12px;color:#2c4a75}.talkRecord summary{display:flex;align-items:center;gap:6px;padding:9px 12px;cursor:pointer;font-weight:700;list-style:none}.talkRecord summary::-webkit-details-marker{display:none}.talkRecord summary:after{content:"펼치기";margin-left:auto;font-weight:400;color:#8b94a3}.talkRecord[open] summary:after{content:"접기"}.talkLive{display:flex;align-items:center;gap:6px;padding:9px 12px;font-weight:700}.talkThreadLog{max-height:none;min-height:0;padding:4px 10px 12px}.talkThreadLog .talkBubbleBox{font-size:13px}.combatBar b{position:relative}.combatHit{position:absolute;right:0;top:-16px;font-style:normal;font-size:13px;font-weight:800;color:#e0525d;animation:combatHit .9s ease-out forwards;pointer-events:none}@keyframes combatHit{0%{opacity:0;transform:translateY(6px)}20%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@media(prefers-reduced-motion:reduce){.combatHit{animation:none}}.combatAuto{margin:0;font-size:12px;color:#8b6b6e;text-align:center}.battleResultBackdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:16px;background:rgba(15,18,26,.55)}.battleResultModal{width:min(380px,100%);background:#fff;border-radius:18px;padding:26px 22px 22px;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.35);display:flex;flex-direction:column;align-items:center;gap:10px}.battleResultIcon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center}.battleResultModal.win .battleResultIcon{background:#fef3c7;color:#b45309}.battleResultModal.lose .battleResultIcon{background:#f1f5f9;color:#64748b}.battleResultModal h2{margin:0;font-size:26px}.battleResultModal.win h2{color:#b45309}.battleResultModal.lose h2{color:#475569}.battleResultModal p{margin:0;font-size:14px;color:#4b5563}.battleResultStats{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:4px 0 6px}.battleResultStats span{font-size:12px;color:#6b7280;background:#f6f7f9;border-radius:8px;padding:6px 9px}.battleResultStats b{color:#1f2937;margin-left:3px}.battleResultModal .btn{min-width:140px}.questClear .battleResultIcon{background:#fef3c7;color:#b45309;animation:partyReveal .45s cubic-bezier(.2,1.6,.4,1)}.questClear h2{color:#b45309}.questClearList{list-style:none;margin:0;padding:0;width:100%;display:flex;flex-direction:column;gap:6px}.questClearList li{display:flex;gap:8px;align-items:flex-start;text-align:left;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:8px 10px;font-size:14px;font-weight:600;color:#1f2937}.questClearList li svg{flex:none;margin-top:3px;color:#b45309}.questClearList small{display:block;font-weight:500;font-size:12px;color:#6b7280;margin-top:2px}.questClearRewards{width:100%;display:flex;flex-direction:column;gap:6px;text-align:left;font-size:13px;color:#4b5563;margin:2px 0 6px}.questClearRewards strong{font-size:12px;color:#9ca3af;letter-spacing:.04em}.questClearRewards span{display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:#f6f7f9;border-radius:8px;padding:7px 10px}.questClearRewards b{color:#1f2937}.questClearRewards small{color:#9ca3af;margin-left:auto}.questClearNext{width:100%;display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:#4b5563;background:#eef6ff;border-radius:8px;padding:8px 10px;margin:0 0 6px;text-align:left}.questClearNext b{color:#1f2937}.questClearRewards .questClearLevel{background:#f3efff;color:#4c2fa8}.questClearRewards .questClearLevel b{color:#6d4fd6}.battleRecord{border-color:#f3c1c4;background:#fff8f8;color:#8f2f37}.battleLive{margin:10px 0;border:1px solid #f3c1c4;border-radius:10px;padding:9px 12px}.battleRecordTitle{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;margin-bottom:6px}.battleLines{list-style:none;margin:0;padding:0 0 4px;display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.55}.battleRecord summary+.battleLines{padding:0 12px 10px}.battleLines li{padding:4px 8px;border-radius:6px;background:#fff;color:#4b5563}.battleLines li.dealt{color:#1d4ed8}.battleLines li.taken{color:#c53340}.battleLines li.miss{color:#8b94a3}.battleLines li.start{font-weight:700;color:#374151}.battleLines li.win{font-weight:800;color:#b45309;background:#fef3c7}.battleLines li.lose{font-weight:800;color:#475569;background:#f1f5f9}.talkSuggestions button{display:inline-flex;align-items:center;gap:7px}.talkSuggestions .gmChoiceNumber{width:20px;height:20px;font-size:11px;background:#dbeafe;color:#1d4ed8}.sceneNpc{transition:opacity .35s,filter .35s,transform .35s}.sceneNpcBody{flex:1 1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center;transform-origin:50% 100%}.sceneNpcBody img{height:100%;width:auto;max-height:none;max-width:140%;object-fit:contain;object-position:50% 100%}.sceneTalking .sceneNpcFocus{flex-basis:44%;z-index:2;transform:scale(1.08);transform-origin:50% 100%}.sceneTalking .sceneNpcFocus img{animation:npcBreathe 3.2s ease-in-out infinite;transform-origin:50% 100%}.sceneTalking .sceneNpcDim{opacity:.9;filter:grayscale(.45) brightness(.78);transform:scale(.9);transform-origin:50% 100%}.sceneNpcListening img{filter:brightness(.92) drop-shadow(0 6px 12px rgba(0,0,0,.55))}@keyframes npcBreathe{0%,to{transform:translateY(0) scaleY(1)}50%{transform:translateY(-2px) scaleY(1.008)}}.npcTalk{animation:npcTalk .55s ease-out}.npcJump{animation:npcJump .5s cubic-bezier(.3,1.6,.5,1)}.npcShake{animation:npcShake .5s ease-in-out}.npcHeadShake{animation:npcHeadShake .7s ease-in-out}.npcNod{animation:npcNod .75s ease-in-out}.npcStepBack{animation:npcStepBack .9s ease-in-out}.npcLeanIn{animation:npcLeanIn .9s ease-in-out}.npcSway{animation:npcSway 1.1s ease-in-out}.npcTilt{animation:npcTilt .9s ease-in-out}@keyframes npcTalk{0%,to{transform:translateY(0)}35%{transform:translateY(-7px)}65%{transform:translateY(-2px)}}@keyframes npcJump{0%,to{transform:translateY(0)}40%{transform:translateY(-24px)}70%{transform:translateY(3px)}}@keyframes npcShake{0%,to{transform:translateX(0)}20%{transform:translateX(-9px)}40%{transform:translateX(8px)}60%{transform:translateX(-6px)}80%{transform:translateX(4px)}}@keyframes npcHeadShake{0%,to{transform:rotate(0)}20%{transform:rotate(-3deg)}45%{transform:rotate(3deg)}70%{transform:rotate(-2deg)}}@keyframes npcNod{0%,to{transform:translateY(0)}25%{transform:translateY(7px)}50%{transform:translateY(0)}75%{transform:translateY(5px)}}@keyframes npcStepBack{0%,to{transform:scale(1) translateY(0)}40%,60%{transform:scale(.93) translateY(5px)}}@keyframes npcLeanIn{0%,to{transform:scale(1)}40%,60%{transform:scale(1.07) translateY(-4px)}}@keyframes npcSway{0%,to{transform:rotate(0)}25%{transform:rotate(2deg)}75%{transform:rotate(-2deg)}}@keyframes npcTilt{0%,to{transform:rotate(0)}35%,65%{transform:rotate(-4deg)}}.typeCaret{display:inline-block;width:2px;height:1em;margin-left:2px;vertical-align:-2px;background:#64748b;animation:typeCaret .8s steps(1) infinite}@keyframes typeCaret{50%{opacity:0}}@media(prefers-reduced-motion:reduce){.sceneNpc{transition:none}.sceneNpcBody,.sceneTalking .sceneNpcFocus img,.typeCaret{animation:none!important}}.sceneTalking .scenePlayer{flex-basis:34%;transform-origin:50% 100%}.sceneTalking .scenePlayer:not(.scenePlayerSpeaking){filter:brightness(.82)}.sceneTalking .scenePlayerSpeaking{z-index:3}.sceneTalking:has(.scenePlayerSpeaking) .sceneNpcFocus img{filter:brightness(.86)}.scenePlayer img{filter:drop-shadow(0 6px 12px rgba(0,0,0,.55))}.sceneBattleMode{animation:battleEnter .5s ease-out}.sceneBattleMode .sceneBackground{filter:brightness(.5) saturate(1.25);transform:scale(1.07);transition:filter .5s,transform .8s}.sceneBattleMode:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at center,transparent 42%,rgba(140,0,0,.5) 100%)}@keyframes battleEnter{0%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(3px)}to{transform:none}}.battleStage{position:absolute;inset:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-end;padding:0 5% 2%}.battle-wuxia{--slash:#7dd3fc}.battle-fantasy{--slash:#fcd34d}.battle-modern{--slash:#c084fc}.battleSide{position:relative;width:40%;height:86%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.battleBody,.battleReact{flex:1 1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center;transform-origin:50% 100%}.battleBody img,.battleReact img{max-height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(0,0,0,.6))}.battleHp{width:100%;display:grid;grid-template-columns:auto 1fr auto;grid-gap:6px;gap:6px;align-items:center;margin-bottom:6px;padding:4px 8px;border-radius:8px;background:rgba(10,12,18,.62);color:#fff;font-size:11px;font-weight:700}.battleHp span{white-space:nowrap}.battleHp div{height:8px;border-radius:8px;background:rgba(255,255,255,.18);overflow:hidden}.battleHp i{display:block;height:100%;border-radius:8px;transition:width .4s}.battlePlayer .battleHp i{background:linear-gradient(90deg,#f87171,#dc2626)}.battleEnemy .battleHp i{background:linear-gradient(90deg,#a78bfa,#6d28d9)}.battleHp b{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.battleLungeRight{animation:battleLungeRight .5s ease-in-out}.battleLungeLeft{animation:battleLungeLeft .5s ease-in-out}.battleCounter{animation-delay:.55s;animation-fill-mode:both}@keyframes battleLungeRight{0%{transform:translateX(0)}30%,50%{transform:translateX(62%) scale(1.04)}to{transform:translateX(0)}}@keyframes battleLungeLeft{0%{transform:translateX(0)}30%,50%{transform:translateX(-62%) scale(1.04)}to{transform:translateX(0)}}.battleEarly{animation-delay:.15s!important;animation-fill-mode:both}.battleLate{animation-delay:.7s!important;animation-fill-mode:both}.battleEnemy{--knock:16px}.battlePlayer{--knock:-16px}.battleHit{animation:battleHit .45s ease-out}.battleCrit{animation:battleCrit .6s ease-out}.battleDodge{animation:battleDodge .45s ease-out}.battleDown{animation:battleDown .9s ease-in forwards}@keyframes battleHit{0%{transform:none;filter:none}15%{transform:translateX(var(--knock));filter:brightness(2.6) saturate(.3)}to{transform:none;filter:none}}@keyframes battleCrit{0%{transform:none;filter:none}15%{transform:translateX(calc(var(--knock)*2)) rotate(calc(var(--knock)/4*1deg));filter:brightness(3) sepia(1) hue-rotate(-30deg)}to{transform:none;filter:none}}@keyframes battleDodge{0%,to{transform:none}35%{transform:translate(calc(var(--knock)*1.4),-10px);opacity:.75}}@keyframes battleDown{to{opacity:.25;transform:translateY(24px) rotate(calc(var(--knock)/2*1deg));filter:grayscale(1)}}.battleSlash{position:absolute;top:34%;left:5%;width:90%;height:5px;border-radius:5px;background:linear-gradient(90deg,transparent,var(--slash),#fff,var(--slash),transparent);box-shadow:0 0 14px var(--slash);opacity:0;transform:rotate(-28deg) scaleX(0);animation:battleSlash .35s ease-out;pointer-events:none;z-index:3}.battleSlashBack{transform:rotate(28deg) scaleX(0);animation-name:battleSlashBack}@keyframes battleSlash{0%{opacity:1;transform:rotate(-28deg) scaleX(0)}55%{opacity:1;transform:rotate(-28deg) scaleX(1)}to{opacity:0;transform:rotate(-28deg) scaleX(1)}}@keyframes battleSlashBack{0%{opacity:1;transform:rotate(28deg) scaleX(0)}55%{opacity:1;transform:rotate(28deg) scaleX(1)}to{opacity:0;transform:rotate(28deg) scaleX(1)}}.battlePop{position:absolute;top:24%;left:50%;z-index:4;font-size:26px;font-weight:900;color:#fff;-webkit-text-stroke:1px #b91c1c;text-shadow:0 2px 6px #000;white-space:nowrap;opacity:0;transform:translateX(-50%);animation:battlePop .9s ease-out;pointer-events:none}.battlePop.crit{font-size:36px;color:#fde047;-webkit-text-stroke:1px #b45309}.battlePop.miss{font-size:18px;color:#e2e8f0;-webkit-text-stroke:0}@keyframes battlePop{0%{opacity:0;transform:translate(-50%,10px) scale(.6)}20%{opacity:1;transform:translate(-50%) scale(1.15)}to{opacity:0;transform:translate(-50%,-32px) scale(1)}}.playerPortraitRow{display:flex;gap:14px;align-items:center;margin-top:10px}.playerPortraitPreview{width:110px;aspect-ratio:3/4;flex-shrink:0;border-radius:10px;background:linear-gradient(160deg,#eef2f7,#dfe5ee);display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.playerPortraitPreview img{max-width:100%;max-height:100%;object-fit:contain}.playerPortraitActions{display:flex;flex-direction:column;gap:8px;flex:1 1;min-width:0}.playerPortraitActions .uploadBox{margin-top:0;cursor:pointer}@media(max-width:520px){.battleSide{width:44%}}@media(prefers-reduced-motion:reduce){.battleCrit,.battleDodge,.battleHit,.battleLungeLeft,.battleLungeRight,.battleSlash,.sceneBattleMode{animation:none!important}.battlePop{animation:none;opacity:1}.battleDown{animation:none;opacity:.25}}.battleBody{align-items:stretch}.battleReact{height:100%}.battleHp{position:relative;z-index:4}.sceneBattleMode .sceneTopBar{display:none}.talkScene{margin:2px 8%;padding:6px 10px;text-align:center;font-size:12.5px;line-height:1.7;font-style:italic;color:#64748b;border-top:1px dashed #d6e2f1;border-bottom:1px dashed #d6e2f1;white-space:pre-wrap;overflow-wrap:anywhere}.talkThreadLog .talkScene{margin:2px 0;font-size:12px}.questLog{margin:0 0 12px;display:flex;flex-direction:column;gap:6px}.questLogHeading{display:flex;align-items:center;justify-content:space-between;font-size:13px}.questLogHeading strong{display:flex;align-items:center;gap:6px;color:#7a4b12}.questLogHeading strong svg{color:#c27a1a}.questLogHeading span{font-size:11px;font-weight:700;color:#a07a45;padding:1px 8px;border-radius:10px;background:#fbf1df}.questCard{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;grid-column-gap:8px;column-gap:8px;grid-row-gap:2px;row-gap:2px;align-items:start;padding:9px 11px;border:1px solid #ecd9b5;border-left:4px solid #d4952b;border-radius:9px;background:linear-gradient(#fffaf0,#fdf3e1);box-shadow:0 1px 2px rgba(122,75,18,.08)}.questCard p{margin:0;grid-column:2;font-size:12.5px;font-weight:600;line-height:1.5;color:#3b2a14;overflow-wrap:anywhere}.questCard small{grid-column:2;font-size:10.5px;color:#a07a45}.questBadge{grid-row:1/3;align-self:center;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#d4952b;color:#fff;font-size:10.5px;font-weight:800;white-space:nowrap}.questLog .questCard{grid-template-columns:1fr}.questLog .questCard p,.questLog .questCard small{grid-column:1}.questLog .questOpen{border-left-color:#c9b48e;background:#fffdf8;box-shadow:none}.questEmpty{display:block;padding:8px 11px;border:1px dashed #e3d3b5;background:none;box-shadow:none;color:#c3ad88;font-size:11.5px;text-align:center}.partyButton{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;margin-top:4px;padding:4px 10px;border:1px solid #c7d7f0;border-radius:7px;background:#f3f7fd;color:#2f5aa0;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer}.partyButton:hover:not(:disabled){background:#2f5aa0;border-color:#2f5aa0;color:#fff}.partyButton:disabled{opacity:.5;cursor:not-allowed}.partyButton.partyLeave{border-color:#e5e7eb;background:#fff;color:#6b7280}.partyButton.partyLeave:hover{background:#6b7280;border-color:#6b7280;color:#fff}.partyBadge{margin-left:6px;padding:0 6px;border-radius:5px;background:#2f5aa0;color:#fff;font-size:10.5px;font-style:normal;font-weight:700}.characterReputation{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:4px;padding:5px 12px;border:1px solid #ecd9b5;border-radius:9px;background:#fdf3e1;color:#7a4b12;font-size:14px;font-weight:700}.characterReputation svg{color:#c27a1a}.characterReputation b{font-size:17px;color:#b4690e}.characterReputation.infamy{border-color:#e2c4c6;background:#fbeef0;color:#7f1d2a}.characterReputation.infamy b,.characterReputation.infamy svg{color:#b4232c}.battleAllies{margin-bottom:4px;padding:2px 8px;border-radius:6px;background:rgba(47,90,160,.75);color:#fff;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.questCard{padding-right:34px}.questDrop{position:absolute;top:50%;right:7px;transform:translateY(-50%);display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:transparent;color:#b89a6a;cursor:pointer}.questDrop:focus-visible,.questDrop:hover{background:#f3dcc0;color:#8a4a12}.partyResultFace{width:84px;height:84px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef2f9;color:#64748b;border:3px solid #cbd5e1}.partyResultFace img{width:100%;height:100%;object-fit:cover;object-position:50% 12%}.partyResult.accepted .partyResultFace{border-color:#2f5aa0;box-shadow:0 0 0 5px rgba(47,90,160,.15)}.partyResult.accepted h2{color:#2f5aa0}.partyResult.declined .partyResultFace img{filter:grayscale(.7)}.partyResult.declined h2{color:#475569}.questCard small b{color:#7a4b12;font-weight:700}.partyResult.thinking .partyResultFace{animation:partyPonder 1.1s ease-in-out infinite}.partyResult.thinking h2{color:#64748b;font-size:22px}.partyDots{display:inline-flex;gap:4px;margin-left:6px;vertical-align:middle}.partyDots i{width:6px;height:6px;border-radius:50%;background:#94a3b8;animation:partyDot 1.2s ease-in-out infinite}.partyDots i:nth-child(2){animation-delay:.2s}.partyDots i:nth-child(3){animation-delay:.4s}.partyResult:not(.thinking) .partyResultFace,.partyVerdict{animation:partyReveal .45s cubic-bezier(.2,1.6,.4,1)}@keyframes partyPonder{0%,to{transform:rotate(0)}30%{transform:rotate(-4deg)}70%{transform:rotate(4deg)}}@keyframes partyDot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}@keyframes partyReveal{0%{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}@media (prefers-reduced-motion:reduce){.partyDots i,.partyResult .partyResultFace,.partyVerdict{animation:none}}.partyChance{width:100%;display:flex;flex-direction:column;gap:6px;margin-top:2px}.partyChance span{font-size:13px;color:#475569}.partyChance b{font-size:20px;color:#2f5aa0;margin-left:4px}.partyChanceTrack{height:8px;border-radius:99px;background:#e2e8f0;overflow:hidden}.partyChanceTrack i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#93b4e6,#2f5aa0);animation:partyChanceFill .6s ease-out}@keyframes partyChanceFill{0%{width:0}}.characterReputation em{font-style:normal;font-size:11.5px;font-weight:700;padding:1px 7px;border-radius:6px;background:#c27a1a;color:#fff}.characterReputation.infamy em{background:#b4232c}.characterReputation.gold{border-color:#e8d48a;background:#fdf8dc;color:#6b5410}.characterReputation.gold svg{color:#c9a213}.characterReputation.gold b{color:#9c7a00}.repBurst{position:fixed;left:50%;top:38%;z-index:45;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px 34px;border-radius:18px;background:linear-gradient(#fffaf0,#fbe7c4);border:2px solid #e3b65f;box-shadow:0 18px 50px rgba(122,75,18,.35);color:#7a4b12;cursor:pointer;animation:repBurst 3.2s ease-out forwards}.repBurst svg{color:#c27a1a}.repBurst strong{font-size:16px}.repBurst b{font-size:40px;line-height:1.1;color:#b4690e;text-shadow:0 2px 0 #fff}.repBurst span{font-size:13px;font-weight:700}.repBurst.infamy{background:linear-gradient(#fff5f5,#f6d5d8);border-color:#d98a92;color:#7f1d2a}.repBurst.infamy b,.repBurst.infamy svg{color:#b4232c}@keyframes repBurst{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}12%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}20%{transform:translate(-50%,-50%) scale(1)}80%{opacity:1}to{opacity:0;transform:translate(-50%,-62%)}}@media (prefers-reduced-motion:reduce){.repBurst{animation:none}}.characterLevel{display:flex;align-items:center;gap:7px;margin-top:3px}.characterLevel b{font-size:13px;color:#5b3fb8;white-space:nowrap}.characterXpTrack{flex:1 1;min-width:50px;height:6px;border-radius:99px;background:#ece8fb;overflow:hidden}.characterXpTrack i{display:block;height:100%;background:linear-gradient(90deg,#a78bfa,#6d4fd6)}.characterLevel small{font-size:10.5px;color:#8b7fc0;white-space:nowrap}.repBurst.levelBurst{background:linear-gradient(#f8f5ff,#e6ddff);border-color:#a78bfa;color:#4c2fa8}.repBurst.levelBurst b,.repBurst.levelBurst svg{color:#6d4fd6}.partyJoinedRow{display:flex;align-items:center;gap:8px;margin-top:4px}.partyJoined{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:7px;background:#2f5aa0;color:#fff;font-size:11.5px;font-weight:700}.partyLeaveLink{border:0;background:none;padding:0;color:#9ca3af;font:inherit;font-size:11px;text-decoration:underline;cursor:pointer}.partyLeaveLink:hover{color:#6b7280}.battleAllyRow{position:absolute;left:-10%;bottom:0;height:60%;z-index:2;display:flex;flex-direction:row;align-items:flex-end;pointer-events:none}.battlePlayer:has(.battleAllyRow) .battleBody{position:relative;left:14%}.battleAlly{margin:0;height:100%;display:flex;flex-direction:column-reverse;justify-content:flex-end;align-items:center;gap:2px}.battleAlly+.battleAlly{margin-left:-40px}.battleAlly img{height:calc(100% - 16px);width:auto;max-width:none;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(0,0,0,.55))}.battleAlly>svg{width:54px;height:66px;color:#fff}.battleAlly figcaption{max-width:110px;padding:0 2px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 2px rgba(0,0,0,.8);font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battleAllyHit img{animation:allyStrike .55s ease-out .25s}@keyframes allyStrike{0%{transform:translateX(0)}40%{transform:translateX(26px) scale(1.08)}to{transform:translateX(0)}}@media(max-width:520px){.battleAllyRow{height:60%}.battleAlly>svg{width:40px;height:50px}}@media (prefers-reduced-motion:reduce){.battleAllyHit img{animation:none}}.relationshipDetails .partyJoined{color:#fff;font-size:11.5px}.npcLevelTag{margin-left:6px;padding:0 6px;border-radius:5px;background:#ece8fb;color:#5b3fb8;font-size:10.5px;font-style:normal;font-weight:800;vertical-align:middle}.battleMonster{color:#ef4444;background:radial-gradient(circle,rgba(127,29,29,.55),rgba(0,0,0,0) 70%);filter:drop-shadow(0 0 10px rgba(239,68,68,.6))}.battleMonsterArt{position:relative;height:100%;width:100%;display:flex;align-items:flex-end;justify-content:center}.battleMonsterArt img{max-height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(0,0,0,.6))}.battleMonsterArt.hasArt .battleMonster{display:none}.deathPanel{display:flex;flex-direction:column;align-items:center;gap:8px;margin:12px 0;padding:22px 16px;border:1px solid #3f1d22;border-radius:14px;background:linear-gradient(#2a1316,#160a0c);color:#f3d4d7;text-align:center}.deathPanel svg{color:#ef4444}.deathPanel strong{font-size:24px;letter-spacing:.2em;color:#fca5a5}.deathPanel p{margin:0 0 6px;font-size:13px;color:#d6b3b7}.threatPanel{border-color:#f2c4c7;background:#fff8f8}.threatPanel p{display:flex;align-items:center;gap:6px}.threatPanel p svg{color:#dc2626;flex:0 0 auto}.encounterFlee svg{color:#16a34a}.encounterFlee:hover:not(:disabled){background:#f0fdf4;border-color:#86efac;color:#15803d}.encounterAction small{font-size:11.5px;font-weight:700;color:#6b7280}.characterExp{margin-top:2px}.characterExp .characterVitalTrack{background:#e9e4fb}.characterExp .characterVitalTrack i{background:linear-gradient(90deg,#a78bfa,#6d4fd6);transition:width .4s}.battleMonsterArt img{-webkit-mask-image:radial-gradient(ellipse 62% 58% at 50% 52%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 62% 58% at 50% 52%,#000 62%,transparent 100%)}.sceneThreat{position:absolute;left:50%;bottom:0;z-index:3;transform:translateX(-50%);height:88%;width:min(60%,420px);margin:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;animation:threatIn .45s ease-out}.sceneThreat .battleMonsterArt{flex:1 1;min-height:0}.sceneThreat img{filter:drop-shadow(0 0 18px rgba(220,38,38,.55)) drop-shadow(0 8px 14px rgba(0,0,0,.6))}.sceneThreat figcaption{margin-bottom:8px;padding:2px 10px;border-radius:6px;background:rgba(127,29,29,.85);color:#fff;font-size:12px;font-weight:700}@keyframes threatIn{0%{opacity:0;transform:translate(-50%,12px) scale(.96)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.sceneThreat{animation:none}}.questCard.questMain{border-left-color:#b4232c;background:linear-gradient(#fff8f1,#fff1e4)}.questCard.questRegion{border-left-color:#2f7d5b}.questCard.questRegion .questBadge{width:auto;padding:0 7px;border-radius:999px;background:#2f7d5b}.questCard.questMain .questBadge{width:auto;padding:0 7px;border-radius:999px;background:#b4232c}.grade0{--grade:#6b7280;--gradeBg:#f6f7f9}.grade1{--grade:#15803d;--gradeBg:#effaf2}.grade2{--grade:#1d4ed8;--gradeBg:#eef4ff}.grade3{--grade:#7c3aed;--gradeBg:#f4efff}.grade4{--grade:#c2410c;--gradeBg:#fff4ea}.grade5{--grade:#b91c1c;--gradeBg:#fff3e0}.gearSlots{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px;margin-bottom:8px}.gearSlot{display:flex;flex-direction:column;gap:2px;min-width:0;padding:7px 8px;border:1px dashed #d6dbe3;border-radius:9px;background:#fafbfc}.gearSlot[class*=grade]{border:1px solid var(--grade);background:var(--gradeBg)}.gearSlot small{font-size:10.5px;color:#8a94a6}.gearSlot b{font-size:12px;color:var(--grade,#9aa3b2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gearSlot em{font-style:normal;font-size:10.5px;color:var(--grade)}.characterItems .itemChip{display:inline-flex;align-items:center;gap:4px;font:inherit;font-size:12px;padding:4px 9px;border-radius:999px;border:1px solid color-mix(in srgb,var(--grade) 45%,transparent);background:var(--gradeBg);color:var(--grade);cursor:pointer}.characterItems .itemChip:disabled{cursor:default}.characterItems .itemChip em{font-style:normal;font-size:10px;font-weight:800}.characterItems .itemChip.equipped{box-shadow:0 0 0 2px var(--grade)}.characterItems .itemChip.grade5{background:linear-gradient(90deg,#fff3e0,#ffe4e1);font-weight:700}.gearHint{display:block;margin-top:6px;font-size:11px;color:#8a94a6}button.gearSlot{font:inherit;text-align:left;cursor:pointer}button.gearSlot:disabled{cursor:default}.characterItems .itemChip.picked,.gearSlot.picked{outline:2px solid var(--grade);outline-offset:1px}.itemCard{margin-top:8px;padding:10px 12px;border:1px solid var(--grade);border-radius:10px;background:var(--gradeBg);display:flex;flex-direction:column;gap:6px}.itemCardHead{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:700;color:var(--grade)}.itemCardHead button{border:0;background:none;padding:2px;cursor:pointer;color:#8a94a6;display:flex}.itemCard strong{font-size:14px;color:var(--grade)}.itemCardStats{display:flex;flex-wrap:wrap;gap:4px}.itemCardStats span{font-size:11.5px;padding:2px 7px;border-radius:6px;background:#fff;border:1px solid color-mix(in srgb,var(--grade) 30%,transparent);color:#374151}.itemCardNone{font-size:11.5px;color:#8a94a6}.itemCardSkill{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--grade)}.itemCard p{margin:0;font-size:12px;line-height:1.5;color:#4b5563}.itemCardEquip{align-self:flex-start;font:inherit;font-size:12px;font-weight:700;padding:5px 12px;border-radius:8px;border:1px solid var(--grade);background:#fff;color:var(--grade);cursor:pointer}.itemCardEquip:hover{background:var(--grade);color:#fff}.itemName{color:var(--grade)}.foeCard{display:flex;flex-direction:column;gap:6px;margin:4px 0 10px}.foeCardFinal{border-left:3px solid #a21caf;padding-left:8px}.foeFinalTag{align-self:flex-start;padding:2px 8px;border-radius:6px;background:linear-gradient(90deg,#581c87,#a21caf);color:#fde68a;font-size:11.5px;font-weight:800;letter-spacing:.08em}.foeDesc{margin:0;font-size:12.5px;color:#6b7280}.foeStats{display:flex;flex-wrap:wrap;gap:6px}.foeStats span{font-size:12px;color:#6b7280;background:#f6f7f9;border-radius:8px;padding:4px 8px}.foeStats b{color:#1f2937;margin-left:3px}.foeStats span[class*=grade] b{color:var(--grade)}.foeSkill{display:flex;align-items:center;gap:5px;font-size:12.5px;font-weight:700;color:#7c2d12;background:#fff1e6;border:1px solid #fdba74;border-radius:8px;padding:6px 9px}.repBurst.itemBurst{background:linear-gradient(#fffaf0,#ffe8c7);border-color:#f59e0b;color:#7c2d12}.repBurst.itemBurst.grade5{background:linear-gradient(#fff5f5,#ffd9a8);border-color:#dc2626;color:#7f1d1d}.repBurst.itemBurst b,.repBurst.itemBurst svg{color:var(--grade)}.repBurst.itemBurst b{font-size:26px}.itemBurstSkill{font-weight:600!important;color:#7c2d12;max-width:320px;text-align:center}.repBurst.awakenBurst{background:linear-gradient(#fffbea,#fde68a);border-color:#eab308;color:#713f12}.repBurst.awakenBurst b,.repBurst.awakenBurst svg{color:#ca8a04}.diceRollModal{min-width:min(340px,calc(100vw - 32px))}.diceRollModal h2{align-items:center;gap:8px}.diceNeed,.diceRollModal h2{display:flex;justify-content:center}.diceNeed{gap:14px;font-size:13px;color:#596477}.diceNeed b{font-size:16px;color:#d9505d}.diceFace{margin:14px auto 6px;width:84px;height:84px;display:grid;place-items:center;font-size:38px;font-weight:800;border-radius:18px;border:3px solid #c9ced8;background:#fff;color:#2b3140;box-shadow:0 6px 18px rgba(30,40,60,.15)}.diceFace.rolling{animation:diceTumble .28s linear infinite}.diceFace.landed{animation:diceLand .35s ease-out}.diceRollModal.win .diceFace{border-color:#3aa66b;color:#1f7a4a}.diceRollModal.lose .diceFace{border-color:#d9505d;color:#b4232c}.diceFace.crit{box-shadow:0 0 0 4px rgba(227,182,95,.5),0 6px 18px rgba(30,40,60,.15)}@keyframes diceTumble{0%{transform:rotate(0) scale(1)}25%{transform:rotate(14deg) scale(1.05)}50%{transform:rotate(-10deg) scale(.97)}75%{transform:rotate(8deg) scale(1.03)}to{transform:rotate(0) scale(1)}}@keyframes diceLand{0%{transform:scale(1.25)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.diceFace.landed,.diceFace.rolling{animation:none}}.diceMods{list-style:none;margin:8px 0 4px;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13px;text-align:left}.diceMods li{display:flex;justify-content:space-between;gap:12px;padding:4px 8px;border-radius:6px;background:#f2f5f9}.diceMods li b{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.diceMods .diceTotal{background:#e7ecf3;font-weight:700}.diceMods small{font-weight:400;color:#596477}.diceRule{display:block;font-size:11px;color:#8a92a0}.diceVerdict{margin:10px 0 4px;display:flex;flex-direction:column;gap:4px}.diceVerdict strong{font-size:20px}.diceRollModal.win .diceVerdict strong{color:#1f7a4a}.diceRollModal.lose .diceVerdict strong{color:#b4232c}.diceVerdict span{font-size:13px;color:#596477}.battleMp i{background:linear-gradient(90deg,#60a5fa,#2563eb)!important}.battleCast i{background:linear-gradient(90deg,#fde68a,#f59e0b)!important;transition:width .3s}.characterMp .characterVitalTrack i{background:linear-gradient(90deg,#60a5fa,#2563eb)}.talkEndedLine{display:flex;align-items:center;gap:10px;margin:14px 0 4px;color:#8a92a0;font-size:12px;font-weight:700}.talkEndedLine:after,.talkEndedLine:before{content:"";flex:1 1;border-top:1px dashed #c9ced8}.itemCardDiscard{align-self:flex-start;font:inherit;font-size:12px;font-weight:700;padding:5px 12px;border-radius:8px;border:1px solid #d9a3a8;background:#fff;color:#b4232c;cursor:pointer}.itemCardDiscard:hover{background:#fff5f5}.gmChoiceOwn{display:flex;align-items:center;gap:10px}.gmChoiceOwn input{flex:1 1;min-width:0;font:inherit;font-size:14px;outline:none}.gmChoiceOwn button,.gmChoiceOwn input{border:0;background:transparent;color:inherit}.gmChoiceOwn button{cursor:pointer;display:grid;place-items:center;padding:0}.gmChoiceOwn button:disabled{opacity:.35;cursor:default}.characterCombat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:4px 10px;gap:4px 10px;margin-top:6px;padding:8px 10px;border-radius:8px;background:#f2f5f9;font-size:12px}.characterCombat div{display:flex;justify-content:space-between;gap:6px;min-width:0}.characterCombat span{color:#596477;white-space:nowrap}.characterCombat b{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right}.characterCombat .characterCombatSkills{grid-column:1/-1;flex-direction:column;align-items:flex-start}.characterCombat .characterCombatSkills b{text-align:left;font-weight:600}.stageMapFrame.stageMapFollow{transform-origin:0 0;transition:transform .6s cubic-bezier(.3,.7,.3,1)}.stageMapFollow .miniMapPlayer{width:58px;height:68px;transform:none;transform-origin:50% 95%;translate:-50% -95%;scale:calc(1 / var(--mapZoom,1));filter:drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff) drop-shadow(0 3px 5px rgba(0,0,0,.85)) drop-shadow(0 0 10px rgba(56,189,248,.9));animation:stageMarkerBob 1.4s ease-in-out infinite}@keyframes stageMarkerBob{0%,to{translate:-50% -95%}50%{translate:-50% -112%}}@keyframes stageHerePulse{0%,to{box-shadow:0 0 0 4px rgba(56,189,248,.4),0 0 12px rgba(56,189,248,.8)}50%{box-shadow:0 0 0 10px rgba(56,189,248,0),0 0 18px rgba(56,189,248,1)}}@media(prefers-reduced-motion:reduce){.stageMapFollow .miniMapPlayer{animation:none}}.mapMissingPins{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 10px;padding:10px 14px;border:1px solid rgba(245,158,11,.55);border-radius:10px;background:rgba(245,158,11,.1);font-size:13px;line-height:1.5}.mapMissingPins strong{color:#f59e0b}.affPos,.relationshipDetails span b.affPos{color:#16a34a}.affNeg,.relationshipDetails span b.affNeg{color:#dc2626}.relationshipGauge i.pos{background:#22c55e}.relationshipGauge i.neg{background:#ef4444}[class*=attitude-] b.affPos{color:#16a34a}[class*=attitude-] b.affNeg{color:#dc2626}.characterVitals{position:relative}.healPop{position:absolute;right:4px;top:-4px;color:#16a34a;font-weight:800;font-size:15px;text-shadow:0 0 6px rgba(255,255,255,.9),0 0 10px rgba(34,197,94,.6);pointer-events:none;animation:healFloat 1.5s ease-out forwards}@keyframes healFloat{0%{opacity:0;transform:translateY(8px) scale(.8)}15%{opacity:1;transform:translateY(0) scale(1.15)}to{opacity:0;transform:translateY(-22px) scale(1)}}.vitalHeal .characterVitalTrack i{animation:healBar 1.3s ease-out}@keyframes healBar{0%{filter:brightness(1);box-shadow:none}30%{filter:brightness(1.35) saturate(1.3);box-shadow:0 0 10px 2px rgba(34,197,94,.75)}to{filter:brightness(1);box-shadow:none}}.healGlow .characterPortrait{animation:healGlow 1.4s ease-out}@keyframes healGlow{0%{box-shadow:0 0 0 0 rgba(34,197,94,0)}35%{box-shadow:0 0 0 4px rgba(34,197,94,.45),0 0 18px 6px rgba(74,222,128,.55)}to{box-shadow:0 0 0 0 rgba(34,197,94,0)}}@media(prefers-reduced-motion:reduce){.healGlow .characterPortrait,.healPop,.vitalHeal .characterVitalTrack i{animation:none}}@keyframes wipeGone{to{visibility:hidden}}.playIntro{position:fixed;inset:0;z-index:200;pointer-events:none;overflow:hidden;color:#fff;background:#070a18;animation:wipeGone var(--intro,2.4s) step-end forwards,introLeave .28s ease-in calc(var(--intro,2.4s) - .28s) forwards}.introWaiting{animation:none}.introSkippable{pointer-events:auto;cursor:pointer}.introArt{position:absolute;inset:0}.introArt img{width:100%;height:100%;object-fit:cover;filter:brightness(.62) saturate(1.2);animation:introZoom var(--intro,2.4s) ease-out both}.introArt:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,20,.94) 22%,rgba(5,7,20,.35) 62%,transparent),linear-gradient(0deg,rgba(5,7,20,.85),transparent 42%)}.introArtCover img{filter:blur(16px) brightness(.5) saturate(1.3)}.introCover{position:absolute;right:max(7%,calc(50% - 540px));top:0;bottom:0;height:82%;width:-moz-fit-content;width:fit-content;max-width:46vw;margin:auto 0;overflow:hidden;border:2px solid rgba(253,224,71,.85);border-radius:10px;background:#f3e8e5;box-shadow:0 0 34px rgba(253,224,71,.3),0 18px 46px rgba(0,0,0,.7);animation:introCoverIn .55s cubic-bezier(.16,1,.3,1) .22s both}.introCover img{display:block;height:100%;width:auto;max-width:100%;object-fit:cover}.introCover:after{content:"";position:absolute;inset:-20% -60%;background:linear-gradient(105deg,transparent 44%,rgba(255,255,255,.5) 50%,transparent 56%);transform:translateX(-60%);animation:introCoverShine .9s ease-in-out .95s forwards}.introTitle{position:absolute;left:max(6%,calc(50% - 580px));top:50%;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:min(50vw,560px);transform:translateY(-50%)}.introTitle small{padding:3px 14px;background:#fde047;color:#111827;font-size:clamp(12px,2vmin,16px);font-weight:900;letter-spacing:.24em;transform:skewX(-12deg);animation:introRise .4s cubic-bezier(.16,1,.3,1) .3s both}.introTitle b{font-size:clamp(34px,8vmin,76px);font-weight:900;line-height:1.16;word-break:keep-all;background:linear-gradient(105deg,#fff 42%,#fde047 50%,#fff 58%) 120% 0/320% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 4px 0 rgba(0,0,0,.55)) drop-shadow(0 0 20px rgba(0,0,0,.5));animation:introRise .45s cubic-bezier(.16,1,.3,1) .38s both,introShine 1.1s ease-in-out .85s forwards}.introTitle span{max-width:100%;overflow:hidden;font-size:clamp(13px,2.3vmin,18px);font-weight:700;color:#e5e7eb;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 1px 6px #000;animation:introRise .4s cubic-bezier(.16,1,.3,1) .52s both}.introTitle span+span{color:#fde047;animation-delay:.6s}.introBar{position:relative;width:min(100%,380px);height:5px;margin-top:10px;overflow:hidden;border-radius:3px;background:rgba(255,255,255,.2);animation:introRise .4s ease-out .62s both}.introBar:after{content:"";position:absolute;inset:0;border-radius:3px;background:linear-gradient(90deg,#f59e0b,#fde047);box-shadow:0 0 12px #fde047;transform:scaleX(0);transform-origin:left;animation:introFill calc(var(--intro,2.4s) - 1.15s) cubic-bezier(.5,0,.2,1) .72s forwards}.introFlash{position:absolute;inset:0;background:#fff;opacity:0;animation:introFlash .36s ease-out calc(var(--intro,2.4s) - .36s)}@keyframes introLeave{to{opacity:0}}@keyframes introZoom{0%{transform:scale(1.14)}to{transform:scale(1.02)}}@keyframes introCoverIn{0%{opacity:0;transform:translateX(16%) scale(1.08) rotate(2deg)}}@keyframes introCoverShine{to{transform:translateX(60%)}}@keyframes introRise{0%{opacity:0;transform:translateX(-44px)}}@keyframes introShine{to{background-position:-40% 0}}@keyframes introFill{to{transform:scaleX(1)}}@keyframes introFlash{0%{opacity:0}35%{opacity:.85}to{opacity:0}}@media(max-aspect-ratio:1/1){.introArt:after{background:linear-gradient(0deg,rgba(5,7,20,.96) 26%,rgba(5,7,20,.2) 62%,transparent)}.introCover{left:0;right:0;top:5%;bottom:auto;height:auto;width:min(68vw,56vh);max-width:none;margin:0 auto}.introCover img{width:100%;height:auto;max-height:56vh}.introTitle{left:6%;top:auto;bottom:6%;width:88%;transform:none}}.sceneArrive{animation:sceneArrive 1.8s cubic-bezier(.2,.8,.2,1)}@keyframes sceneArrive{0%{transform:scale(1.14);filter:brightness(.6) blur(3px)}}.cutInPlace .cutInBand{background:linear-gradient(90deg,#042f4b,#0369a1 48%,#22d3ee)}.cutInBand img{position:absolute;inset:-8% 0;width:100%;height:116%;object-fit:cover;opacity:.9;-webkit-mask:linear-gradient(90deg,transparent 28%,#000 66%);mask:linear-gradient(90deg,transparent 28%,#000 66%);transform:skewY(5deg)}.cutInPlace .cutInPlate small{background:#67e8f9;color:#042f4b}.cutInPlace .cutInPlate b{text-shadow:0 3px 0 #042f4b,0 0 22px rgba(0,0,0,.7)}.cutInPlace .cutInPlate span{color:#a5f3fc}.cutInChevrons{position:absolute;right:max(7%,calc(50% - 560px));top:50%;margin-top:-.62em;font-size:clamp(46px,11vmin,110px);font-style:normal;font-weight:900;line-height:1.2;letter-spacing:-.14em;color:#fff;text-shadow:0 0 18px rgba(103,232,249,.9);animation:cutChevrons 1.25s linear both}@keyframes cutChevrons{0%,16%{opacity:0;transform:translateX(-90px)}32%{opacity:1;transform:translateX(0)}74%{opacity:1;transform:translateX(34px)}90%,to{opacity:0;transform:translateX(150px)}}.cutInMap{animation:wipeGone 1.9s step-end forwards}.cutInMapBg{position:absolute;inset:0;background:linear-gradient(120deg,#0b1730,#1e3a5f);animation:cutMapWipe 1.9s linear both}.cutInMapBg img{width:100%;height:100%;object-fit:cover;filter:brightness(.55) saturate(1.2);animation:introZoom 1.9s ease-out both}.cutInMapBg:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(4,8,22,.25),rgba(4,8,22,.86) 78%)}.cutInMapBody{position:absolute;left:0;right:0;top:50%;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 6%;text-align:center;transform:translateY(-50%);animation:cutMapBody 1.9s linear both}.cutInCompass{position:relative;width:clamp(58px,12vmin,104px);aspect-ratio:1;margin-bottom:6px;border:3px solid rgba(253,224,71,.9);border-radius:50%;background:repeating-conic-gradient(rgba(253,224,71,.85) 0 3deg,transparent 3deg 45deg);box-shadow:0 0 20px rgba(253,224,71,.45),inset 0 0 14px rgba(0,0,0,.55);animation:cutCompass 1.9s cubic-bezier(.2,.75,.2,1) both}.cutInCompass:before{content:"";position:absolute;inset:18%;background:linear-gradient(#ef4444 50%,#f8fafc 0);-webkit-clip-path:polygon(50% 0,64% 50%,50% 100%,36% 50%);clip-path:polygon(50% 0,64% 50%,50% 100%,36% 50%)}.cutInMapBody small{font-size:clamp(12px,2vmin,16px);font-weight:900;letter-spacing:.38em;color:#fde047}.cutInMapBody b{max-width:100%;font-size:clamp(34px,9vmin,84px);font-weight:900;line-height:1.16;word-break:keep-all;text-shadow:0 4px 0 rgba(0,0,0,.6),0 0 26px rgba(0,0,0,.6)}.cutInMapBody span{font-size:clamp(14px,2.8vmin,22px);font-weight:700;color:#e0f2fe;text-shadow:0 1px 6px #000}.cutInMapBody i:last-child{position:relative;width:min(62vw,340px);height:5px;margin-top:12px;overflow:hidden;border-radius:3px;background:rgba(255,255,255,.22)}.cutInMapBody i:last-child:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f59e0b,#fde047);box-shadow:0 0 10px #fde047;transform:scaleX(0);transform-origin:left;animation:introFill 1.05s cubic-bezier(.5,0,.2,1) .3s forwards}@keyframes cutMapWipe{0%{-webkit-clip-path:polygon(0 0,0 0,-24% 100%,-24% 100%);clip-path:polygon(0 0,0 0,-24% 100%,-24% 100%)}14%,80%{-webkit-clip-path:polygon(0 0,124% 0,100% 100%,-24% 100%);clip-path:polygon(0 0,124% 0,100% 100%,-24% 100%)}to{-webkit-clip-path:polygon(124% 0,124% 0,100% 100%,100% 100%);clip-path:polygon(124% 0,124% 0,100% 100%,100% 100%)}}@keyframes cutMapBody{0%,10%{opacity:0;transform:translateY(-50%) scale(1.12)}20%,76%{opacity:1;transform:translateY(-50%)}86%,to{opacity:0;transform:translateY(-50%) scale(.96)}}@keyframes cutCompass{0%{transform:rotate(-400deg)}to{transform:rotate(25deg)}}.sceneRibbon{position:absolute;left:0;top:23%;z-index:7;display:flex;flex-direction:column;max-width:78%;padding:12px 52px 12px 26px;pointer-events:none;background:linear-gradient(90deg,rgba(4,47,75,.95),rgba(3,105,161,.9) 75%,transparent);border-left:6px solid #67e8f9;color:#fff;animation:sceneRibbon 2.3s cubic-bezier(.2,.8,.2,1) both,wipeGone 2.3s step-end forwards}.sceneRibbon small{font-size:clamp(12px,1.6vw,16px);font-weight:800;letter-spacing:.14em;color:#a5f3fc}.sceneRibbon b{overflow:hidden;font-size:clamp(22px,4.2vw,40px);font-weight:900;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 2px 4px rgba(0,0,0,.6)}@keyframes sceneRibbon{0%{opacity:0;transform:translateX(-100%)}14%,82%{opacity:1;transform:none}to{opacity:0;transform:translateX(-40%)}}.cutIn{position:fixed;inset:0;z-index:190;pointer-events:none;overflow:hidden;color:#fff}.cutIn i{display:block}.cutInHalftone{position:absolute;inset:0;background:radial-gradient(circle,rgba(255,255,255,.2) 1.5px,transparent 2px) 0 0/11px 11px;-webkit-mask:linear-gradient(90deg,transparent 15%,#000);mask:linear-gradient(90deg,transparent 15%,#000)}@keyframes cutSpeedSpin{to{transform:rotate(9deg)}}.cutInBattle{--me:polygon(0 0,60% 0,40% 100%,0 100%);--foe:polygon(60% 0,100% 0,100% 100%,40% 100%);--seam:polygon(59.5% 0,60.5% 0,40.5% 100%,39.5% 100%);animation:wipeGone 1.75s step-end forwards,cutShake .45s linear .14s}.cutInSide{position:absolute;inset:0;overflow:hidden}.cutInMe{-webkit-clip-path:var(--me);clip-path:var(--me);background:linear-gradient(115deg,#071445,#1d4ed8 62%,#38bdf8);animation:cutFromLeft .24s cubic-bezier(.16,1,.3,1) both,cutToLeft .3s cubic-bezier(.7,0,.84,0) 1.42s forwards}.cutInFoe{-webkit-clip-path:var(--foe);clip-path:var(--foe);background:linear-gradient(245deg,#2a040c,#b91c1c 60%,#fb7185);animation:cutFromRight .24s cubic-bezier(.16,1,.3,1) both,cutToRight .3s cubic-bezier(.7,0,.84,0) 1.42s forwards}.cutInFoe .cutInHalftone{transform:scaleX(-1)}.cutInSide img{position:absolute;bottom:-4%;height:100%;width:50%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 0 3px rgba(255,255,255,.9));will-change:transform;animation:cutDrift 1.75s ease-out both}.cutInMe img{left:1%}.cutInFoe img{right:1%}.cutInBattle .cutInSpeed{position:absolute;inset:-40%;background:repeating-conic-gradient(rgba(255,255,255,.28) 0 1deg,transparent 1deg 9deg);-webkit-mask:radial-gradient(circle,transparent 30%,#000 66%);mask:radial-gradient(circle,transparent 30%,#000 66%);animation:cutSpeedSpin .12s steps(2) infinite,cutHold 1.75s linear both}.cutInSeam{position:absolute;inset:0;filter:drop-shadow(0 0 10px #fff) drop-shadow(0 0 26px #fde047);animation:cutSeam 1.75s linear both}.cutInSeam:before{content:"";position:absolute;inset:0;background:#fff;-webkit-clip-path:var(--seam);clip-path:var(--seam)}.cutInVs{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:1.9em;height:1.9em;margin:-.95em 0 0 -.95em;font-size:clamp(64px,15vmin,150px);font-style:italic;font-weight:900;line-height:1;letter-spacing:-.04em;color:#fde047;text-shadow:0 .03em 0 #b45309,.03em .06em 0 #7c2d12,0 0 .3em rgba(0,0,0,.75);animation:cutVs 1.75s linear both}.cutInVs:before{content:"";position:absolute;inset:0;border:.07em solid #fff;border-radius:50%;opacity:0;animation:cutRing .5s ease-out .3s}.cutInTag{position:absolute;display:flex;flex-direction:column;max-width:66vw;padding:8px 28px;background:rgba(5,8,24,.88);transform:skewX(-12deg)}.cutInTag>*{transform:skewX(12deg)}.cutInTag small{font-size:clamp(11px,1.9vmin,15px);font-weight:800;letter-spacing:.12em;color:#fde047}.cutInTag b{overflow:hidden;font-size:clamp(20px,4.4vmin,40px);font-weight:900;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}.cutInTagMe{left:0;bottom:11%;align-items:flex-start;padding-left:max(28px,4vw);border-right:5px solid #38bdf8;animation:cutFromLeft .32s cubic-bezier(.16,1,.3,1) .26s both,cutToLeft .26s ease-in 1.4s forwards}.cutInTagFoe{right:0;top:11%;align-items:flex-end;padding-right:max(28px,4vw);border-left:5px solid #fb7185;animation:cutFromRight .32s cubic-bezier(.16,1,.3,1) .26s both,cutToRight .26s ease-in 1.4s forwards}.cutInBanner{position:absolute;left:0;right:0;top:calc(50% + clamp(62px,14vmin,140px));padding:7px 0;background:linear-gradient(90deg,transparent,rgba(5,8,24,.92) 22%,rgba(5,8,24,.92) 78%,transparent);text-align:center;font-size:clamp(17px,3.4vmin,30px);font-style:italic;font-weight:900;letter-spacing:.24em;animation:cutBanner 1.75s linear both}.cutInFlash{position:absolute;inset:0;background:#fff;animation:cutFlash 1.75s linear both}.cutInBoss .cutInMe{background:linear-gradient(115deg,#05060f,#27272a 62%,#52525b)}.cutInBoss .cutInFoe{background:linear-gradient(245deg,#000,#7f1d1d 60%,#dc2626)}.cutInBoss .cutInBanner{padding:9px 0;background:repeating-linear-gradient(-45deg,#facc15 0 20px,#0a0a0a 20px 40px);color:#fff;text-shadow:0 0 6px #000,0 2px 0 #000,2px 0 0 #000,-2px 0 0 #000,0 -2px 0 #000;letter-spacing:.4em}.cutInFinal .cutInFoe{background:linear-gradient(245deg,#000,#3b0764 55%,#a21caf)}.cutInFinal .cutInTagFoe{border-left-color:#facc15}.cutInFinal .cutInBanner{background:linear-gradient(90deg,transparent,#1e0533 18%,#581c87 50%,#1e0533 82%,transparent);color:#fde68a;text-shadow:0 0 12px #facc15,0 2px 0 #000;letter-spacing:.5em}@keyframes cutFromLeft{0%{transform:translateX(-105%)}}@keyframes cutFromRight{0%{transform:translateX(105%)}}@keyframes cutToLeft{to{transform:translateX(-105%)}}@keyframes cutToRight{to{transform:translateX(105%)}}@keyframes cutDrift{0%{transform:scale(1.16)}18%{transform:scale(1.03)}to{transform:scale(1)}}@keyframes cutShake{20%{transform:translate(-9px,5px)}40%{transform:translate(8px,-6px)}60%{transform:translate(-6px,-3px)}80%{transform:translate(4px,4px)}}@keyframes cutHold{0%{opacity:0}78%,9%{opacity:1}88%,to{opacity:0}}@keyframes cutSeam{0%,8%{opacity:0}13%,78%{opacity:1}84%,to{opacity:0}}@keyframes cutVs{0%,15%{opacity:0;transform:scale(3.2) rotate(-10deg)}22%{opacity:1;transform:scale(.9) rotate(-5deg)}27%{transform:scale(1.1) rotate(-5deg)}32%,76%{opacity:1;transform:scale(1) rotate(-5deg)}84%,to{opacity:0;transform:scale(1.7) rotate(-5deg)}}@keyframes cutRing{0%{opacity:1;transform:scale(.5)}to{opacity:0;transform:scale(2.4)}}@keyframes cutBanner{0%,24%{opacity:0;transform:scaleX(.2)}31%,78%{opacity:1;transform:none}84%,to{opacity:0;transform:scaleX(1.25)}}@keyframes cutFlash{0%{opacity:.95}15%{opacity:0}80%{opacity:0}84%{opacity:.6}to{opacity:0}}@media(max-aspect-ratio:1/1){.cutInBattle{--me:polygon(0 56%,100% 44%,100% 100%,0 100%);--foe:polygon(0 0,100% 0,100% 44%,0 56%);--seam:polygon(0 55.6%,100% 43.6%,100% 44.4%,0 56.4%)}.cutInSide img{width:86%;height:43%}.cutInMe img{left:-8%;bottom:0}.cutInFoe img{right:-8%;top:1%;bottom:auto}.cutInTagMe{bottom:5%}.cutInTagFoe{top:5%}.cutInBanner{top:auto;bottom:17%}}.cutInSweep{animation:wipeGone 1.25s step-end forwards}.cutInScrim{position:absolute;inset:0;background:rgba(5,6,18,.62);animation:cutScrim 1.25s linear both}.cutInBand{position:absolute;left:-12%;right:-12%;top:17%;bottom:17%;overflow:hidden;border-block:3px solid rgba(255,255,255,.85);background:linear-gradient(90deg,#1e1b4b,#6d28d9 52%,#e879f9);animation:cutBand 1.25s linear both}.cutInSweep .cutInSpeed{position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,255,255,.17) 0 2px,transparent 2px 19px);animation:cutLines .2s linear infinite}.cutInPortrait{position:absolute;right:max(3%,calc(50% - 600px));bottom:0;width:min(58vw,680px);height:96%;animation:cutPortrait 1.25s linear both}.cutInPortrait img{width:100%;height:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 0 3px rgba(255,255,255,.95)) drop-shadow(0 12px 34px rgba(0,0,0,.65))}.cutInPlate{position:absolute;left:max(5%,calc(50% - 560px));top:50%;display:flex;flex-direction:column;align-items:flex-start;max-width:58vw;margin-top:-1.2em;font-size:clamp(30px,7vmin,68px);animation:cutPlate 1.25s linear both}.cutInPlate small{padding:2px 14px;background:#fde047;color:#1e1b4b;font-size:clamp(12px,2vmin,16px);font-weight:900;letter-spacing:.2em;transform:skewX(-12deg)}.cutInPlate b{max-width:100%;overflow:hidden;font-weight:900;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 3px 0 #1e1b4b,0 0 22px rgba(0,0,0,.6)}.cutInPlate span{font-size:clamp(13px,2.2vmin,18px);font-weight:800;color:#fbcfe8}.cutInSpark{position:absolute;width:clamp(14px,3vmin,28px);aspect-ratio:1;background:#fff;-webkit-clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);opacity:0;animation:cutSpark .6s ease-out .22s}.cutInSpark:first-of-type{left:44%;top:22%}.cutInSpark:nth-of-type(2){left:62%;top:74%;animation-delay:.34s}.cutInSpark:nth-of-type(3){left:16%;top:70%;animation-delay:.42s}.cutInSpark:nth-of-type(4){left:82%;top:24%;animation-delay:.28s}@keyframes cutScrim{0%{opacity:0}12%,76%{opacity:1}to{opacity:0}}@keyframes cutLines{to{background-position:0 19px}}@keyframes cutPortrait{0%,6%{opacity:0;transform:translateX(34%)}24%{opacity:1;transform:translateX(-3%)}32%{transform:none}76%{opacity:1;transform:translateX(-1.5%)}92%,to{opacity:0;transform:translateX(-30%)}}@keyframes cutPlate{0%,12%{opacity:0;transform:translateX(-46%) skewX(-8deg)}30%{opacity:1;transform:translateX(2%) skewX(-8deg)}36%,76%{opacity:1;transform:skewX(-8deg)}92%,to{opacity:0;transform:translateX(-30%) skewX(-8deg)}}@keyframes cutSpark{0%{opacity:0;transform:scale(0) rotate(0)}40%{opacity:1;transform:scale(1.25) rotate(45deg)}to{opacity:0;transform:scale(.3) rotate(90deg)}}@media(max-aspect-ratio:1/1){.cutInBand{top:26%;bottom:26%}.cutInPortrait{right:-6%;width:88vw;height:78%}.cutInPlate{left:5%;top:auto;bottom:11%;margin:0;max-width:90vw}.cutInPlace .cutInPlate{bottom:30%}}.bossIntro{animation:wipeGone 3.6s step-end forwards,bossShake .6s linear 1.1s}.bossDark{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 62%,rgba(88,28,135,.6),#05010a 72%);animation:bossDark 3.6s ease both}.bossRunes{position:absolute;left:50%;top:52%;width:min(92vmin,780px);aspect-ratio:1;translate:-50% -50%;border-radius:50%;border:4px dashed rgba(253,230,138,.75);box-shadow:0 0 40px rgba(192,132,252,.7),inset 0 0 70px rgba(162,28,175,.55);background:repeating-conic-gradient(rgba(253,230,138,.16) 0 2deg,transparent 2deg 15deg);opacity:0;animation:bossRunes 3.6s linear both}.bossRunes:after{content:"";position:absolute;inset:11%;border-radius:50%;border:2px solid rgba(233,213,255,.7);box-shadow:0 0 18px rgba(192,132,252,.6)}.bossArt{position:absolute;left:50%;bottom:0;width:min(84vw,760px);height:80%;translate:-50% 0;animation:bossRise 3.6s cubic-bezier(.2,.8,.2,1) both}.bossArt img{width:100%;height:100%;object-fit:contain;object-position:bottom;animation:bossReveal 3.6s linear both}.bossBolt{top:-4%;width:clamp(44px,8vw,96px);height:78%;background:linear-gradient(#fff,#e9d5ff 45%,rgba(192,132,252,0));-webkit-clip-path:polygon(48% 0,64% 0,53% 36%,72% 36%,32% 100%,45% 50%,26% 50%);clip-path:polygon(48% 0,64% 0,53% 36%,72% 36%,32% 100%,45% 50%,26% 50%);filter:drop-shadow(0 0 12px #c084fc) drop-shadow(0 0 30px #a21caf);animation:bossBolt .34s steps(3) both}.bossBolt,.bossEmber{position:absolute;opacity:0}.bossEmber{left:var(--x);bottom:-3%;width:6px;height:6px;border-radius:50%;background:#fde68a;box-shadow:0 0 10px #f59e0b,0 0 20px #a21caf;animation:bossEmber 2.2s var(--d) ease-out infinite}.bossTitle{position:absolute;left:0;right:0;top:9%;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 16px;text-align:center}.bossTitle small{font-size:clamp(13px,2.4vmin,20px);font-weight:900;letter-spacing:.7em;color:#fde68a;text-shadow:0 0 12px #a21caf;animation:bossText 3.6s both}.bossTitle b{font-size:clamp(40px,10vmin,112px);font-weight:900;line-height:1.05;letter-spacing:.06em;color:#fff;text-shadow:0 0 18px #c084fc,0 0 44px #a21caf,0 4px 0 #3b0764;animation:bossName 3.6s both}.bossTitle span{font-size:clamp(16px,3vmin,26px);font-weight:900;font-style:italic;letter-spacing:.2em;color:#facc15;text-shadow:0 0 10px #000;animation:bossText 3.6s both}.bossTitle em{max-width:36em;font-style:normal;font-size:clamp(12px,2vmin,16px);color:#e9d5ff;text-shadow:0 1px 4px #000;animation:bossText 3.6s both}.bossFlash{position:absolute;inset:0;background:#f5f3ff;opacity:0;animation:bossFlash 3.6s linear both}@keyframes bossDark{0%{opacity:0}6%,86%{opacity:1}to{opacity:0}}@keyframes bossRunes{0%,30%{opacity:0;transform:rotate(0) scale(.5)}42%{opacity:1;transform:rotate(50deg) scale(1)}86%{opacity:.9;transform:rotate(140deg) scale(1.04)}to{opacity:0;transform:rotate(160deg) scale(1.25)}}@keyframes bossRise{0%{opacity:0;transform:translateY(16%) scale(1.15)}22%{opacity:1}44%{transform:none}86%{opacity:1;transform:scale(1.04)}to{opacity:0;transform:scale(1.1)}}@keyframes bossReveal{0%,30%{filter:brightness(0) drop-shadow(0 0 22px #a21caf)}36%{filter:brightness(2.4) drop-shadow(0 0 46px #fde68a)}48%,to{filter:brightness(1) drop-shadow(0 0 24px rgba(192,132,252,.85)) drop-shadow(0 10px 30px #000)}}@keyframes bossBolt{0%{opacity:1}60%{opacity:.4}to{opacity:0}}@keyframes bossEmber{0%{opacity:0;transform:translateY(0) scale(var(--s))}15%{opacity:1}to{opacity:0;transform:translate(24px,-92vh) scale(var(--s))}}@keyframes bossText{0%,46%{opacity:0;transform:translateY(8px)}54%,86%{opacity:1;transform:none}to{opacity:0}}@keyframes bossFlash{0%{opacity:.85}3%,9%{opacity:0}10%{opacity:.7}13%,19%{opacity:0}20%{opacity:.75}23%,31%{opacity:0}33%{opacity:.95}40%,to{opacity:0}}@keyframes bossShake{10%,50%,90%{transform:translate(-12px,7px)}30%,70%{transform:translate(12px,-8px)}}.cutInFinal{animation:wipeGone 1.75s step-end forwards,bossShake .7s linear .14s}.cutInFinal .cutInVs{color:#fde68a;text-shadow:0 0 .25em #c084fc,0 .03em 0 #7e22ce,.03em .06em 0 #3b0764}.cutInRunes{position:absolute;left:50%;top:50%;width:min(72vmin,620px);aspect-ratio:1;translate:-50% -50%;border-radius:50%;border:4px dashed rgba(253,230,138,.85);box-shadow:0 0 34px #a21caf,inset 0 0 44px rgba(192,132,252,.7);animation:cutRunes 1.75s linear both}.cutInRunes:after{content:"";position:absolute;inset:12%;border-radius:50%;border:2px solid rgba(233,213,255,.85)}.cutInShock{position:absolute;left:50%;top:50%;width:36vmin;aspect-ratio:1;translate:-50% -50%;border-radius:50%;border:6px solid #fde68a;box-shadow:0 0 30px #c084fc;opacity:0;animation:cutShock .75s ease-out .3s}.cutInBolt{height:100%;animation-duration:.26s}@keyframes cutRunes{0%,14%{opacity:0;transform:scale(.3) rotate(0)}24%{opacity:1;transform:scale(1) rotate(60deg)}78%{opacity:1;transform:scale(1.05) rotate(210deg)}88%,to{opacity:0;transform:scale(1.5) rotate(240deg)}}@keyframes cutShock{0%{opacity:1;transform:scale(.2)}to{opacity:0;transform:scale(4.5)}}.sceneThreat.sceneThreatFinal img{animation:bossAura 2.2s ease-in-out infinite}.sceneThreat.sceneThreatFinal figcaption{color:#fde68a;text-shadow:0 0 10px #a21caf,0 1px 3px #000}.playPage .threatPanel.threatFinal{border-color:#a21caf;box-shadow:0 0 0 1px #a21caf,0 0 26px rgba(162,28,175,.55)}@keyframes bossAura{0%,to{filter:drop-shadow(0 0 20px rgba(192,132,252,.85)) drop-shadow(0 8px 14px rgba(0,0,0,.6))}50%{filter:drop-shadow(0 0 34px rgba(253,230,138,.85)) drop-shadow(0 0 70px rgba(162,28,175,.8)) drop-shadow(0 8px 14px rgba(0,0,0,.6))}}.bossRays{position:absolute;left:50%;top:55%;width:220vmax;aspect-ratio:1;translate:-50% -50%;background:repeating-conic-gradient(rgba(253,230,138,.22) 0 6deg,transparent 6deg 18deg);-webkit-mask:radial-gradient(circle,#000 8%,transparent 46%);mask:radial-gradient(circle,#000 8%,transparent 46%);opacity:0;animation:bossRays 3.6s linear both}.cutInRays{top:50%;animation:cutRays 1.75s linear both}@keyframes bossRays{0%,32%{opacity:0;transform:rotate(0)}40%{opacity:1}86%{opacity:.9;transform:rotate(40deg)}to{opacity:0;transform:rotate(48deg)}}@keyframes cutRays{0%,16%{opacity:0;transform:rotate(0)}26%,76%{opacity:1}88%,to{opacity:0;transform:rotate(30deg)}}.bossBand{position:absolute;left:0;right:0;height:clamp(30px,5.5vmin,46px);display:flex;align-items:center;overflow:hidden;background:repeating-linear-gradient(-45deg,#a21caf 0 18px,#3b0764 18px 36px);border-block:3px solid #facc15;box-shadow:0 0 22px rgba(162,28,175,.8);animation:bossBand 3.6s ease both}.bossBand span{white-space:nowrap;font-size:clamp(14px,2.6vmin,22px);font-weight:900;font-style:italic;letter-spacing:.18em;color:#fde68a;text-shadow:0 0 8px #000,0 2px 0 #000;animation:bossMarquee 3.6s linear both}.bossBandTop{top:3%}.bossBandBottom{bottom:3%}.bossBandBottom span{animation-direction:reverse}.cutInFinal .bossBand{animation:cutBand 1.75s ease both}.cutInFinal .bossBand span{animation-duration:1.75s}@keyframes bossBand{0%{opacity:0;transform:scaleY(0)}8%,86%{opacity:1;transform:none}to{opacity:0;transform:scaleY(0)}}@keyframes cutBand{0%,10%{opacity:0;transform:scaleY(0)}18%,80%{opacity:1;transform:none}90%,to{opacity:0;transform:scaleY(0)}}@keyframes bossMarquee{0%{transform:translateX(0)}to{transform:translateX(-40%)}}.bossStar{position:absolute;width:clamp(18px,3.4vmin,34px);aspect-ratio:1;background:#fff;-webkit-clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);filter:drop-shadow(0 0 8px #fde68a) drop-shadow(0 0 16px #c084fc);opacity:0;animation:bossStar 1.1s ease-in-out infinite}@keyframes bossStar{0%,to{opacity:0;transform:scale(.2) rotate(0)}50%{opacity:1;transform:scale(1) rotate(90deg)}}.bossTitle b{background:linear-gradient(180deg,#fffbeb,#fde68a 38%,#f59e0b 62%,#fde68a);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:1.5px #3b0764;text-shadow:none;filter:drop-shadow(0 0 14px #c084fc) drop-shadow(0 0 30px #a21caf) drop-shadow(0 4px 0 #3b0764)}@keyframes bossName{0%,34%{opacity:0;transform:scale(2.6);filter:blur(10px)}41%{opacity:1;transform:scale(.94);filter:drop-shadow(0 0 30px #fde68a) drop-shadow(0 0 60px #c084fc)}45%,86%{opacity:1;transform:scale(1);filter:drop-shadow(0 0 14px #c084fc) drop-shadow(0 0 30px #a21caf) drop-shadow(0 4px 0 #3b0764)}to{opacity:0;transform:scale(1.05);filter:drop-shadow(0 0 14px #c084fc)}}.affBurst{position:fixed;left:50%;top:38%;z-index:45;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:6px;min-width:220px;padding:22px 34px 18px;border-radius:22px;background:linear-gradient(#fff0f7,#ffd1e6);border:3px solid #f472b6;box-shadow:0 0 0 4px #fff,0 0 30px rgba(236,72,153,.55),0 18px 50px rgba(157,23,77,.3);color:#9d174d;cursor:pointer;animation:repBurst 2.8s ease both}.affHeart{color:#ec4899;filter:drop-shadow(0 0 10px rgba(236,72,153,.7));animation:affBeat .7s ease-in-out .2s 2}.affLine{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.affLine strong{font-size:16px}.affLine b{font-size:32px;line-height:1.1;font-weight:900;color:#db2777;-webkit-text-stroke:1px #fff;text-shadow:0 2px 0 #fff,0 0 12px rgba(236,72,153,.5)}.affLine span{font-size:13px;font-weight:700;color:#be185d}.affFloat{position:absolute;bottom:30%;left:calc(14% + var(--i) * 18%);color:#f9a8d4;opacity:0;animation:affFloat 1.8s calc(var(--i) * .18s) ease-out both}.affBurst.affDown{background:linear-gradient(#f5f3ff,#e2e8f0);border-color:#94a3b8;box-shadow:0 18px 50px rgba(30,41,59,.3);color:#334155}.affDown .affHeart,.affDown .affLine b,.affDown .affLine span{color:#64748b}.affDown .affFloat{display:none}@keyframes affBeat{0%,to{transform:scale(1)}40%{transform:scale(1.25)}}@keyframes affFloat{0%{opacity:0;transform:translateY(0) scale(.6)}20%{opacity:1}to{opacity:0;transform:translateY(-90px) scale(1.1)}}.affPos,.relationshipDetails span b.affPos,[class*=attitude-] b.affPos{color:#db2777}@media (prefers-reduced-motion:reduce){.affBurst,.affFloat,.affHeart{animation:none}.affFloat,.cutIn,.playIntro,.sceneRibbon{display:none}.sceneArrive,.sceneThreatFinal img{animation:none}}.playPage{max-width:none;padding:8px 16px 12px}.topbar .playHeading{flex:1 1;min-width:0;margin:0;gap:12px}.playHeading>div{display:flex;align-items:center;gap:14px;min-width:0}.playHeading h1{font-size:15px;letter-spacing:0;overflow:hidden;text-overflow:ellipsis}.playHeading h1,.topbar .textBack{margin:0;white-space:nowrap}.playHeading .btn{padding:5px 11px;font-size:12px}.playBoard{--bodyH:clamp(210px,31vh,290px);--stageH:calc(100vh - 172px - var(--bodyH));display:grid;grid-template-columns:min(calc(var(--stageH) * 16 / 9),calc(100% - 390px)) 380px;justify-content:center;grid-template-rows:auto minmax(0,1fr);grid-template-areas:"status status" "scene side";grid-gap:10px;gap:10px}@media(min-width:1101px){.appShell:has(.playPage) .topbar{height:56px;min-height:56px}.playPage{height:calc(100vh - 56px);display:flex;flex-direction:column}.playBoard{flex:1 1;min-height:0}}.playStatus{grid-area:status;display:flex;align-items:center;gap:clamp(12px,2vw,30px);padding:9px 16px;border:1px solid #ececf0;border-radius:14px;background:#fff;min-width:0}.statusPortrait{flex:none;width:56px;height:56px;border-radius:9px;object-fit:cover;object-position:top;border:1px solid #ececf0;background:#f4f6f9}.statusWho{display:flex;flex-direction:column;gap:2px;flex:0 1 190px;min-width:120px}.statusWho strong{font-size:14px}.statusWho small{font-size:11px;color:#6f7a89}.statusTrack{height:8px;border-radius:99px;background:#eceff3;overflow:hidden}.statusTrack i{display:block;height:100%;border-radius:99px;transition:width .4s}.statusExp i{background:linear-gradient(90deg,#a78bfa,#6d4fd6)}.statusVital{display:flex;align-items:center;gap:9px;flex:0 1 180px;min-width:120px;position:relative}.statusVital>svg{flex:none}.statusVital>div{flex:1 1;min-width:0;position:relative;display:flex;flex-direction:column;gap:4px}.statusVital span{font-size:13px;font-weight:600;white-space:nowrap}.statusHp>svg{color:#ed6777;fill:#ed6777}.statusHp i{background:linear-gradient(90deg,#ed6875,#cc4057)}.statusMp>svg{color:#3b82f6;fill:#3b82f6}.statusMp i{background:linear-gradient(90deg,#3b82f6,#1d4ed8)}.statusVital .healPop{position:absolute;right:0;top:-6px}.statusFact{display:flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap;min-width:0}.statusFact>svg{flex:none;color:#c27a1a}.statusFact b,.statusFact em{font-weight:700}.statusFact em{font-style:normal;font-size:11px;padding:1px 7px;border-radius:6px;background:#c27a1a;color:#fff}.statusFact.infamy em{background:#b4232c}.statusStory>svg{color:#c27a1a}.storyTrack{position:relative}.storyTrack i{background:linear-gradient(90deg,#f6a623,#ffd166);box-shadow:0 0 6px rgba(246,166,35,.6)}.storyTrack em{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#c9ced6}.storyTrack em.reached{background:rgba(122,75,18,.5)}.statusPlace{margin-left:auto;padding-left:clamp(0px,1vw,14px);border-left:1px solid #ececf0}.statusPlace>svg{color:#f26861}.statusPlace>span{display:flex;flex-direction:column;line-height:1.35;min-width:0}.statusPlace b,.statusPlace small{overflow:hidden;text-overflow:ellipsis}.statusPlace small{font-size:11px;color:#6f7a89}.statusTime{flex:none;display:flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #ececf0;border-radius:10px;background:#f4f6f9;font-size:13px;white-space:nowrap}.statusTime svg{color:#c27a1a}.playScenePanel{grid-area:scene;container-type:inline-size;display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;overflow:hidden}.sceneStage{flex:0 1 calc(100cqw / var(--sceneRatio,1.78));min-height:0;width:100%;margin:0;aspect-ratio:auto}.sceneBackground{object-fit:contain}.sceneBackdrop{position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);object-fit:cover;filter:blur(18px) brightness(.72)}.sceneBody{flex:1 0 var(--bodyH);min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding:8px 14px;border:1px solid #ececf0;border-radius:14px;background:#fff}.sceneBody>*{flex:none}.sceneBody:has(>.talkPanel){overflow:hidden}.sceneStage.sceneMapMode+.sceneBody{flex-basis:110px}.playScenePanel .gmChoices{gap:4px;padding:6px 0 0;border-top:0}.playPage .gmChoiceButton{gap:8px;padding:4px 10px;border-radius:8px;font-size:13px;font-weight:600;line-height:1.35}.playPage .gmChoiceButton .gmChoiceNumber{width:20px;height:20px;font-size:11px}.playPage .gmChoiceButton>.gmChoiceOwnTag{flex:none;padding:1px 8px;border:1px solid #e5e9ef;border-radius:6px;font-size:12px;font-weight:700}.playPage .gmChoiceOwn input{font-size:13px;font-weight:500}@media(min-width:1101px){.playBoard{--bodyH:0px}.playScenePanel{position:relative;align-self:start;max-height:100%}.sceneStage{flex:0 1 auto;aspect-ratio:var(--sceneRatio,1.78)}.sceneBody{position:absolute;z-index:5;left:50%;bottom:14px;transform:translateX(-50%);width:min(760px,82%);max-height:60%;padding:0;border:0;background:transparent}.sceneBody:has(>.talkPanel){max-height:60%;overflow-y:auto}.sceneBody>.talkPanel{flex:0 1 auto;border-radius:12px}.playPage .sceneBody .talkPanel .talkThread{flex:0 1 auto;min-height:60px}.sceneBody:has(>.encounterPanel){bottom:18%}.sceneStage.sceneMapMode+.sceneBody{display:none}.sceneNpcs{bottom:24%;height:66%}.sceneNpcs.sceneTalking{bottom:34%;height:56%}.sceneThreat{bottom:22%;height:76%}.playPage .sceneBody .gmChoices{gap:8px;padding:8px 16px}.playPage .sceneBody .gmChoiceButton{gap:12px;padding:11px 16px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(18,20,28,.68);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#f4f5f8;font-size:15.5px;font-weight:600;line-height:1.45;box-shadow:0 4px 14px rgba(0,0,0,.35);transition:background .15s,border-color .15s,box-shadow .15s}.playPage .sceneBody .gmChoiceButton:focus-within,.playPage .sceneBody .gmChoiceButton:hover{background:rgba(28,30,42,.82);border-color:#f5c542;box-shadow:0 0 0 1px rgba(245,197,66,.5),0 0 16px rgba(245,197,66,.4)}.playPage .sceneBody .gmChoiceNumber{width:26px;height:26px;font-size:13px;background:#f5c542;color:#2a2108}.playPage .sceneBody .gmChoiceButton>svg{color:rgba(255,255,255,.55)}.playPage .sceneBody .gmChoiceButton>.gmChoiceOwnTag{border-color:rgba(255,255,255,.3);color:#f5c542}.playPage .sceneBody .gmChoiceOwn input{font-size:15px;color:#fff}.playPage .sceneBody .gmChoiceOwn input::placeholder{color:rgba(255,255,255,.55)}}.playPage .encounterPanel{padding:8px 10px}.playPage .encounterPanel p{margin:0 0 6px;font-size:13px}.playPage .encounterActions{gap:10px}.playPage .encounterAction{flex-direction:row;justify-content:center;gap:9px;padding:14px 10px;font-size:16px;box-shadow:0 3px 10px rgba(0,0,0,.25)}.playPage .encounterAction svg{width:22px;height:22px}.playPage .encounterPanel{padding:8px;border:0;background:transparent}.playPage .encounterPanel .encounterAction{border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(18,20,28,.68);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#f4f5f8;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.35);transition:background .15s,border-color .15s,box-shadow .15s}.playPage .encounterPanel .encounterAction:focus-visible,.playPage .encounterPanel .encounterAction:hover:not(:disabled){background:rgba(28,30,42,.82);border-color:#f5c542;color:#fff;box-shadow:0 0 0 1px rgba(245,197,66,.5),0 0 16px rgba(245,197,66,.4);outline:none}.playPage .encounterPanel .encounterFlee svg{color:#86efac}.playPage .encounterPanel .encounterTalk svg{color:#93c5fd}.playPage .encounterPanel .encounterFight svg{color:#fca5a5}.playPage .combatPanel{gap:4px;padding:8px 10px}.playPage .talkPanel{gap:6px;padding:8px 10px}.diceCheckPanel,.diceCheckResult{margin:0}.diceCheckActions{display:flex;gap:8px;flex-wrap:wrap}.playPage .talkPanel{flex:1 1;min-height:0}.playPage .talkPanel .talkThread{flex:1 1;max-height:none;min-height:110px}.playPage .playLogPanel{grid-area:side;min-height:0;padding:12px;gap:10px}.currentGoal{flex:none;margin:0 0 10px;padding:8px 12px;border-radius:9px;background:#fbf1df;color:#3b2a14;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.currentGoal b{color:#7a4b12}.sideTabs{flex:none;display:flex;gap:6px;padding-bottom:10px;border-bottom:1px solid #e9edf2}.sideTabs button{flex:1 1;padding:9px 6px;border:0;border-radius:9px;background:#f4f6f9;color:#596579;font-size:14px;font-weight:700;cursor:pointer}.sideTabs button:hover{background:#eceff3}.playPage .talkPanel .talkThread .talkCue{position:-webkit-sticky;position:sticky;top:0;z-index:1;flex:none;align-self:stretch;max-width:none;padding:5px 12px;text-align:left;border:1px solid #e2c98f;border-radius:9px;background:#fff8e6;color:#7a5a12;font-weight:600}.characterTabs button,.sideTabs button{position:relative}.newDot{position:absolute;z-index:2;top:-5px;right:-5px;width:17px;height:17px;display:grid;place-items:center;border:1.5px solid #fff;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ff9a8f,#ef4444 60%,#c81e1e);box-shadow:0 0 7px rgba(239,68,68,.85);animation:newDotPop .45s cubic-bezier(.34,1.8,.64,1) both,newDotBeat 1.6s ease-in-out .45s infinite}.newDot:after{content:"";position:absolute;inset:-1.5px;border:2px solid #ef4444;border-radius:50%;animation:newDotRing 1.6s ease-out .45s infinite}.newDot:before{content:"!";color:#fff;font:900 11px/1 Arial,sans-serif;font-style:normal}@keyframes newDotPop{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes newDotBeat{0%,60%,to{transform:scale(1)}15%{transform:scale(1.3)}30%{transform:scale(.95)}45%{transform:scale(1.15)}}@keyframes newDotRing{0%{transform:scale(1);opacity:.9}to{transform:scale(2.8);opacity:0}}@media(prefers-reduced-motion:reduce){.newDot,.newDot:after{animation:none}}.sceneLocation{position:relative}.sideTabs button.active{background:#ffe8e7;color:#cf4c55}.sideInfo,.sideLog{flex:1 1;min-height:0}.sideInfo{overflow-y:auto;padding:0 4px}.sideInfo .characterPanel{margin:0;padding:0;border:0}.sideLog{display:flex;flex-direction:column;gap:6px}.sideInfo[hidden],.sideLog[hidden]{display:none}.logActions{flex:none;justify-content:flex-end}.playPage .playChatPanel .chatLog.storyLog{flex:1 1 auto;max-height:none;min-height:0;gap:8px;padding:0 4px 8px 0}.playPage .storyEntry{flex:none;margin:0;padding:11px 13px;font-size:13px;line-height:1.6}.playPage .storyGM{border:1px solid #edf0f4;border-radius:9px;background:#fff}.playPage .talkRecord{flex:none;margin:0}.playPage .storyEntryLabel{display:flex;align-items:center;gap:7px;margin-bottom:3px;font-size:13px}.playPage details.storyEntry summary{cursor:pointer;list-style:none}.playPage details.storyEntry summary::-webkit-details-marker{display:none}.storyPreview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#667180}details[open]>summary .storyPreview{display:none}.playPage .storyLog .storyEntryText{margin-top:4px}.playPage .battleRecordTitle{padding:9px 12px 0}.playPage .battleLive .battleLines{padding:0 12px 8px}@media(max-width:1100px){.topbar .playHeading{order:4;flex:1 0 100%}.playBoard{grid-template-columns:minmax(0,1fr);grid-template-areas:"status" "scene" "side"}.playStatus{flex-wrap:wrap}.statusPlace{margin-left:0;border-left:0;padding-left:0}.playScenePanel{overflow:visible;container-type:normal}.sceneStage{flex:none;aspect-ratio:var(--sceneRatio,1.78)}.sceneBody,.sceneBody:has(>.talkPanel),.sceneStage.sceneMapMode+.sceneBody{flex:none;overflow:visible}.playPage .talkPanel .talkThread{flex:none;max-height:340px}.playPage .playChatPanel .chatLog.storyLog{max-height:480px}}@media(max-width:520px){.statusVital,.statusWho{flex:1 1 40%}.playPage .gmChoiceButton>.gmChoiceOwnTag{display:none}}.playPage .encounterPanel .encounterAction,.playPage .sceneBody .gmChoiceButton{transition:background .15s,border-color .15s,box-shadow .15s,transform .18s cubic-bezier(.34,1.56,.64,1)}.playPage .encounterPanel .encounterAction:hover:not(:disabled),.playPage .sceneBody .gmChoiceButton:hover{transform:scale(1.03)}@media(prefers-reduced-motion:reduce){.playPage .encounterPanel .encounterAction,.playPage .sceneBody .gmChoiceButton{transition:none}.playPage .encounterPanel .encounterAction:hover:not(:disabled),.playPage .sceneBody .gmChoiceButton:hover{transform:none}}.playPage .threatPanel .foeCard{margin:0 0 8px;padding:8px 10px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(18,20,28,.68);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.playPage .threatPanel .foeDesc{color:#e5e7eb}.playPage .threatPanel .foeStats span{background:rgba(255,255,255,.1);color:#cbd5e1}.playPage .threatPanel .foeStats span:not([class*=grade]) b{color:#fff}.playPage .threatPanel .foeSkill{background:rgba(124,45,18,.55);border-color:rgba(253,186,116,.5);color:#fed7aa}.sceneNpc figcaption,.sceneThreat figcaption{order:-1;margin:0 0 4px;padding:0 4px;background:transparent;border-radius:0;color:#fff;font-size:17px;font-weight:800;letter-spacing:.02em;text-shadow:0 1px 3px rgba(0,0,0,.95),0 0 10px rgba(0,0,0,.7)}.sceneThreat figcaption{color:#fecaca;color:#ff4d4d}.sceneNpc figcaption.nameTag-hostile{color:#ff4d4d}.sceneNpc figcaption.nameTag-cold{color:#a5b4fc}.sceneNpc figcaption.nameTag-neutral{color:#fff}.sceneNpc figcaption.nameTag-warm{color:#fde68a}.sceneNpc figcaption.nameTag-trust{color:#86efac}.partyStrip{position:absolute;left:20px;top:76px;z-index:8;display:flex;gap:10px}.partyTalk{flex-direction:column;padding:0;border:0;background:none;color:#fff;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.9)}.partyTalk,.partyTalk small{display:flex;align-items:center;gap:3px;font-size:11px}.partyTalk small{max-width:84px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.partyTalkFace{position:relative;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;border:2px solid #fff;background:rgba(15,18,28,.7);box-shadow:0 3px 10px rgba(0,0,0,.5);overflow:visible}.partyStrip .partyTalkFace img{display:block;width:46px;height:46px;max-width:none;max-height:none;border-radius:50%;object-fit:cover;object-position:50% 14%}.partyTalk:focus-visible .partyTalkFace,.partyTalk:hover .partyTalkFace{border-color:#facc15;transform:scale(1.06)}.partyTalkDue{position:absolute;top:-5px;right:-5px;display:inline-grid;place-items:center;width:19px;height:19px;border:2px solid #fff;border-radius:50%;background:linear-gradient(180deg,#ff6b6b,#e11d48);color:#fff;font-size:12px;font-style:normal;font-weight:900;line-height:1;animation:freshBounce 1.1s ease-in-out infinite}.partyTalkLink{display:inline-flex;align-items:center;gap:3px;position:relative;margin-left:auto;padding:3px 9px;border:1px solid #cfe0f5;border-radius:999px;background:#fff;color:#2563eb;font-size:11px;font-weight:700}.partyTalkLink .partyTalkDue{position:static;width:16px;height:16px;font-size:10px;margin-left:2px}@media (prefers-reduced-motion:reduce){.partyTalkDue{animation:none}}.busySeconds{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;opacity:.7;margin-left:4px}.vnBox{position:absolute;z-index:8;left:0;right:0;bottom:0;padding:44px 6% 48px;background:linear-gradient(180deg,rgba(8,10,16,0),rgba(8,10,16,.74) 22%,rgba(8,10,16,.9));color:#f5f6f8}.vnBox.vnReady{cursor:pointer}.vnBox:focus-visible{outline:2px solid #fde68a;outline-offset:-4px}.vnText{margin:0;font-size:15.5px;line-height:1.75;white-space:pre-wrap;min-height:7em}.vnNext{right:5%;bottom:18px;font-size:16px;animation:vnBlink 1.2s ease-in-out infinite}.vnCount,.vnNext{position:absolute}.vnCount{right:calc(5% + 28px);bottom:20px;font-size:11px;opacity:.7}.sceneBodyReading{display:none!important}@keyframes vnBlink{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(3px)}}@media(max-width:520px){.vnBox{padding:28px 5% 36px}.vnText{font-size:14px;min-height:6em}}@media(prefers-reduced-motion:reduce){.vnNext{animation:none}}.vnNext.vnWait{opacity:.25;animation:none}.miniMapPin{position:absolute;z-index:3;transform:translate(-50%,-50%);border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:2px}.miniMapPin i{display:block;width:12px;height:12px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 4px #0007}.miniMapPin span{max-width:88px;padding:1px 5px;border-radius:4px;background:rgba(30,25,20,.82);color:#fff6de;font-size:10px;font-weight:700;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.miniMapPin.far{cursor:not-allowed}.miniMapPin.far i{background:#9aa1ab}.miniMapPin.far{opacity:.45;filter:grayscale(1)}.miniMapPin.near{cursor:pointer}.miniMapPin.near i{background:#f26861;box-shadow:0 0 0 4px rgba(242,104,97,.28),0 1px 4px #0007}.miniMapPin.near:focus-visible i,.miniMapPin.near:hover i{transform:scale(1.3)}.miniMapPin.near:focus-visible{outline:none}.miniMapPin.exit.near i{background:#7c5cff;box-shadow:0 0 0 4px rgba(124,92,255,.28),0 1px 4px #0007}.miniMapPin.current{cursor:default;z-index:4;pointer-events:none}.miniMapPin.current i{background:#22c55e;width:14px;height:14px}.miniMapPin.current span{background:#14532d;border:1px solid #fde68a}.miniMapPin[aria-disabled=true].near{cursor:wait}.stageMapFollow .miniMapPin{transform:translate(-50%,-50%) scale(calc(1 / var(--mapZoom,1)))}.stageMapFollow .miniMapPin.current i{display:none}.diceGain{font-style:normal;font-weight:700;margin-left:4px;opacity:.85;white-space:nowrap}.battleResultBackdrop.battleResultLate{animation:battleResultLate .25s ease 1s both}@keyframes battleResultLate{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.storyEntry.storyWorld .storyEntryLabel{color:var(--accent,#6b7fd7)}.partyStrip{gap:14px}.partyTalk{--ring1:#ffe27a;--ring2:#f59e0b;--ring3:#b45309;--tag1:#fbbf24;--tag2:#d97706;animation:partyEnter .5s cubic-bezier(.2,1.5,.4,1) both}.partyTalk.temp{--ring1:#7ff6e4;--ring2:#22b8cf;--ring3:#6d28d9;--tag1:#2dd4bf;--tag2:#7c3aed}.partyStrip .partyTalkFace{width:60px;height:60px;border:0;padding:3px;background:conic-gradient(from 0deg,var(--ring1),var(--ring2),var(--ring3),var(--ring2),var(--ring1));box-shadow:0 0 0 2px rgba(255,255,255,.9),0 0 16px var(--ring2),0 4px 12px rgba(0,0,0,.55);animation:partyGlow 2.4s ease-in-out infinite}.partyStrip .partyTalkFace img{width:54px;height:54px;border:2px solid #10131c;background:#10131c}.partyStrip .partyTalkFace:after{content:"";position:absolute;inset:3px;border-radius:50%;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);background-size:250% 100%;animation:partyShine 3.2s ease-in-out infinite;pointer-events:none}.partyTag{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);z-index:1;padding:2px 7px;border-radius:999px;border:1.5px solid #fff;background:linear-gradient(180deg,var(--tag1),var(--tag2));color:#fff;font-size:10px;font-style:normal;font-weight:900;letter-spacing:-.2px;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.45);box-shadow:0 2px 6px rgba(0,0,0,.45)}.partyStrip .partyTalk small{margin-top:8px;padding:2px 8px;border-radius:6px;background:rgba(10,12,20,.72);font-size:11.5px}.partyLv{font-size:10px;font-weight:900;color:var(--ring1);text-shadow:0 1px 3px rgba(0,0,0,.95)}.partyTalk:focus-visible .partyTalkFace,.partyTalk:hover .partyTalkFace{transform:scale(1.08)}@keyframes partyEnter{0%{opacity:0;transform:translateY(-14px) scale(.6)}to{opacity:1;transform:none}}@keyframes partyGlow{0%,to{box-shadow:0 0 0 2px rgba(255,255,255,.9),0 0 10px var(--ring2),0 4px 12px rgba(0,0,0,.55)}50%{box-shadow:0 0 0 2px rgba(255,255,255,.9),0 0 22px var(--ring1),0 4px 12px rgba(0,0,0,.55)}}@keyframes partyShine{0%,60%{background-position:150% 0}to{background-position:-100% 0}}.partyJoined.temp{background:linear-gradient(90deg,#14b8a6,#7c3aed)}.partyResult.accepted{position:relative;overflow:hidden}.partyResult.accepted .partyResultFace{position:relative;width:104px;height:104px;border:4px solid #fbbf24;box-shadow:0 0 0 6px rgba(251,191,36,.25),0 0 30px rgba(251,191,36,.7)}.partyResult.accepted:before{content:"";position:absolute;left:50%;top:70px;width:420px;height:420px;margin:-210px 0 0 -210px;background:repeating-conic-gradient(rgba(251,191,36,.22) 0 10deg,transparent 10deg 20deg);border-radius:50%;animation:partyRays 9s linear infinite;pointer-events:none;z-index:0}.partyResult.accepted>*{position:relative;z-index:1}.partyResult.accepted h2{font-size:30px;font-weight:900;background:linear-gradient(180deg,#fde68a,#f59e0b 55%,#b45309);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 0 rgba(120,53,15,.35))}.partyResult.partyTemp .partyResultFace{border-color:#2dd4bf;box-shadow:0 0 0 6px rgba(45,212,191,.25),0 0 30px rgba(124,58,237,.6)}.partyResult.partyTemp:before{background:repeating-conic-gradient(rgba(45,212,191,.2) 0 10deg,transparent 10deg 20deg)}.partyResult.partyTemp h2{background-image:linear-gradient(180deg,#99f6e4,#14b8a6 50%,#7c3aed)}@keyframes partyRays{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.partyResult.accepted:before,.partyStrip .partyTalkFace,.partyStrip .partyTalkFace:after,.partyTalk{animation:none}}.sceneQuestsButton em{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#f26861;color:#fff;font-size:11px;font-style:normal;line-height:18px;text-align:center}.sceneQuestsButton.open em{background:#fff;color:#f26861}.sceneQuests{position:absolute;top:48px;left:0;width:min(320px,calc(100vw - 32px));max-height:min(60vh,420px);overflow:auto;padding:10px;border-radius:14px;background:rgba(20,22,30,.88);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(0,0,0,.4);color:#fff}.sceneQuests ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.sceneQuests li{padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.07);border-left:3px solid rgba(255,255,255,.3)}.sceneQuests li.now{background:rgba(242,104,97,.18);border-left-color:#f26861}.sceneQuests li small{display:block;margin-bottom:2px;font-size:10.5px;font-weight:800;color:#fca5a1}.sceneQuests li p{margin:0;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.sceneQuests li span{display:block;margin-top:2px;font-size:11px;color:rgba(255,255,255,.65)}.sceneQuests li span b{color:#fff}.sceneQuestsEmpty{margin:4px 2px;font-size:13px;color:rgba(255,255,255,.7)}.sceneQuests li{position:relative;padding-right:32px}.sceneQuestDrop{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:transparent;color:rgba(255,255,255,.55);cursor:pointer}.sceneQuestDrop:hover{background:rgba(255,255,255,.15);color:#fff}.sceneQuestDrop:focus-visible{outline:2px solid #fca5a1;outline-offset:1px}@keyframes threatInPlain{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}.threatOdds{margin-left:6px;padding:1px 7px;border-radius:6px;font-style:normal;font-size:12px;font-weight:800;color:#fff}.threatOdds.oddsGood{background:#15803d}.threatOdds.oddsRisky{background:#c2410c}.threatOdds.oddsBad{background:#991b1b}.threatPower{display:block;margin-top:2px;font-size:13px;font-weight:700;color:#fff}.characterStat{position:relative}.characterItems .itemChip .itemCount{font-size:11px;font-weight:800;opacity:.75}.feedbackBackdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px;background:rgba(0,0,0,.55)}.feedbackDialog{width:min(480px,100%);display:grid;grid-gap:12px;gap:12px;padding:20px;border-radius:14px;background:#fff;color:#252b35;border:1px solid #e9e9ed;box-shadow:0 10px 35px #0003}.feedbackDialog h2{margin:0;font-size:18px}.feedbackDialog input,.feedbackDialog textarea{width:100%;box-sizing:border-box;padding:10px;border-radius:8px;border:1px solid #e4e6ea;background:transparent;color:inherit;font:inherit}.feedbackActions{display:flex;justify-content:flex-end;gap:8px}.feedbackError{margin:0;color:#e5484d;font-size:13px}.adminPage{max-width:1200px;margin:0 auto;padding:24px 16px;font-size:14px}.adminTotals b{font-size:18px}.adminFeedback{padding:10px 12px;margin:8px 0;border-radius:8px;border:1px solid #e4e6ea}.adminFeedback p{margin:4px 0 0;white-space:pre-wrap}.adminTable{width:100%;border-collapse:collapse}.adminTable td,.adminTable th{padding:8px;border-bottom:1px solid #e4e6ea;text-align:left;vertical-align:top}.adminRow{cursor:pointer}.adminDetail pre,.adminRow:hover{background:rgba(127,127,127,.12)}.adminDetail pre{white-space:pre-wrap;max-height:320px;overflow:auto;padding:10px;border-radius:8px;font-size:12px}.betaTurns{font-size:13px;color:#697383;white-space:nowrap}.betaTurns b{color:#f26861;font-size:15px}.betaTurns.low b{color:#e5484d}.adminHead{display:flex;align-items:center;gap:12px;margin-bottom:12px}.adminHead h1,.adminHead h2{margin:0}.adminHead .btn:first-of-type{margin-left:auto}.adminCards{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));grid-gap:10px;gap:10px;margin-bottom:24px}.adminCards>*{display:grid;grid-gap:4px;gap:4px;padding:12px 14px;border:1px solid #e4e6ea;border-radius:10px;background:#fff;color:inherit;text-decoration:none}.adminCards small{color:#838995}.adminCards b{font-size:24px}.adminCards .hot{border-color:#f26861;background:#fff5f4}.adminCards .hot b{color:#f26861}.adminPage section{margin-bottom:32px}.adminPage h2 small{font-size:12px;font-weight:400;color:#9298a1;margin-left:8px}.adminToggle{font-size:12px;font-weight:400;margin-left:10px}.adminFeedback.read{opacity:.55}.adminFeedback details pre{margin-top:6px}.adminActions{display:flex;gap:6px;margin-top:8px}.adminOpen{padding:4px 10px}.adminMsg{white-space:pre-wrap;max-width:520px}.adminEmpty{color:#9298a1}.adminDrop{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));grid-gap:24px;gap:24px}.adminDrop h3{font-size:14px}.adminBar{display:grid;grid-template-columns:minmax(100px,1.4fr) 2fr 48px;align-items:center;grid-gap:8px;gap:8px;margin:6px 0;font-size:13px}.adminBar i{height:12px;border-radius:6px;background:#f26861;min-width:2px}.adminBar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.adminPanel{width:min(960px,100%);max-height:90vh;overflow:auto;padding:20px;border-radius:14px;background:#fff;color:#252b35}.adminUa{font-size:11px}.adminUa,.adminWho.muted{color:#9298a1}.adminTag{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:6px;font-size:11px;font-style:normal;font-weight:700;background:#eef0f3;color:#596273}.adminTag.kakao{background:#FEE500;color:#3c1e1e}.adminTag.google{background:#e8f0fe;color:#1a56c4}.adminTag.bot{background:#fde8e8;color:#c0392b}.adminTag.off{background:#555;color:#fff}.adminFlag{padding:8px 10px;border-radius:8px;background:#fff5f4}.adminSave{padding:10px 0;border-top:1px solid #eee}.adminLog{white-space:pre-wrap;max-height:420px;overflow:auto;padding:10px;border-radius:8px;background:#f6f7f9;font-size:12px}.adminFind{margin-left:8px;padding:4px 8px;border:1px solid #e4e6ea;border-radius:6px;font-size:12px}.sellJunk{margin-top:8px;width:100%;font-size:13px}.vnSkip{position:absolute;right:5%;top:10px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:14px;padding:3px 10px;font-size:12px;cursor:pointer;z-index:2}.characterTabs .newDot{top:-4px;right:-4px;width:10px;height:10px;border-width:1px}.characterTabs .newDot:before{content:none}.characterTabs .newDot:after{animation-name:newDotRingSmall}@keyframes newDotRingSmall{0%{transform:scale(1);opacity:.9}to{transform:scale(1.8);opacity:0}}.sceneTopBar{flex-wrap:nowrap}.sceneLocation{min-width:0;flex:0 1 auto}.sceneLocation>b{min-width:0;overflow:hidden;text-overflow:ellipsis}.sceneQuestNow p b{margin-right:6px;color:#f26861}.encounterWho{margin:0 0 8px;text-align:center;font-size:14px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}.statusPortrait{transition:filter .3s,border-color .3s,box-shadow .3s}.statusPortrait.mood-tense{border-color:#ef4444;box-shadow:0 0 0 2px rgba(239,68,68,.35);filter:saturate(1.15) contrast(1.1)}.statusPortrait.mood-hurt{border-color:#f59e0b;filter:saturate(.7) brightness(.92)}.statusPortrait.mood-dead{filter:grayscale(1) brightness(.6)}.cutInMe img{filter:saturate(1.15) contrast(1.08)}.partyWhy{margin:6px 0 10px;font-size:13px;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:7px 10px}.diceSkipHint{display:block;margin-top:6px;font-size:11.5px;color:#6b7280;text-align:center}@media(min-width:1101px){.sceneBody:has(>.talkPanel){max-height:82%}.playPage .sceneBody .talkPanel .talkThread{min-height:min(230px,34vh)}}.playPage .talkPanel .talkSuggestions{flex:none;max-height:38%;overflow-y:auto}.playPage .talkPanel .talkSuggestions button{padding:5px 11px;font-size:12.5px}@media (max-width:760px){.playPage .sceneBody .talkPanel .talkThread{min-height:140px}}.combatActions{display:flex;gap:8px;flex-wrap:wrap}.combatActions .btn{font-size:13px;padding:6px 12px}.stageMapWhole{position:absolute;right:12px;bottom:10px;z-index:7;padding:5px 12px;border:1px solid rgba(255,255,255,.3);border-radius:14px;background:rgba(20,22,30,.72);color:#f4f5f8;font-size:12px;font-weight:700;cursor:pointer}.stageMapWhole:hover{border-color:#f5c542}@media(min-width:1101px){.sceneBody:has(>.talkPanel){width:min(620px,56%)}.sceneNpcs.sceneTalking{bottom:0;height:88%;justify-content:space-between;padding:0 1%}.sceneNpcs.sceneTalking .sceneNpc{flex:0 0 21%}.sceneNpcs.sceneTalking .sceneNpcDim{display:none}}@media(max-width:520px){.vnSkip{top:2px}}.loginGate{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(12,14,20,.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.loginCard{width:min(380px,100%);border-radius:18px;overflow:hidden;background:#fff;color:#1d2330;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.4);animation:loginIn .35s ease-out}@keyframes loginIn{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}.loginHero{height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(145deg,#fce6e2,#f7bdb5 55%,#d8a7ba);color:#fff}.loginMark{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}.loginEyebrow{font-size:11px;font-weight:800;letter-spacing:3px}.loginBody{padding:24px 24px 26px}.loginCard h2{margin:0 0 10px;font-size:24px;font-weight:800;letter-spacing:-.5px}.loginCard h2 strong{font-weight:600;color:#f26861}.loginCard p{margin:0 0 16px;font-size:14px;color:#596273;line-height:1.6}.loginPerks{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin-bottom:20px}.loginPerks span{background:#fff0ee;color:#e0625c;border-radius:20px;padding:6px 11px;font-size:12px;font-weight:700}.loginPerks b{font-weight:800}.googleLogin,.kakaoLogin{position:relative;display:flex;align-items:center;justify-content:center;height:48px;padding:0 16px;border-radius:12px;font-size:15px;font-weight:700;text-decoration:none;transition:filter .15s,background .15s,transform .1s}.googleLogin svg,.kakaoLogin svg{position:absolute;left:18px}.googleLogin:active,.kakaoLogin:active{transform:scale(.985)}.kakaoLogin{background:#FEE500;color:rgba(0,0,0,.85)}.kakaoLogin:hover{filter:brightness(.96)}.googleLogin{margin-top:10px;border:1px solid #dadce0;background:#fff;color:#1f1f1f}.googleLogin:hover{background:#f6f8fa}.loginCard .loginNote{margin:14px 0 0;color:#e5484d}.betaToggle{display:inline-flex;align-items:center;gap:6px;margin-left:auto;font-size:13px;color:var(--muted,#888);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.betaToggle input{width:16px;height:16px;cursor:pointer}.loadingHero{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;padding:46px 20px 38px;margin-bottom:34px;border-radius:20px;color:#fff;background:radial-gradient(120% 90% at 50% 0,#ff9d8f 0,#f26861 38%,#b9507a 72%,#5a3a6e 100%);box-shadow:0 18px 50px rgba(185,80,122,.28)}.loadingHero:before{content:"";position:absolute;inset:0;background:radial-gradient(2px 2px at 12% 30%,#fff9 50%,transparent 51%),radial-gradient(2px 2px at 78% 22%,#fff8 50%,transparent 51%),radial-gradient(1.5px 1.5px at 30% 75%,#fff7 50%,transparent 51%),radial-gradient(1.5px 1.5px at 88% 68%,#fff9 50%,transparent 51%),radial-gradient(2px 2px at 55% 12%,#fff6 50%,transparent 51%);animation:loadingTwinkle 3s ease-in-out infinite;pointer-events:none}.loadingRune{position:relative;width:112px;height:112px;display:grid;place-items:center;margin-bottom:18px}.loadingRing{position:absolute;inset:0;border-radius:50%;border:2px dashed rgba(255,255,255,.55);animation:loadingSpin 9s linear infinite}.loadingRing.two{inset:14px;border-color:#fff rgba(255,255,255,.5) transparent transparent;border-style:solid;border-width:2px;animation-duration:1.4s}.loadingDie{width:66px;height:66px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 0 28px rgba(255,255,255,.35);animation:loadingRoll 2.4s cubic-bezier(.5,0,.3,1) infinite}.loadingEyebrow{font-size:11px;font-weight:800;letter-spacing:3px;opacity:.85;margin-bottom:8px}.loadingHero h1{font-size:28px;letter-spacing:-1px;margin:0 0 10px;text-shadow:0 2px 12px rgba(0,0,0,.18)}.loadingLines{position:relative;height:22px;width:100%;margin:0 0 20px;font-size:14px}.loadingLines span{position:absolute;left:0;right:0;opacity:0;animation:loadingLine 8s infinite}.loadingLines span:nth-child(2){animation-delay:2s}.loadingLines span:nth-child(3){animation-delay:4s}.loadingLines span:nth-child(4){animation-delay:6s}.loadingBar{width:min(320px,80%);height:6px;border-radius:99px;background:rgba(255,255,255,.25);overflow:hidden}.loadingBar span{display:block;width:40%;height:100%;border-radius:inherit;background:linear-gradient(90deg,transparent,#fff,transparent);animation:loadingSweep 1.3s ease-in-out infinite}.skeletonCard{animation:loadingFade 1.6s ease-in-out infinite}.skeletonCard .gameCover,.skeletonCard i{background:linear-gradient(100deg,#f3e8e5 30%,#fbf3f1 50%,#f3e8e5 70%);background-size:300% 100%;animation:loadingShimmer 1.4s linear infinite}.skeletonCard i{display:block;height:12px;border-radius:6px;margin-bottom:10px}.skeletonCard i:first-child{width:62%;height:16px}.skeletonCard i:last-child{width:40%;margin:0}@keyframes loadingSpin{to{transform:rotate(1turn)}}@keyframes loadingRoll{0%{transform:rotate(0) scale(1)}35%{transform:rotate(200deg) scale(.86)}55%{transform:rotate(1turn) scale(1.08)}70%,to{transform:rotate(1turn) scale(1)}}@keyframes loadingLine{0%,to{opacity:0;transform:translateY(8px)}22%,5%{opacity:1;transform:none}27%{opacity:0;transform:translateY(-8px)}}@keyframes loadingSweep{0%{transform:translateX(-110%)}to{transform:translateX(260%)}}@keyframes loadingShimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes loadingFade{0%,to{opacity:1}50%{opacity:.7}}@keyframes loadingTwinkle{0%,to{opacity:.5}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.loadingBar span,.loadingDie,.loadingHero:before,.loadingLines span,.loadingRing,.skeletonCard,.skeletonCard .gameCover,.skeletonCard i{animation:none}.loadingLines span:first-child{opacity:1}}