body {
    overflow: hidden;
}

main {
    display: flex;
    margin: auto;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-image: url('./assets/background.png');
    background-repeat: no-repeat;
    /* keep the Windows orb centered on all screen sizes */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif;


}


p,
h1,
h2,
h3 {
    font-family: "Segoe UI", Arial, sans-serif;
}

div#lockScreen {
    background-image: url('./assets/background-lock.png');
    background-repeat: no-repeat;
    /* ensure lock screen logo stays centered */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    position: absolute;
    left: 0px;
    top: 0px;
    min-height: 100vh;
    min-width: 100vw;
    height: 100%;
    width: 100%;
    
    display: flex;
    margin: auto;
    bottom: 0;
    right: 0;
}

img#lockScreenPicture {
    height: 200px;
    cursor: url("./assets//cursors//link.cur"), pointer;

}

.row {
    display: flex;
    align-items: flex-start; /* ensure columns don't stretch vertically */
}

p:not(title-bar-text) {
    margin: 0px;
    margin-top: 15px;
}

.column {
    display: flex;
    align-items: start;
    flex-direction: column;
}

img#buddyLogin {
    width: 150px;
}

p#forgotPassword {
    color: #5077CB;
    margin-left: 10px;
    font-weight: 600;
    cursor: url("./assets//cursors//link.cur"), pointer;
    font-size: 15px;
}

input {
    margin: 0px;
    width: 250px;
    margin-left: 25px;

}

div.title-bar {
    user-select: none;
    cursor: move;
}

div#task-bar {
    bottom: 0;
    position: absolute;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 40px;
    border-top: solid 1px rgba(255, 255, 255, .5);
    -webkit-box-shadow: 0 -1px 0 0 #00506b;
    box-shadow: 0 -1px 0 0 #00506b;
    z-index: 1;
}

#task-bar>#blur-overlay {
    position: absolute;
    top: 0;
    right: -150px;
    bottom: -150px;
    left: -150px;
    background-image: url("https://imyourman.dk/codepen/windows/background.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    z-index: 2;
}

#task-bar>#blur-overlay:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.25) 15%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.6) 85%, rgba(0, 0, 0, 0.6) 100%);
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.25) 15%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.6) 85%, rgba(0, 0, 0, 0.6) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.25) 15%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0.6) 85%, rgba(0, 0, 0, 0.6) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#66000000', endColorstr='#66000000', GradientType=1);
    content: '';
    z-index: 3;
}

#menu-button {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 10px;
    display: block;
    width: 32px;
    height: 32px;
    z-index: 3;
    background-image: url("./assets/start-button.png");
    background-repeat: no-repeat;
    background-size: 100%;
    cursor: url("./assets//cursors//link.cur"), pointer;
}

#pined-items {
    position: absolute;
    top: 0;
    left: 50px;
    bottom: 0;
    display: block;
}

#pined-items>.pined-icon {
    position: relative;
    display: block;
    width: 60px;
    height: 40px;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
    border: solid 1px transparent;
    border-radius: 2px;
    z-index: 3;
}

#datetime {
    position: absolute;
    top: 5px;
    right: 30px;
    z-index: 3;
    text-align: center;
    user-select: none;

}

#datetime>span {
    display: block;
    margin: 0;
    font-size: 9pt;
    color: #fff;
    user-select: none;
}

#show-desktop {
    position: absolute;
    top: 2px;
    right: 0;
    bottom: 0;
    width: 15px;
    background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.2) 31%, rgba(0, 0, 0, 0.2) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.2) 31%, rgba(0, 0, 0, 0.2) 100%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.2) 31%, rgba(0, 0, 0, 0.2) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33ffffff', endColorstr='#33000000', GradientType=1);
    border: solid 1px rgba(255, 255, 255, .2);
    z-index: 3;
    -webkit-box-shadow: -1px 0 0 0 #000;
    box-shadow: -1px 0 0 0 #000;
}

#show-desktop:hover {
    background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.2) 31%, rgba(255, 255, 255, 0.2) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 255.2) 31%, rgba(255, 255, 255, 0.2) 100%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.2) 31%, rgba(255, 255, 255, 0.2) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33ffffff', endColorstr='#33000000', GradientType=1);
    border: solid 1px rgba(255, 255, 255, .2);
}




.icon {

    background-color: rgba(255, 255, 255, 0);
    border-color: rgba(255, 255, 255, 0);
    padding: 1px;
    justify-content: center;
    align-items: center;
    left: 10px;
    user-select: none;
    cursor: url("./assets//cursors//link.cur"), pointer;
}

.icon:hover {
    background-color: rgba(255, 255, 255, .3);
    border-color: rgba(255, 255, 255, .3);
}

.iconHover {
    background-color: rgba(255, 255, 255, .3);
    border-color: rgba(255, 255, 255, .3);
}

.icon img {
    height: 60px;
    user-select: none;
}

.icon p {
    color: white;
    font-size: 20px;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 2px #000;
    text-overflow: clip;
    user-select: none;
    cursor: url("./assets//cursors//link.cur"), pointer;
}

#pined-items>.msnTaskBar {
    background-image: url("./assets/msnLogo.png");
    cursor: url("./assets//cursors//link.cur"), pointer;

}

#pined-items>.ieTaskBar {
    background-image: url("./assets/internetExplorer.png");
    cursor: url("./assets//cursors//link.cur"), pointer;

}

#pined-items>:hover {
    background-color: rgba(255, 255, 255, .3);
    border-color: rgba(255, 255, 255, .3);
}

.screen {
    max-height: 600px;
    max-width: 1000px;
    text-overflow: hide;
    overflow-y: scroll;
    overflow-wrap: break-word;
}

div#aboutMeMsn {
    margin-bottom: 30px;
}

canvas#line {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.267);
}

img#window-icon {
    height: 17px;
    margin: 0px 5px;
}

div.title-bar-title {
    margin: auto;
    margin-left: 5px;
    margin-right: 15px;
}

/* Window base styles */
.window {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #a0a0a0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    min-width: 400px;
    min-height: 300px;
    overflow: hidden;
}

.window:not(.fullscreen) {
    width: 500px;
    height: 400px;
    top: 100px;
    left: 100px;
}

.window.fullscreen {
    width: 900px;
    height: 600px;
    top: 50px;
    left: 50px;
}

#iexplorer-wiki.fullscreen {
    width: 1000px;
    height: 700px;
    top: 30px;
    left: 30px;
}

img.icon {
    height: 30px;
    margin: 5px;
}

.icon {
    cursor: url("./assets//cursors//link.cur"), pointer;
}

/* Internet Explorer Toolbar Styles */
.ie-toolbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
    border-bottom: 1px solid #a0a0a0;
    gap: 8px;
    margin: 0;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    height: 36px;
}

.ie-toolbar .left-controls,
.ie-toolbar .right-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ie-toolbar .right-controls {
    margin-left: 12px;
}

.ie-toolbar .icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.url-container {
    flex: 1 1 50%;
    margin: 0 12px;
    min-width: 180px;
    max-width: 100%;
}

.url-container input.url {
    width: 100%;
    padding: 4px 8px;
    border: 2px inset #f0f0f0;
    background: white;
    font-size: 12px;
    font-family: "Segoe UI", Arial, sans-serif;
    box-sizing: border-box;
    height: 22px;
}

.search-container {
    width: 180px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
}

.search-container .search-input {
    width: 100%;
    padding: 4px 24px 4px 8px;
    border: 2px inset #f0f0f0;
    background: white;
    font-size: 12px;
    font-family: "Segoe UI", Arial, sans-serif;
    box-sizing: border-box;
    height: 22px;
}

.search-container::after {
    content: "🔍";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    pointer-events: none;
    z-index: 1;
}

/* Internet Explorer Content Area */
.ie-content {
    height: calc(100% - 80px) !important; /* Adjust for title bar and toolbar */
    width: 100% !important;
    overflow: auto;
    margin: 0;
    padding: 16px;
    background: white;
}

/* Fix window body for IE */
#iexplorer-wiki .window-body {
    height: calc(100% - 80px);
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
}

img#goFoward {
    rotate: 180deg;
}

/* Remove old problematic styles */
div.url {
    width: 70%;
}

input.url {
    width: 100%;
}

img#wikiLogo {
    height: 100px;
}



ul#navBarWikipedia {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    max-width: 20%;
    margin-left: 10px
}

a {
    cursor: url("./assets//cursors//link.cur"), pointer;
}

/* Wikipedia-like link styles: blue links, purple visited, underline on hover/focus */
a {
    cursor: url("./assets//cursors//link.cur"), pointer;
}

/* Main article links */
div#article a, ul#navBarWikipedia a {
    color: #0645ad; /* Wikipedia link blue */
    text-decoration: none;
}

div#article a:visited, ul#navBarWikipedia a:visited {
    color: #0b0080; /* visited purple */
}

div#article a:hover, div#article a:focus, ul#navBarWikipedia a:hover, ul#navBarWikipedia a:focus {
    color: #0b0080;
    text-decoration: underline;
}

/* active/clicked state */
div#article a:active {
    color: #0c3d99;
}

/* Infobox links use same colors but slightly smaller weight */
.infobox-value a {
    color: #0645ad;
    text-decoration: none;
}
.infobox-value a:hover {
    text-decoration: underline;
}

div#article {
    max-width: 100%;
    height: 100%;
    padding: 10px;
    width: 80%;
    box-sizing: border-box;
    display: block;
    position: relative;
}

aside {
    padding: 5px 30px;
    border: #000 solid 1px;
    height: fit-content;
    justify-content: center;
    position: sticky;
}

img#pfpWiki {
    height: 300px;
    display: flex;
    margin: 0px auto;
    cursor: url("./assets//cursors//link.cur"), pointer;
}

aside>p {
    font-size: 15px;
    text-align: center;
    margin-top: 0px;
}

div#article>p {
    font-size: 15px;
    margin-top: 0px;
}

button {
    cursor: url("./assets//cursors//link.cur"), pointer;
}

div#creditosTexto>p {
    margin: 0px;
    font-size: 15px;
}


img#pfp-msn {
    height: 150px;
    border-radius: 50px;
}

img {
    user-select: none;
}

div#redes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    background-color: rgb(107, 255, 93);
    padding: 10px;
    border-radius: 10px;
    margin: 20px;
    cursor: url("./assets//cursors//link.cur"), pointer;
}

div#redes>img {
    height: 100px;
}

div#redes>p {
    font-size: 15px;
}

div#cursor {
    height: fit-content;
    width: fit-content;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 99999;
}

@keyframes goToEdge {
    0% {
        left: 50%;
        top: 50%;
    }

    100% {
        left: 45px;
        top: 165px;
    }
}


.card {
    border: 1px solid grey;
    width: fit-content;
    padding: 10px;
    max-width: 80%;
    margin-bottom: 20px;
}

div.card h3, h5 {
    margin: 0px;
}











p#ativarWin {
    user-select: none;
    position: absolute;
    bottom: 80px;
    right: 30px;
    margin: 0px;
    font-size: 25px;
    color: rgba(255, 255, 255, 0.609);
    font-weight: 100;
    text-shadow: #00000070 1px 1px;
    margin: 0px;
    z-index: 999;
}

span {
    font-size: 20px;
}


div.mySlides img {
    max-height: 600px;
    
}
* {
    box-sizing: border-box
}

.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .5
    }

    to {
        opacity: 1
    }
}

/* Window Management Styles */
.window {
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px 8px 0 0;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - 40px) !important; /* leave space for the taskbar */
    border-radius: 0 !important;
}

/* Ensure the inner content fills the maximized window (override inline sizes) */
.window.maximized .window-body {
    width: 100% !important;
    height: calc(100% - 38px) !important; /* account for title bar height */
    overflow: auto !important;
}

.window.minimized {
    display: none !important;
    opacity: 0;
    transform: scale(0.1);
    pointer-events: none;
}

.window.focused {
    z-index: 10000 !important;
}

.window-resizer {
    position: absolute;
    background: transparent;
    z-index: 10;
}

.window-resizer:hover {
    background: rgba(0, 120, 212, 0.1);
}

.window-resizer.top {
    top: 0;
    left: 8px;
    right: 8px;
    height: 4px;
    cursor: ns-resize;
}

.window-resizer.bottom {
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 4px;
    cursor: ns-resize;
}

.window-resizer.left {
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 4px;
    cursor: ew-resize;
}

.window-resizer.right {
    top: 8px;
    bottom: 8px;
    right: 0;
    width: 4px;
    cursor: ew-resize;
}

.window-resizer.top-left {
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    cursor: nw-resize;
}

.window-resizer.top-right {
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    cursor: ne-resize;
}

.window-resizer.bottom-left {
    bottom: 0;
    left: 0;
    width: 8px;
    height: 8px;
    cursor: sw-resize;
}

.window-resizer.bottom-right {
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    cursor: se-resize;
}

.title-bar-controls button {
    position: relative;
}

.title-bar-controls button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.title-bar-controls button:active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Taskbar Updates */
.taskbar-item {
    transition: all 0.2s ease;
}

.taskbar-item.minimized {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.taskbar-item.active {
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Enhanced Window Styles */
.title-bar {
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 50%, #d1d1d1 51%, #fefefe 100%);
    border-bottom: 1px solid #a0a0a0;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 13px;
}

.title-bar-controls {
    display: flex;
    gap: 2px;
}

.title-bar-controls button {
    width: 21px;
    height: 21px;
    border: 1px solid #a0a0a0;
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.title-bar-controls button:hover {
    background: linear-gradient(to bottom, #e5f3ff 0%, #bddbff 100%);
}

.title-bar-controls button:active {
    background: linear-gradient(to bottom, #bddbff 0%, #9ac7ff 100%);
}

/* Window states enhanced */
.window.focused {
    box-shadow: 0 0 0 1px #0078d4, 0 4px 20px rgba(0, 120, 212, 0.3);
}

.window.focused .title-bar {
    background: linear-gradient(to bottom, #4a90e2 0%, #357abd 50%, #1e5f99 51%, #4a90e2 100%);
    color: white;
}

.window.focused .title-bar-controls button {
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
    color: black;
}

/* Improve window content area */
.window-body {
    padding: 16px;
    background: #f0f0f0;
    overflow: auto;
}

.window-body.has-space {
    padding: 16px;
}

/* Smooth animations */
@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes windowMinimize {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.1);
    }
}

@keyframes windowClose {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.window:not(.minimized):not([style*="display: none"]) {
    animation: windowOpen 0.2s ease-out;
}

.window.minimizing {
    animation: windowMinimize 0.2s ease-in;
}

.window.closing {
    animation: windowClose 0.2s ease-in;
}

/* Aero Snap visual feedback */
.window.snap-preview {
    background: rgba(0, 120, 212, 0.1) !important;
    border: 2px solid #0078d4 !important;
}

/* Enhanced taskbar styling */
.taskbar-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

.taskbar-item:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Window focus outline */
.window.focused {
    outline: 1px solid #0078d4;
    outline-offset: -1px;
}

/* Wikipedia Profile Infobox */
.profile-infobox {
    float: right;
    width: 280px;
    margin: 0 0 16px 16px;
    background: #f6f6f6;
    border: 1px solid #a2a9b1;
    padding: 0;
    font-size: 88%;
    clear: right;
    shape-outside: margin-box;
    max-height: calc(100vh - 160px); /* prevent infinite height */
    overflow: auto; /* make infobox scroll if content is tall */
}

/* Ensure text wraps around the infobox properly */
#article {
    overflow: visible !important;
    word-wrap: break-word;
    line-height: 1.6;
}

#article p {
    margin-right: 0;
    text-align: justify;
    overflow-wrap: break-word;
    word-break: break-word;
}

.profile-image {
    text-align: center;
    padding: 16px 16px 8px;
}

.profile-image img {
    max-width: 220px;
    height: auto;
    border: 1px solid #a2a9b1;
}

.image-caption {
    font-size: 12px;
    color: #54595d;
    margin-top: 4px;
    font-style: italic;
}

.infobox-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.infobox-table tr {
    border-top: 1px solid #a2a9b1;
}

.infobox-table tr:first-child {
    border-top: none;
}

.infobox-label {
    vertical-align: middle;
    text-align: left;
    padding: 8px;
    font-weight: bold;
    width: 35%;
    background: #eaecf0;
    border-right: 1px solid #a2a9b1;
    white-space: normal; /* allow wrapping */
    word-break: break-word;
    line-height: 1.2;
}

.infobox-value {
    vertical-align: middle; /* center vertically */
    text-align: left;
    padding: 8px;
    background: #f6f6f6;
    width: 65%;
    white-space: normal; /* allow wrapping */
    overflow-wrap: anywhere; /* force wrap for long words/links */
    word-break: break-word;
}

.infobox-value a {
    color: #0645ad;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.infobox-value a:hover {
    text-decoration: underline;
}

/* MSN contacts styling: smaller icons, aligned text and consistent sizes */
.msn-contacts ul {
    margin: 0;
    padding: 0;
}
.msn-contact {
    display: flex;
    align-items: center; /* vertically center icon + text */
    gap: 8px;
    padding: 6px 0;
    font-size: 13px; /* smaller text to fit */
}
.msn-contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
}
#pfp-msn {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 6px;
}
.msn-contacts a {
    color: #0645ad; /* keep link color consistent */
    text-decoration: none;
}
.msn-contacts a:hover {
    text-decoration: underline;
}

/* msnOpen: aumentar e remover "área morta" azul */
#msnOpen {
    width: auto !important;
    height: auto !important;
    max-width: 82vw !important;
    max-height: 80vh !important;
    min-width: unset !important;
    min-height: unset !important;
}

#msnOpen .window-body {
    height: auto !important; /* deixa o body crescer com o conteúdo */
    background: #ffffff !important; /* garante área branca completa */
    padding: 12px !important;
    display: block !important;
    overflow: visible !important; /* evita barras/área azul */
}

/* filhos não devem flex-grow para não criar espaço sobrando */
#msnOpen .window-body > * {
    flex: none !important;
}

/* caso alguma regra anterior ainda force tamanho mínimo, anulamos */
#msnOpen, #msnOpen * {
    box-sizing: border-box;
}