.journey-modes{display:flex;gap:8px;margin:10px 0}.journey-modes[hidden]{display:none}.journey-modes button{flex:1;min-height:44px;border:1px solid #65717c;border-radius:8px;background:#111923;color:#eee9df}.journey-modes button[aria-pressed=true]{border-color:#e4cc8f;background:#27303a}.path-world[data-mastered=true] .path-status{color:#edc74e}.path-worlds[data-journey=mastery]{display:flex;flex-direction:column-reverse;gap:8px}.path-worlds[data-journey=mastery] .path-world{display:grid;grid-template-columns:64px 1fr 90px;align-items:center;text-align:left}.path-worlds[data-journey=mastery] .path-status{grid-column:2}.path-worlds[data-journey=mastery] .path-actions{grid-column:3;grid-row:1 / 3}.path-worlds[data-journey=mastery] .path-shape{grid-row:1 / 3}.mastery-ending{position:fixed;padding:0;overflow:auto;background:#000;color:#f4eee4;max-width:520px;width:calc(100vw - 24px);height:calc(100dvh - 32px);max-height:100dvh;border:1px solid #3f4854;border-radius:16px}.ending-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;pointer-events:none}.ending-content{position:relative;z-index:1;box-sizing:border-box;min-height:100%;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:32px 24px;background:linear-gradient(#000b,#0004 65%,#0009);font:16px/1.6 system-ui}.ending-content h2{font-size:36px;margin:0}.ending-content button{margin-top:16px;min-height:44px}.replay-share{background:#111923;color:#f4eee4;padding:24px;max-width:420px}.replay-share label,.replay-share select{display:block;width:100%;margin:12px 0}.replay-share button,.replay-page button{min-height:44px;margin:4px;padding:8px 14px;background:#27303a;border:1px solid #9b8d6d;border-radius:7px;color:#f4eee4}.replay-page{margin:0;background:#0d121a;color:#f4eee4;font:15px/1.5 system-ui}.replay-page main{max-width:520px;margin:auto;padding:20px}.replay-page h1{font-size:22px}.replay-page svg{display:block;width:100%;height:58dvh;max-height:650px}.replay-page input{width:100%}.replay-page nav{display:flex;flex-wrap:wrap}.replay-page a{color:#e4cc8f}.replay-page small{display:block;margin-top:16px;color:#b6c1cd}.replay-page #replayEvent{min-height:24px}.replay-page strong{font-size:28px}
@media(prefers-reduced-motion:reduce){.mastery-ending *{animation:none!important;transition:none!important}}

.mastery-reward{font-size:80px;text-align:center;line-height:1.2;color:#f4eee4}.mastery-reward.gold{color:#edc74e;text-shadow:1px 2px 0 #806923}

#replayEvent{display:flex;flex-wrap:wrap;gap:12px}#replayEvent>span{display:flex;align-items:center;gap:8px}#replayEvent img{width:38px;height:38px}
