#minecraft-auth-dialog{box-sizing:border-box;width:min(450px,calc(100vw - 28px));padding:26px;border:1px solid #526079;border-radius:16px;background:#19232f;color:#eef2fb}
#minecraft-auth-dialog::backdrop{background:#07111ccc;backdrop-filter:blur(5px)}
.mc-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.mc-dialog-heading h2{font-size:23px;line-height:1.3;margin:0}.mc-dialog-heading button{flex-shrink:0}
#mc-auth-content{display:flex;flex-direction:column;gap:14px;min-width:0}#mc-auth-content form{display:flex;flex-direction:column;gap:16px}#mc-auth-content label{display:grid;gap:8px;font-size:14px;color:#c6d4e5}
#mc-auth-content input,#mc-auth-content textarea{width:100%;box-sizing:border-box;padding:13px 12px;background:#0d1825;border:1px solid #49617b;color:#eff6ff;border-radius:9px;font-size:16px}#mc-auth-content textarea{font:14px/1.7 monospace;overflow-wrap:anywhere;resize:none}
#mc-auth-content button{min-height:48px;border-radius:9px;justify-content:center;font-size:15px}#mc-auth-content button.primary{background:#27dfa0;color:#063728;border-color:#73f3c3}
#mc-auth-content small,.mc-intro,.mc-payment-note{font-size:13px;line-height:1.65;color:#b3c5da;margin:0}#mc-auth-content button[hidden],.mc-auth-alternatives button[hidden]{display:none}
.mc-player-confirm{display:flex;flex-direction:column;align-items:center;gap:14px;padding:20px 0}.mc-player-confirm img{border-radius:12px;image-rendering:pixelated;background:#30465b;box-shadow:0 7px 24px #0003}.mc-player-confirm strong{font-size:22px}.mc-player-confirm p{margin:0;color:#bdcde0;font-size:15px}
.mc-payment-amount{display:flex;flex-direction:column;align-items:center;gap:10px;padding:10px 0}.mc-payment-amount strong{font-size:48px;line-height:1;color:#4af0b6;font-variant-numeric:tabular-nums}.mc-payment-amount>span{font-size:16px;color:#d3e1f3}.mc-payment-player{font-size:13px;text-align:center;color:#afc3da;margin:0}
.mc-command{display:flex;gap:8px;align-items:center}.mc-command input{min-width:0;font-family:monospace!important;font-size:13px!important}.mc-command button{background:#31495e;color:#d6e8f6;border:1px solid #637f9c;padding:10px 14px;min-height:46px!important}
.mc-waiting{display:flex;align-items:center;gap:9px;padding:13px 0;color:#cbdced;font-size:13px}.mc-waiting small{margin-left:auto}.mc-dot{width:8px;height:8px;border-radius:50%;background:#43deb2;box-shadow:0 0 12px #43deb240}
.mc-offline{background:#483424;border:1px solid #a4774677;border-radius:9px;padding:13px;font-size:13px;line-height:1.6;color:#ffddb5;margin:0}.mc-auth-alternatives{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;border-top:1px solid #607a9444;padding-top:17px;margin-top:16px}.mc-auth-alternatives button{border:0;padding:6px;background:none;color:#b8a4ee;font-size:13px;cursor:pointer;text-decoration:underline}
#mc-auth-message{font-size:13px;line-height:1.6;color:#c3d6eb;margin:15px 0 0}#mc-auth-message:empty{display:none}
@media(max-width:450px){#minecraft-auth-dialog{padding:21px}.mc-dialog-heading h2{font-size:21px}.mc-command{flex-wrap:wrap}.mc-command input{flex:1 1 230px}.mc-command button{flex:1}}
/* Equal account-method choices, with email first. */
.mc-methods{display:flex;flex-direction:column;gap:14px}
#mc-auth-content .mc-method{display:flex;align-items:center;justify-content:flex-start;gap:16px;width:100%;min-height:88px;padding:18px 16px;text-align:left;background:#26374a;border:1px solid #617990;border-radius:12px;color:#f1f7ff;box-shadow:none;cursor:pointer;transition:background .15s,border-color .15s}
#mc-auth-content .mc-method:hover{background:#30495c;border-color:#73e2bd}
#mc-auth-content .mc-method:focus-visible{outline:3px solid #81f3ce;outline-offset:3px}
.mc-method-icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:10px;background:#36536a;color:#7be5c5;font-size:27px;font-weight:700}
.mc-method>span:nth-child(2){flex:1;min-width:0}.mc-method strong{display:block;font-size:17px;font-weight:700;line-height:1.4}.mc-method small{display:block;margin-top:5px!important;font-size:13px!important;color:#c1d0e1!important}.mc-method>b{font-size:22px;color:#a9bfd5;font-weight:500}
#auth-method-choice{width:100%;min-height:44px;margin-top:18px;font-size:14px;justify-content:center;background:#26374a;color:#d4e4f3;border:1px solid #617990;box-shadow:none}
#auth-method-choice[hidden]{display:none}

.mc-method-icon svg{width:30px;height:30px;display:block}
