#world-hud #notice-medals{position:absolute;right:clamp(44px,2.9vw,56px);bottom:clamp(86px,11.8vh,120px);display:flex;align-items:center;gap:3px;pointer-events:none}
#world-hud #notice-medals button{pointer-events:auto;width:36px;height:36px;padding:0;border:0;border-radius:0;box-shadow:none;background-color:transparent;background-repeat:no-repeat;cursor:pointer}
#world-hud #notice-medals button[hidden]{display:none!important}
#world-hud #notice-medals #class-transfer-medal{width:32px;background-image:url(class-transfer/medal.webp);background-position:center;background-size:26px auto}
#world-hud #class-transfer-medal:hover,#world-hud #class-transfer-medal:focus-visible{filter:brightness(1.22)}
#world-hud #notice-medals :is(#ability-medal,#olympiad-medal){background-size:108px 36px;background-position:left center}
#world-hud #ability-medal{background-image:url(notice-medals/ability.webp)}
#world-hud #olympiad-medal{background-image:url(notice-medals/olympiad.webp)}
#world-hud #notice-medals :is(#ability-medal,#olympiad-medal):is(:hover,:focus-visible){background-position:center}
#world-hud #notice-medals :is(#ability-medal,#olympiad-medal):active{background-position:right center}
.sp-class-transfer{width:min(706px,calc(100vw - 6px));height:min(702px,calc(100dvh - 6px));padding:3px 5px 5px;color:#dfd7c7;background-color:#2a2824}
.sp-class-transfer .sp-head{flex:0 0 35px;font-size:14px}
.sp-class-transfer .sp-body{position:relative;align-items:stretch;gap:3px;padding-top:1px;overflow:hidden}
.ct-frame{min-height:0;display:flex;flex-direction:column;flex:1;gap:0;padding:11px 13px 9px;border:1px solid #463f35;box-shadow:inset 0 0 0 3px #292622;background-color:#25231f}
.ct-preview{position:relative;flex:0 1 248px;min-height:110px;overflow:hidden;border:1px solid #584e3d;box-shadow:0 0 0 2px #201d19,inset 0 0 7px #000;background:#191714}
.ct-preview-head{position:absolute;z-index:1;top:0;left:0;right:0;height:25px;display:flex;align-items:center;gap:2px;background:linear-gradient(#19160bef,#17140d6b,transparent);color:#f0dbac}
.ct-mark{display:block;flex:none;width:32px;height:32px;background:transparent url(class-transfer/marks.webp) 0 0 no-repeat}.ct-no-mark{background:none}
.ct-art{height:100%;background-position:center;background-size:100% 100%;background-repeat:no-repeat;box-shadow:inset 0 0 16px 6px #15120f}
.ct-copy{position:absolute;top:16%;left:2.5%;max-width:37%;max-height:76%;overflow:auto;color:#eee;text-shadow:0 1px 3px #000}
.ct-copy h3{color:#f5d637;margin:0 0 12px;font:20px Tahoma,Arial,sans-serif}.ct-copy p{margin:0;font-size:12px;line-height:1.42;white-space:pre-line}
.ct-pages{position:absolute;bottom:6%;right:2.5%;display:flex;gap:0}.sp-class-transfer .ct-pages button{width:20px;height:20px;border:0;padding:0;background:transparent url(class-transfer/dot-off.webp) center/14px 14px no-repeat}
.sp-class-transfer .ct-pages button[aria-pressed=true]{background-image:url(class-transfer/dot-on.webp)}
.ct-tree-box{margin-top:16px;min-height:62px;flex:1;display:flex;overflow:auto;align-items:safe center;border:1px solid #332e28;background:#221f1c;scrollbar-width:thin}
.ct-tree{--ct-gap:20px;--ct-step:48px;display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(var(--ct-rows),var(--ct-step));column-gap:var(--ct-gap);padding:4px 7px;align-items:center}
.ct-cell{position:relative;min-width:0}.sp-class-transfer .ct-job{width:100%;height:43px;position:relative;display:flex;align-items:center;justify-content:center;padding:0 5px 0 clamp(19px,2.2vw,32px);border:0;color:#a99b7c;font:12px Tahoma,Arial,sans-serif;background:transparent url(class-transfer/first.webp) center/100% 100% no-repeat;text-shadow:0 1px 2px #111}
.sp-class-transfer .ct-job[data-stage="2"]{background-image:url(class-transfer/second.webp)}.sp-class-transfer .ct-job[data-stage="3"]{background-image:url(class-transfer/third.webp)}
.sp-class-transfer .ct-job:not(.ct-available):not([aria-pressed=true]){filter:brightness(.73)}.sp-class-transfer .ct-job.ct-available{color:#f4deb0}
.sp-class-transfer .ct-job[aria-pressed=true]{color:#fff0bf;outline:1px solid #d4ae6f;outline-offset:-3px;filter:brightness(1.22)}
.ct-job .ct-mark{position:absolute;left:3px;transform:scale(.83);transform-origin:center;filter:sepia(.5)}
.ct-arrow{position:absolute;top:50%;right:100%;width:var(--ct-gap);height:12px;transform:translateY(-50%);background:url(class-transfer/arrow.webp) center/100% 100% no-repeat;pointer-events:none}
.ct-branch{position:absolute;right:calc(100% + var(--ct-gap) / 2);bottom:50%;height:calc(var(--ct-span)*var(--ct-step));border-left:2px ridge #a29275;pointer-events:none}
.ct-branch+.ct-arrow{width:calc(var(--ct-gap) / 2 + 3px)}
.ct-hint,.ct-no-options{text-align:center;margin:0;padding:4px;color:#b4afa5;font:11px Tahoma,Arial,sans-serif}.ct-no-options{grid-column:1/-1}
.sp-class-transfer .ct-change{align-self:center;position:relative;min-height:30px;width:172px;font-size:12px;padding:3px 24px;background-image:url(class-transfer/change.webp),url(social-post/button.webp);background-size:20px 23px,100% 100%;background-position:6px center,center;background-repeat:no-repeat}
.ct-shade{position:absolute;inset:0;display:grid;place-items:center;background:#100e0ba8;z-index:3}
.ct-confirm{width:min(315px,92%);padding:10px;border:1px solid #84765f;background:#29251e url(social-post/frame.webp) center/100% 100%;box-shadow:0 3px 15px #000;text-align:center}
.ct-confirm h3{font:14px Tahoma,Arial,sans-serif;color:#e1c794;margin:3px}.ct-confirm p{margin:15px 0}.ct-confirm div{display:flex;justify-content:center;gap:5px}.ct-confirm button{min-width:85px}
@media(max-width:590px){.ct-frame{padding:5px}.ct-preview{flex-basis:185px}.ct-copy{max-width:48%}.ct-copy h3{font-size:16px}.ct-copy p{font-size:11px}.ct-tree{--ct-gap:9px;--ct-step:44px;padding:3px 1px}.sp-class-transfer .ct-job{height:40px;font-size:10px;padding:0 3px 0 17px}.ct-job .ct-mark{left:-6px;transform:scale(.55)}.ct-tree-box{margin-top:6px}}
@media(max-height:560px){.sp-class-transfer .sp-head{flex-basis:27px}.ct-preview{flex-basis:31%;min-height:90px}.ct-tree-box{margin-top:4px}.ct-tree{--ct-step:34px}.sp-class-transfer .ct-job{height:31px}.ct-copy h3{margin-bottom:3px}.ct-copy{top:22%}.ct-frame{padding-top:3px;padding-bottom:2px}}
html.mobile-hud #world-hud #notice-medals{bottom:calc(var(--safe-bottom,0px) + 108px);right:8px}

.ct-frame{position:relative;isolation:isolate}
.ct-frame:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border:36px solid transparent;border-image:url(class-transfer/rim.webp) 36 stretch}
@media(min-height:680px) and (min-width:591px){.ct-tree{padding-top:16px}.ct-hint{transform:translateY(-4px)}}
.sp-class-transfer .ct-job[data-stage="1"][aria-pressed=true]{background-image:url(class-transfer/active.webp)}
