/* pomoristudio.com. 2003년쯤 XP 시절 창 모양이다(2026-11-07 사용자 "아이팟 세대, 윈도우 XP, 익스플로러", 시안 D 확정).
   상표 로고(윈도 깃발, IE의 e, 초원 사진 Bliss)는 쓰지 않고 파란 창틀·작업 창·초록 버튼 느낌만 직접 그린다 */
@font-face { font-family: "Galmuri11"; src: url("../fonts/Galmuri11-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
* { box-sizing: border-box; }
/* 바탕화면: 새별오름 사진(Grapesurgeon, CC BY-SA 4.0)을 320칸·32색 도트로 바꾼 것. 사람과 돌바닥은 옆 풀밭으로 덮고 하늘을 파랗게 보정했다 */
html { background: #9cc0f0 url("../img/oreum.png") center bottom / cover no-repeat fixed; image-rendering: pixelated; }
body {
  margin: 0;
  color: #1b1b1b;
  font: 16px/1.55 Tahoma, Verdana, "Apple SD Gothic Neo", "Hiragino Sans", "Noto Sans", sans-serif;
  overflow-x: hidden;
}
:lang(ja) body { font-family: Tahoma, "Hiragino Sans", "Meiryo", "MS PGothic", sans-serif; }
:lang(ko) body { font-family: Tahoma, "Apple SD Gothic Neo", "Malgun Gothic", "Gulim", sans-serif; }
img { image-rendering: pixelated; }
a { color: #0b3fa8; }
:focus-visible { outline: 2px dotted #000; outline-offset: 2px; }
.pixel { font-family: "Galmuri11", Tahoma, sans-serif; font-weight: 700; }
button { font: inherit; }

.win { max-width: 1040px; margin: 24px auto 0; background: #ece9d8; border: 3px solid #0846b8; border-top: 0; border-radius: 8px 8px 0 0; box-shadow: 2px 3px 0 rgba(0, 0, 40, 0.25); position: relative; z-index: 1; }
.win.min { display: none; }
.titlebar {
  display: flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 6px 0 8px;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(#3d95ff 0, #0a5fd8 18%, #0653d0 70%, #0a4cc0 100%);
  color: #fff; font: bold 14px "Trebuchet MS", Tahoma, sans-serif; text-shadow: 1px 1px #0a2a7a;
  white-space: nowrap; overflow: hidden;
}
.titlebar img { width: 18px; height: 18px; }
.titlebar .name { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.tb { width: 22px; height: 22px; padding: 0; border: 1px solid #fff; border-radius: 3px; background: linear-gradient(#5aa0ff, #2a6ee8); display: grid; place-items: center; color: #fff; font: bold 12px Tahoma, sans-serif; }
button.tb { cursor: pointer; }
.tb.x { background: linear-gradient(#f08a6a, #d2421c); }
.menubar { font: 13px Tahoma, sans-serif; padding: 3px 6px; border-bottom: 1px solid #d0cdbd; }
.menubar span { margin-right: 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 4px 6px; border-bottom: 1px solid #d0cdbd; font: 13px Tahoma, sans-serif; }
.toolbar button { all: unset; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; }
.toolbar button:hover, .toolbar button:focus-visible { border-color: #b8b49c; background: #f6f5ee; }
.toolbar .spacer { flex: 1; }
.langs a { padding: 0 2px; }
.langs a[aria-current] { color: #1b1b1b; font-weight: bold; text-decoration: none; }
.round { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: bold; flex: none; }
.round.g { background: radial-gradient(circle at 35% 30%, #9be28a, #2f9a24 60%, #1f6e17); }
.round.r { background: radial-gradient(circle at 35% 30%, #ff9f8a, #d33a1c 60%, #8f2410); }
.round.b { background: radial-gradient(circle at 35% 30%, #a8c8ff, #2b6be0 60%, #183f9a); }
.round.s { width: 18px; height: 18px; font-size: 10px; }
.address { display: flex; align-items: center; gap: 6px; padding: 4px 6px; font: 13px Tahoma, sans-serif; border-bottom: 1px solid #d0cdbd; }
.address .field { flex: 1; min-width: 0; background: #fff; border: 1px solid #7f9db9; padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go { display: inline-flex; align-items: center; gap: 4px; }

.frame { display: grid; grid-template-columns: 1fr; background: #fff; }
.frame > * { min-width: 0; }
.content { padding: 20px 18px 28px; }
.tasks { background: linear-gradient(#7ba2e7, #6375d6); padding: 14px 12px 20px; display: grid; gap: 14px; align-content: start; }
.panel { background: #d6dff7; border-radius: 4px 4px 0 0; overflow: hidden; font-size: 14px; }
.panel h2 { margin: 0; padding: 5px 10px; font: bold 13px Tahoma, sans-serif; color: #215dc6; background: linear-gradient(90deg, #fff, #c6d3f7); }
.panel.dark h2 { color: #fff; background: linear-gradient(90deg, #0c3daa, #2c64d8); }
.panel ul { list-style: none; margin: 0; padding: 8px 10px 10px; }
.panel li { padding: 3px 0; display: flex; gap: 8px; align-items: center; }
.panel li img { width: 18px; height: 18px; object-fit: cover; }
.panel a { color: #215dc6; text-decoration: none; }
.panel a:hover { text-decoration: underline; }
.panel p { margin: 0; padding: 8px 10px 10px; }
.panel .mail { word-break: break-all; }
.panel.credit p { font-size: 12px; }

.hello { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.hello img { width: 64px; height: 72px; flex: none; }
.hello h1 { margin: 0; font-size: 28px; line-height: 1.2; color: #0a3b9e; }
.hello p { margin: 4px 0 0; font-size: 18px; }
.sub { margin: 0 0 18px; color: #444; font-size: 15px; }
.player { display: grid; gap: 22px; }
.tv { background: #000; width: min(100%, 320px); aspect-ratio: 9 / 16; position: relative; border: 2px solid; border-color: #7f9db9 #fff #fff #7f9db9; margin: 0 auto; }
.tv button { all: unset; position: absolute; inset: 0; cursor: pointer; }
.tv button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; font-size: 30px; }
.tv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.now { text-align: center; margin: 8px 0 0; font-size: 15px; }
.content h2 { font: bold 18px Tahoma, sans-serif; color: #0a3b9e; margin: 0 0 10px; padding-bottom: 4px; border-bottom: 1px solid #c6d3f7; }
:lang(ja) .content h2, :lang(ko) .content h2 { font-family: inherit; }
.eplist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.eplist button { all: unset; cursor: pointer; display: block; text-align: center; font-size: 13px; line-height: 1.35; padding: 4px; }
.eplist button:hover, .eplist li[aria-current] button { background: #316ac5; color: #fff; }
.eplist img { width: 72px; aspect-ratio: 9 / 16; object-fit: cover; display: block; margin: 0 auto 6px; border: 1px solid #7f9db9; }
.section { margin-top: 28px; }
.cast { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 6px; }
.cast figure { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.cast img { width: 48px; flex: none; border: 1px solid #c6d3f7; }
.cast b { display: block; font-size: 15px; }
.fund { margin-top: 28px; border: 1px solid #f0c674; background: #fff8dc; padding: 14px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.fund .ftitle { margin: 0; font-size: 18px; color: #b4531f; }
.fund img { width: 100%; max-width: 288px; display: block; }
.fund p { margin: 0; font-size: 14px; }

.statusbar { display: flex; justify-content: space-between; align-items: center; font: 12px Tahoma, sans-serif; padding: 3px 6px; border-top: 1px solid #d0cdbd; }
.visits { display: inline-flex; align-items: center; gap: 6px; }
.visits .counter { height: 18px; width: auto; border: 1px solid #808080; }
.taskbar { display: flex; align-items: center; height: 38px; margin-top: 24px; background: linear-gradient(#3168d5, #245edb 10%, #1f4fbf 90%, #1941a5); color: #fff; font: 13px Tahoma, sans-serif; }
.start { height: 100%; display: inline-flex; align-items: center; gap: 6px; padding: 0 18px 0 10px; background: linear-gradient(#5eb84a, #3c9a2a 60%, #2f7d22); border-radius: 0 12px 12px 0; font: bold italic 17px "Trebuchet MS", sans-serif; text-shadow: 1px 1px #1e4f16; color: #fff; text-decoration: none; }
.start img { width: 22px; height: 22px; }
.taskbtn { margin-left: 8px; height: 28px; padding: 0 14px; border: 1px solid #0a3d8f; border-radius: 3px; background: linear-gradient(#3c8cf0, #1d5fd0); color: #fff; font: 13px Tahoma, sans-serif; cursor: pointer; }
.taskbar .spacer { flex: 1; }
.tray { height: 100%; display: flex; align-items: center; padding: 0 12px; background: linear-gradient(#1290e8, #0f7ad5); border-left: 1px solid #0a3d8f; }

@media (min-width: 820px) {
  /* 넓은 화면에서는 작업 표시줄을 화면 아래에 붙여 바탕화면처럼 보이게 한다 */
  body { padding-bottom: 80px; }
  .taskbar { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 2; }
  .frame { grid-template-columns: 230px 1fr; }
  .tasks { order: -1; }
  .player { grid-template-columns: 320px 1fr; align-items: start; }
  .tv { margin: 0; }
  .cast { grid-template-columns: repeat(4, 1fr); }
  .cast figure { flex-direction: column; align-items: center; text-align: center; }
  .cast img { width: 64px; }
}
@media (max-width: 819px) {
  /* 폰: 창이 화면 폭을 다 쓰고 메뉴줄은 숨긴다. 작업 창은 본문 아래로 내려간다 */
  .win { margin-top: 0; border-radius: 0; border-left: 0; border-right: 0; }
  .titlebar { border-radius: 0; }
  .menubar, .toolbar .lbl, .toolbar .opt { display: none; }
  .hello h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .fund img { content: url("../img/btn-churu.png"); } }
