* { box-sizing: border-box; }
html, body { 
  margin: 0; min-height: 100%; 
  font-family: Tahoma, "MS Sans Serif", Arial, sans-serif; 
  font-size: 13px; 
}
body { background: #008080; color: #000; }
.desktop { min-height: 100vh; display: flex; flex-direction: column; }
.window { 
  margin: 7px; border: 2px outset #fff; background: #d4d0c8; box-shadow: 2px 2px #000; 
}
.titlebar { 
  height: 29px; padding: 3px 5px; display: flex; align-items: center; gap: 6px; 
  background: linear-gradient(#3f92ed, #0759c6 50%, #08459e); color: #fff; font-weight: bold; text-shadow: 1px 1px #164782; 
}
.winbtns { margin-left: auto; display: flex; gap: 2px; }
.winbtns b { 
  width: 22px; height: 20px; display: grid; place-items: center; 
  background: #d4d0c8; color: #000; border: 2px outset #fff; text-shadow: none; cursor: default;
}
.winbtns b:active { border: 2px inset #fff; }
.menubar { height: 25px; display: flex; align-items: center; }
.menubar a { padding: 4px 10px; color: #000; text-decoration: none; }
.menubar a:hover { background: #000080; color: #fff; }
.toolbar { 
  height: 48px; display: flex; align-items: center; gap: 3px; padding: 3px 7px; 
  border-top: 1px solid #fff; border-bottom: 1px solid #808080; 
}
.toolbar a { 
  height: 40px; min-width: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; 
  text-decoration: none; color: #000; border: 1px solid transparent; 
}
.toolbar a:hover { border: 2px outset #fff; background: #d4d0c8; }
.toolbar a:active { border: 2px inset #fff; }
.toolbar small { font-size: 10px; }
.address { display: flex; align-items: center; gap: 5px; padding: 4px 7px; border-top: 1px solid #fff; }
.address input { flex: 1; height: 23px; border: 2px inset #fff; padding: 2px 6px; background: #fff; outline: none; }
.address input:focus { border-color: #316ac5; }
.address button, .buttons a, .editor-btn { 
  background: linear-gradient(#fff, #d9d9d9); color: #000; border: 2px outset #fff; text-decoration: none; cursor: pointer;
}
.address button { padding: 3px 13px; font-family: Tahoma; }
.editor-btn { padding: 1px 8px; font-family: Tahoma; font-size: 11px; }
.address button:active, .buttons a:active, .editor-btn:active { border-style: inset; }
main { width: min(1080px, calc(100% - 28px)); margin: 8px auto; flex: 1; }
.welcome { display: flex; gap: 14px; align-items: center; padding: 13px 16px; background: #fff; border: 2px inset #fff; margin-bottom: 8px; }
.xpbox { 
  width: 54px; height: 54px; display: grid; place-items: center; 
  background: linear-gradient(135deg, #63b0ff, #0752b7); border: 2px outset #fff; color: #fff; font-weight: bold; font-size: 16px; 
}
.welcome h1 { margin: 0 0 4px; color: #003399; font-size: 21px; }
.welcome p { margin: 0; }
.cols { display: grid; grid-template-columns: 190px 1fr; gap: 8px; }
aside, .panel { background: #d4d0c8; border: 2px outset #fff; }
aside h3 { margin: 0; padding: 6px; color: #fff; background: linear-gradient(#58a6ee, #1760bf); font-size: 13px; }
aside a { display: block; padding: 8px; color: #000080; text-decoration: none; border-bottom: 1px solid #bbb; }
aside a:hover { background: #000080; color: #fff; }
.panelhead { padding: 6px 9px; background: linear-gradient(#58a6ee, #1760bf); color: #fff; font-weight: bold; }
.panelbody { margin: 8px; padding: 18px; min-height: 320px; background: #fff; border: 2px inset #fff; }
.panelbody h2 { color: #003399; border-bottom: 1px solid #ccc; padding-bottom: 5px;}
.buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 28px 0; }
.buttons a { padding: 9px 16px; font-weight: bold; }
.notice { padding: 10px; background: #ffffdf; border: 1px solid #baba80; margin: 18px 0; }
.panelbody a, .crumb a { color: #00e; }
.crumb { background: #fff; border: 2px inset #fff; padding: 6px 8px; margin-bottom: 8px; }
.panelbody article { padding: 12px; margin-top: 16px; background: #f3f3f3; border: 2px groove #fff; }
.panelbody article span { float: right; color: #555; }
.download { display: flex; gap: 12px; align-items: center; }
.download > span { font-size: 30px; }
footer { margin: 7px; padding: 3px; min-height: 24px; background: #d4d0c8; border: 2px inset #fff; display: flex; align-items: center; }
footer span { padding: 2px 10px; border-right: 1px solid #808080; flex: 1; }
footer span:last-child { flex: 0 0 auto; border-right: none; }
.badge { 
  width: 88px; height: 31px; display: inline-grid; place-items: center; font-size: 9px; font-family: "MS Sans Serif"; 
  border: 2px outset #fff; background: #c0c0c0; color: #000; margin-bottom: 4px; line-height: 1.1; text-align: center;
}
@media(max-width:700px){ .cols{ grid-template-columns: 1fr; } aside{ order: 2; } main{ width: calc(100% - 14px); } }
@media(max-width:480px){ .buttons{ flex-direction: column; align-items: center; } .buttons a{ width: 220px; text-align: center; } footer{ flex-wrap: wrap; } footer span{ flex: 1 1 45%; } }