/* Märchenpfad V131c: Integration als Profil-/Menüeintrag, keine Floating-Buttons. */
/* Fester Eintrag im vorhandenen Profil oder der Hallennavigation. */
.mp131-menu-button{position:relative!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;margin:7px 4px;border:1px solid #f6d88a;border-radius:13px;color:#ffe8a6;background:linear-gradient(135deg,#42164f,#160c36 68%,#281031);box-shadow:0 4px 15px #0006;font:700 13px/1.1 system-ui,sans-serif;cursor:pointer;vertical-align:middle;white-space:nowrap;flex-shrink:0}
.mp131-menu-button:hover,.mp131-menu-button:focus-visible{filter:brightness(1.17);box-shadow:0 0 19px #d6a44c77}
.mp131-menu-button .mp131-count{min-width:18px;border-radius:11px;background:#e3a744;color:#251230;padding:3px 5px;font-weight:900;text-align:center}
.mp131-menu-button .mp131-count[hidden],#mp131-root[hidden],#mp131-root [hidden]{display:none!important}
.mp131-profile-entry{margin:14px auto 5px;max-width:95%;width:max-content}
.mp131-nav-entry{margin-inline:5px}
#mp131-root{position:fixed;inset:0;z-index:2147483000;color:#fff1d0;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.4}
#mp131-root *{box-sizing:border-box}
#mp131-root .mp131-shade{position:absolute;inset:0;background:rgba(4,3,14,.83);backdrop-filter:blur(8px)}
#mp131-root .mp131-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 22px));max-height:min(790px,calc(100dvh - 24px));display:flex;flex-direction:column;overflow:hidden;border:2px solid #ae874f;border-radius:25px 25px 19px 19px;background:radial-gradient(ellipse at 50% -15%,#573073 0%,#26123c 44%,#120c25 90%);box-shadow:0 0 65px #000,0 0 50px #bb75f133,inset 0 0 50px #d99d3010}
#mp131-root .mp131-header{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 50px 14px;text-align:center;border-bottom:1px solid #d0aa5b60;background:linear-gradient(180deg,#8b4ca71a,transparent)}
#mp131-root .mp131-crown{font-size:30px;color:#ffd98d;text-shadow:0 0 15px #ffc46a}
#mp131-root .mp131-header small{font-size:10px;font-weight:800;letter-spacing:3px;color:#be9c64}
#mp131-root .mp131-header h2{font:bold clamp(22px,5vw,30px)/1.1 Georgia,serif;letter-spacing:.4px;color:#ffe6a5;margin:3px 0;text-shadow:0 2px 12px #000}
#mp131-root .mp131-close{position:absolute;right:13px;top:11px;background:#ffffff17;border:1px solid #c89e6470;color:#ffeca9;border-radius:50%;font-size:25px;width:35px;height:35px;cursor:pointer}
#mp131-root .mp131-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:9px 10px;border-bottom:1px solid #daa95529;background:#120b22a3}
#mp131-root .mp131-tabs button{border:1px solid transparent;background:transparent;color:#c6afce;border-radius:11px;padding:9px 3px;font:700 12px system-ui;cursor:pointer}
#mp131-root .mp131-tabs button.selected{color:#281931;background:linear-gradient(#ffe9ae,#be914c);border-color:#fbe5a7;box-shadow:0 1px 12px #d79f6a5e}
#mp131-root .mp131-content{overflow-y:auto;flex:1;min-height:180px;padding:10px 15px 24px;scrollbar-color:#9e7b51 transparent;overscroll-behavior:contain}
#mp131-root h3{display:flex;justify-content:space-between;align-items:center;color:#ffe7b2;font:bold 17px Georgia,serif;margin:18px 4px 12px}
#mp131-root h3 em{font:800 12px system-ui;background:#af854f33;border:1px solid #a88b59;border-radius:100px;padding:3px 10px}
#mp131-root .mp131-person{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;margin:7px 0;background:linear-gradient(105deg,#3d244c9c,#1b112eae);border:1px solid #bda47740;border-radius:14px}
#mp131-root .mp131-avatar{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border-radius:50%;border:2px solid #e2bb76;background:radial-gradient(circle at 30% 30%,#9157b7,#48275e 65%);color:#ffebad;font:bold 22px Georgia,serif}
#mp131-root .mp131-person-main{flex:1;min-width:115px;overflow:hidden}
#mp131-root .mp131-person-main b{display:block;font-size:14px;word-break:break-word;color:#fff2cb}
#mp131-root .mp131-person-main small{display:block;margin-top:2px;color:#c8b7c6;font-size:11px}
#mp131-root .mp131-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:100%}
#mp131-root .mp131-center{justify-content:center}
#mp131-root .mp131-btn{border:1px solid #93799b;background:linear-gradient(#513559,#301f44);color:#f9e7f8;border-radius:10px;padding:8px 11px;font:700 11px system-ui;cursor:pointer;white-space:nowrap}
#mp131-root .mp131-btn.gold{color:#332033;border-color:#ffeeb5;background:linear-gradient(#fff2bb,#c99542);box-shadow:inset 0 1px 0 #fff8df}
#mp131-root .mp131-btn.danger{color:#ffd6d8;border-color:#a45169;background:#432037}
#mp131-root .mp131-btn:hover{filter:brightness(1.18)}
#mp131-root .mp131-empty{text-align:center;margin:15px 0 24px;padding:24px 12px;color:#ccb4ce;border:1px dashed #b2947b70;border-radius:14px;font-size:24px}
#mp131-root .mp131-empty p{margin:5px 0;font-size:13px}
#mp131-root .mp131-empty code{display:inline-block;margin-top:6px;color:#ffd893;background:#ffffff14;padding:1px 5px;border-radius:5px}
#mp131-root .mp131-error{border-color:#d6a65f;background:linear-gradient(180deg,#3f2334cc,#1b1329f0)}
#mp131-root .mp131-tip{font-size:11px;color:#d2c2cb;max-width:420px;margin:10px auto 0}
#mp131-root .mp131-muted{margin:13px 4px;font-size:12px;color:#b7a4ba}
#mp131-root .mp131-flash{min-height:0;color:#ffd18f;text-align:center;font-size:12px;padding:0 18px}
#mp131-root .mp131-flash:not(:empty){padding:10px 18px;background:#e8c77722}
#mp131-root .mp131-flash.bad{color:#ffbab4}
#mp131-root .mp131-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;color:#b8a3bd;font-size:11px;background:#100a20;border-top:1px solid #cda9654a}
#mp131-root .mp131-footer button{border:1px solid #f3dca0;border-radius:8px;background:#c69b4b;color:#261933;padding:7px 8px;cursor:pointer;font-size:11px;font-weight:700}
#mp131-root .mp131-search{display:flex;gap:8px;padding:0 2px 12px}
#mp131-root .mp131-search input{flex:1;min-width:0;border:1px solid #bfa469;border-radius:11px;padding:10px 12px;color:#fff0c2;background:#100c25;font:13px system-ui}
#mp131-root.mp131-busy button{opacity:.68;pointer-events:none}
@media(max-width:640px){.mp131-menu-button{padding:8px 10px;font-size:11px;max-width:100%;white-space:normal}#mp131-root .mp131-dialog{max-height:calc(100dvh - 12px);width:calc(100vw - 12px)}#mp131-root .mp131-person{gap:8px}#mp131-root .mp131-actions{flex-basis:100%;max-width:none;justify-content:flex-start;margin-left:52px}#mp131-root .mp131-tabs button{font-size:11px}#mp131-root .mp131-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.mp131-menu-button{transition:none}}
