/* WinnerBanner.module.css - Styles for WinnerBanner component */
.root {
display: flex;
flex-direction: row;
justify-content: center;
align-items: stretch;
gap: 0;
height: 100%;
padding: 0;
background: rgba(251, 191, 36, 0.08);
border-radius: 10px;
border: 1.5px solid rgba(251, 191, 36, 0.18);
box-shadow: 0 2px 16px #fbbf2433;
width: 100%;
/* margin-left: auto; */
margin-right: auto;
overflow: hidden;
}
.section {
flex: 1;
padding: 2px 8px 8px 8px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.winnerSection {
background: rgba(251, 191, 36, 0.08);
}
.killedSection {
background: rgba(239, 68, 68, 0.06);
}
.divider {
width: 1px;
background: linear-gradient(to bottom, #fbbf24 0%, #ef4444 100%);
margin: 0 0;
opacity: 0.5;
min-height: 64px;
align-self: center;
}
.winnerLabel {
color: #fbbf24;
font-weight: 700;
font-size: 1.2rem;
margin-bottom: 4px;
}
.killedLabel {
color: #ef4444;
font-weight: 700;
font-size: 1.1rem;
margin-bottom: 4px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.userList {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 0;
}
.userCard {
display: inline-flex;
align-items: center;
margin: 2px 8px;
padding: 4px 12px;
border-radius: 4px;
}
.winnerUserCard {
background: rgba(251, 191, 36, 0.15);
border: 2px solid #fbbf24;
}
.killedUserCard {
background: rgba(239, 68, 68, 0.13);
border: 2px solid #ef4444;
}
.userName {
font-weight: 700;
cursor: pointer;
text-decoration: underline;
text-decoration-style: dotted;
}
.winnerName {
color: #fbbf24;
text-decoration-color: rgba(251, 191, 36, 0.4);
}
.killedName {
color: #ef4444;
text-decoration-color: rgba(239, 68, 68, 0.4);
}
.avatar {
border-radius: 4px;
margin-right: 8px;
background: #222;
}
.killedAvatar {
border: 2px solid #ef4444;
}
.killedAvatarWrapper {
position: relative;
display: inline-block;
}
.killedSkullOverlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
font-size: 2.2em;
color: #ff0000;
font-weight: bold;
line-height: 1;
z-index: 2;
opacity: 1;
text-shadow: 0 0 6px #fff, 0 0 2px #ff0000;
}
.placeholder {
color: #b3b3b3;
font-style: italic;
opacity: 0.7;
}
/* Modal styles for ZoomedItemModal */
.modalOverlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modalContainer {
position: relative;
max-width: 90vw;
max-height: 90vh;
background: #23244a;
border-radius: 16px;
box-shadow: 0 8px 32px #000a;
padding: 32px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
overflow-y: auto;
}
.modalImage {
max-width: 60vw;
max-height: 80vh;
object-fit: contain;
border-radius: 12px;
box-shadow: 0 8px 32px #000a;
background: #222;
margin-right: 32px;
width: 800px;
height: auto;
}
.modalContent {
flex: 1;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
}
.modalTitle {
color: #a7a7ff;
font-weight: 700;
font-size: 22px;
margin-bottom: 12px;
}
.modalDescription {
font-size: 16px;
margin-bottom: 12px;
line-height: 1.5;
}
.modalUsersList {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
margin-top: 8px;
}
.modalUserItem {
display: flex;
align-items: center;
gap: 10px;
}
.modalUserAvatar {
border-radius: 6px;
background: #222;
border: 2px solid #3b82f6;
}
.modalUserName {
color: #a7a7ff;
font-size: 16px;
text-align: left;
word-break: break-word;
}
.modalCloseButton {
position: absolute;
top: 8px;
right: 8px;
background: rgba(0, 0, 0, 0.7);
color: #fff;
border: none;
border-radius: 6px;
padding: 6px 12px;
font-size: 18px;
cursor: pointer;
z-index: 1001;
}
.modalCloseButton:hover {
background: rgba(0, 0, 0, 0.9);
}
/* Mobile responsive styles for modal */
@media (max-width: 768px) {
.modalContainer {
flex-direction: column;
padding: 20px;
max-width: 95vw;
max-height: 95vh;
}
.modalImage {
max-width: 85vw;
max-height: 50vh;
margin-right: 0;
margin-bottom: 20px;
width: auto;
}
.modalContent {
width: 100%;
text-align: center;
}
.modalTitle {
font-size: 20px;
margin-bottom: 10px;
}
.modalDescription {
font-size: 14px;
margin-bottom: 10px;
text-align: left;
}
.modalUsersList {
align-items: center;
margin-top: 16px;
}
}
/* Smaller mobile devices */
@media (max-width: 480px) {
.modalContainer {
padding: 16px;
}
.modalImage {
max-width: 90vw;
max-height: 40vh;
margin-bottom: 16px;
}
.modalTitle {
font-size: 18px;
}
.modalDescription {
font-size: 13px;
}
.modalCloseButton {
padding: 4px 8px;
font-size: 16px;
}
}