.library-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.library-tabs button{min-width:0;padding:12px 7px}.library-searchbar #library-study-category{width:150px}.library-section #study-board{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));width:100%;max-width:560px;aspect-ratio:1;border:4px solid #b7a2ae;touch-action:manipulation;box-shadow:0 5px 20px #0006}.study-square{position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;background:#4b5663}.study-square.dark{background:#202a35}.study-square .unit-art{width:95%;height:95%}.study-square.origin{box-shadow:inset 0 0 0 2px #e8bd8f}.study-square.destination{box-shadow:inset 0 0 0 3px #ffe0ad;background:#6b5062}.study-square.study-arriving>.unit-art,.study-square.study-arriving>.unit-badge{visibility:hidden}.study-rank,.study-file{position:absolute;color:#f4e7d8;text-shadow:0 1px 2px #000;font:11px/1.2 Consolas,monospace;pointer-events:none}.study-rank{left:3px;top:3px}.study-file{right:3px;bottom:2px}.study-fx{position:absolute;inset:0;z-index:4;pointer-events:none}.study-fly{position:absolute;width:12.5%;height:12.5%;display:flex;align-items:center;justify-content:center}.study-fly .unit-art{width:95%;height:95%}.study-fly .unit-badge{display:none}.study-nav{display:grid;grid-template-columns:.6fr 1fr 1.25fr 1fr .6fr;gap:7px;margin:16px 0;max-width:560px}.library-section .study-nav button{min-width:0;padding:11px 4px;font-size:13px;min-height:44px}.study-nav button[aria-pressed=true]{border-color:#f0c2d7;background:linear-gradient(#63334ff0,#63334ff0),url('assets/ai-button.webp') center/cover}
#study-step-label{display:block;font-size:14px;line-height:1.8;color:#f2d6b5;margin:12px 0 7px}#study-step{display:block;width:100%;max-width:560px;min-height:30px;accent-color:#eab1ce;cursor:pointer}.library-section #study-speed{min-height:42px;margin:12px 0 10px;padding:10px 13px;background:#142238!important;color:#f6e5ee!important;border:1px solid #a38a9e!important;border-radius:4px;font-size:14px}.library-section label[for=study-speed]{font-size:13px;color:#d9c2d5;margin-right:10px}#study-summary,#study-plan,#study-mistake{font-size:15px;line-height:2;color:#e9dce6;margin:12px 0 18px}#study-current{font-size:14px;line-height:1.8;color:#f3d3ae;margin:12px 0}.study-comment{padding:15px 17px;border:1px solid #87b5c466;border-left:3px solid #a2e1ef;border-radius:5px;background:#172537;margin:18px 0}#library-detail .study-comment h4{margin:0 0 9px;font-size:16px;color:#bdebf3}#study-comment{font-size:16px;line-height:2;color:#f0e3ed;margin:0}#study-mistake{border-left:3px solid #d4a587;padding:12px 15px;background:#34233566}#study-line{font:14px/2 Consolas,'Microsoft YaHei',monospace;overflow-wrap:anywhere;color:#e9d7e6}#study-board:focus-visible{outline:3px solid #ffe0ad;outline-offset:4px}
@media(max-width:650px){.library-tabs{gap:6px}.library-tabs button{padding:11px 4px;font-size:13px;min-height:46px}.study-nav{gap:5px}.library-section .study-nav button{font-size:12px}.study-comment{padding:13px}.study-rank,.study-file{font-size:10px}#study-comment{font-size:15px}.library-section #study-speed{font-size:14px}.library-searchbar #library-study-category{width:150px}}

.study-fly{z-index:2}.study-fly.study-victim{z-index:1}

.library-study-help{font-size:15px;line-height:1.9;color:#f2ddbf;background:#182637;border-left:3px solid #a1e3ed;padding:13px 16px;border-radius:4px;margin:15px 0 18px}
