@import url("https://cdn.jsdelivr.net/npm/galmuri/dist/galmuri.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'GalmuriMono11';
  text-decoration: none;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1.05rem;
}

h5 {
  font-size: 0.90rem;
}

p {
  font-size: 0.90rem;
}

.header-info h1 {
  font-size: 1.25rem;
}

.header-info p {
  font-size: 0.85rem;
}

body {
  background-color: #b0e0e6;
  background-image: radial-gradient(#d8bfd8 1px, transparent 1px);
  background-size: 16px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.window-container {
  width: 100%;
  max-width: 960px;
  height: 100%;
  background-color: #f5f0f6;
  border: 3px solid #ffffff;
  box-shadow: 
    3px 3px 0px #a393a3,
    -2px -2px 0px #ffffff inset,
    2px 2px 0px #7a6b7a inset;
}

.window-titlebar {
  background: linear-gradient(90deg, #d8bfd8, #e6e6fa);
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #a393a3;
}

.title-text {
  font-weight: bold;
  font-size: 1rem;
  color: #4a3b4a;
}

.window-controls {
  display: flex;
  gap: 4px;
}

.win-btn {
  width: 18px;
  height: 18px;
  background-color: #f5f0f6;
  border: 1px solid #ffffff;
  box-shadow: 1px 1px 0px #7a6b7a;
  font-size: 0.7rem;
  font-weight: bold;
  cursor: pointer;
  color: #4a3b4a;
}

.window-body {
  padding: 15px;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  background-color: #ffffff;
  padding: 10px;
  box-shadow: 2px 2px 0px #a393a3 inset;
}

.discord-profile-href {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sns-profile-href {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 12px;
  justify-content: flex-end;
  align-items: center;
}

.user-name {
  font-size: 1.2rem;
  color: #4a3b4a;
}

.user-bio {
  font-size: 1rem;
  color: #8a7b8a;
}

.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: -2px;
  position: relative;
  z-index: 1;
}

.tab-btn {
  background-color: #e6e6fa;
  border: 2px solid #ffffff;
  border-bottom: none;
  box-shadow: 2px -2px 0px #a393a3;
  padding: 6px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  color: #4a3b4a;
  transition: background-color 0.2s;
}

.tab-btn.active {
  background-color: #f5f0f6;
  font-weight: bold;
  border-bottom: 2px solid #f5f0f6;
}

.content-viewport {
  background-color: #ffffff;
  padding: 15px;
  min-height: 120px;
  box-shadow: 2px 2px 0px #a393a3 inset;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.content-viewport.fade-in {
  opacity: 1;
  transform: scale(1);
}

.content-viewport.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

.inset-box {
  background-color: #fff0f5;
  padding: 10px;
  border: 1px dashed #d8bfd8;
  font-size: 0.85rem;
  color: #4a3b4a;
  line-height: 1.6;
}

.note-text {
  font-size: 0.80rem;
  color: #9a8b9a;
  margin-top: 10px;
}

.retro-push-btn {
  margin-top: 12px;
  padding: 6px 12px;
  background-color: #ffd1dc;
  border: 2px solid #ffffff;
  box-shadow: 2px 2px 0px #7a6b7a;
  font-size: 0.8rem;
  cursor: pointer;
  color: #4a3b4a;
}

.retro-push-btn:active {
  box-shadow: 1px 1px 0px #7a6b7a inset;
}

.image-grid-2col {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 10px 0;
}

.grid-item {
  width: 50%;
  min-width: 200px;
  padding: 5px;
}

.grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

.video-container {
  width: 100%;
  margin: 10px 0;
  background-color: #000000;
  border: 2px solid #a393a3;
  /* 윈도우 98 음각 테두리 효과 */
  box-shadow: 1px 1px 0px #ffffff, -1px -1px 0px #7a6b7a inset;
  padding: 4px;
  box-sizing: border-box;
}

/* 비디오 요소를 컨테이너 너비에 100% 맞춤 */
.video-container video {
  width: 100%;
  height: auto;
  display: block;
  outline: none;
}

.status-bar {
  margin-top: 10px;
  padding: 4px 8px;
  background-color: #e6e6fa;
  box-shadow: 1px 1px 0px #a393a3 inset;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #6a5b6a;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
}

.status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  box-shadow: 1px 1px 0px #7a6b7a;
}

.status-dot.online { background-color: #57f287; }
.status-dot.idle { background-color: #fee75c; }
.status-dot.dnd { background-color: #ed4245; }
.status-dot.offline { background-color: #747f8d; }

.activity-badge {
  color: #ff69b4;
  font-weight: bold;
}

.avatar-box {
  width: 4rem;
  height: 4rem;
  background-color: #ffd1dc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid #a393a3;
  flex-shrink: 0;
  overflow: hidden;
}

.avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated; 
}

.lang-selector {
  display: flex;
  gap: 2px;
}

.lang-btn {
  background-color: #f5f0f6;
  border: 1px solid #ffffff;
  box-shadow: 1px 1px 0px #7a6b7a;
  font-family: 'GalmuriMono11';
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  cursor: pointer;
  color: #4a3b4a;
  transition: all 0.1s ease;
}

.lang-btn:hover {
  background-color: #ffd1dc;
}

.lang-btn.active {
  background-color: #d8bfd8;
  box-shadow: 1px 1px 0px #7a6b7a inset;
  color: #ffffff;
}

.loading-wrapper {
  height: 300px;
  min-height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #f5f0f6;
  border: 2px solid #ffffff;
  box-shadow: 2px 2px 0px #a393a3;
  color: #4a3b4a;
  font-size: 1rem;
  font-weight: bold;
}

.dots {
  animation: blink 1.2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.lab {
  color: #d8bfd8; 
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.las {
  color: #d8bfd8; 
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.lab span {
  font-size: 0.85rem;
  text-align: center;
  margin-left: 3px;
}

.las span {
  font-weight: normal;
  font-size: 0.85rem;
  text-align: center;
  margin-left: 3px;
}

.la-twitter:hover {
	color:#1d9bf0;
}

.la-twitter:active  {
	color:#1d9bf0bf;
}

.la-steam:hover {
	color: #0a275e;
}

.la-steam:active  {
	color: #0a275ebf;
}

.la-palette:hover {
	color: #0095f8;
}

.la-palette:active  {
	color: #0095f8bf;
}