:root {
  --glass: rgba(231, 246, 255, .78);
  --glass-strong: rgba(255, 255, 255, .9);
  --blue: #2f80c9;
  --deep-blue: #123f72;
  --lime: #a9e54d;
  --orange: #ff8a00;
  --text: #17263a;
  --shadow: 0 18px 50px rgba(10, 40, 75, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 78% 15%, rgba(255,255,255,.95) 0 4%, transparent 18%),
    linear-gradient(135deg, #4b9ee8 0%, #90d8f1 35%, #d5efb1 68%, #69bb61 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed; inset: 0;
  background:
    linear-gradient(23deg, transparent 45%, rgba(255,255,255,.18) 46% 48%, transparent 49%),
    radial-gradient(ellipse at bottom, rgba(5, 62, 25, .35), transparent 48%);
  pointer-events: none;
}
.noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.wallpaper-glow { position: fixed; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.glow-one { width: 420px; height: 420px; background: rgba(255,255,255,.28); right: -80px; top: 15%; }
.glow-two { width: 380px; height: 380px; background: rgba(116,255,88,.18); left: 5%; bottom: 8%; }

button, a { font: inherit; }
button { color: inherit; }

.desktop { width: min(1180px, calc(100% - 150px)); margin: 38px auto 110px; position: relative; z-index: 1; }
.desktop-icons {
  position: fixed; left: 18px; top: 28px; display: flex; flex-direction: column; gap: 12px; z-index: 5;
}
.desktop-icon {
  width: 92px; padding: 7px 4px; border: 1px solid transparent; background: transparent; color: white;
  text-shadow: 0 1px 3px #000; cursor: pointer; border-radius: 5px;
}
.desktop-icon:hover, .desktop-icon:focus { background: rgba(126, 197, 255, .32); border-color: rgba(255,255,255,.65); outline: none; }
.icon-art { display: block; font-size: 39px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.desktop-icon span:last-child { display: block; margin-top: 3px; font-size: 12px; line-height: 1.1; }

.window {
  border: 1px solid rgba(30, 67, 103, .8); border-radius: 9px 9px 5px 5px; overflow: hidden;
  background: rgba(248, 252, 255, .93); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.9);
  margin-bottom: 34px; scroll-margin-top: 28px;
}
.titlebar {
  height: 38px; padding: 0 7px 0 13px; display: flex; align-items: center; justify-content: space-between;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.86), rgba(182,224,250,.66) 42%, rgba(92,158,212,.74) 43%, rgba(194,231,251,.77));
  border-bottom: 1px solid #557e9d; color: #0d2943; text-shadow: 0 1px white;
}
.titlebar-title { font-size: 13px; font-weight: 900; display: flex; align-items: center; gap: 7px; }
.tiny-icon { font-size: 17px; }
.window-controls { display: flex; align-self: flex-start; height: 25px; }
.window-controls span {
  width: 30px; display: grid; place-items: center; border: solid #6a8aa3; border-width: 0 0 1px 1px;
  background: linear-gradient(#f4fbff, #b7d5e8); font: 16px "Segoe UI"; line-height: 1;
}
.window-controls span:first-child { border-radius: 0 0 0 5px; }
.window-controls .close { width: 45px; color: white; text-shadow: 0 1px #6f130d; border-radius: 0 0 5px 0; background: linear-gradient(#ef9b83, #c73c29 55%, #e06c55); }

.hero-window { min-height: 640px; }
.hero-content {
  min-height: 600px; padding: clamp(26px, 5vw, 64px); display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center;
  background:
    radial-gradient(circle at 75% 35%, rgba(255, 221, 105, .33), transparent 27%),
    linear-gradient(120deg, rgba(255,255,255,.95), rgba(219,242,255,.9) 57%, rgba(212,247,187,.84));
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 99px;
  border: 1px solid #75a739; background: linear-gradient(#eaffe1, #c7f092); color: #355512; font-size: 11px; font-weight: 900; box-shadow: inset 0 1px white;
}
.status-pill span { width: 9px; height: 9px; border-radius: 50%; background: #52bd1f; box-shadow: 0 0 8px #68e527; }
.eyebrow { margin: 18px 0 5px; color: #397095; font-size: 12px; letter-spacing: .16em; font-weight: 900; }
h1 { margin: 0; color: #1a3855; font-size: clamp(53px, 7vw, 92px); line-height: .83; letter-spacing: -.075em; text-shadow: 0 2px white; }
h1 span {
  color: #f47b18; text-shadow: 0 2px #fff, 0 5px 0 rgba(133,66,6,.12);
}
.ticker { display: inline-block; margin: 18px 0 12px; padding: 5px 12px; transform: rotate(-2deg); background: #183b61; color: white; box-shadow: 4px 4px 0 #86c3e8; font: 27px "VT323", monospace; letter-spacing: .08em; }
.hero-text { max-width: 520px; font-size: 18px; line-height: 1.5; }
.action-grid { display: grid; gap: 10px; margin-top: 23px; }
.aero-button {
  position: relative; overflow: hidden; min-height: 62px; padding: 9px 16px; display: flex; align-items: center; gap: 13px;
  border: 1px solid #295b85; border-radius: 7px; color: #173652; text-decoration: none; cursor: pointer;
  background: linear-gradient(#faffff 0 45%, #c7e6f7 46%, #a8d2ec 100%); box-shadow: inset 0 0 0 1px #fff, 0 3px 7px rgba(35,78,112,.25);
  text-align: left;
}
.aero-button:before { content:""; position:absolute; left: 5%; top: 3px; width: 90%; height: 35%; border-radius: 99px; background: rgba(255,255,255,.5); }
.aero-button:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: inset 0 0 0 1px #fff, 0 5px 11px rgba(35,78,112,.33); }
.aero-button:active { transform: translateY(1px); }
.aero-button.primary { border-color: #578a19; background: linear-gradient(#f5ffe8 0 45%, #c6ed85 46%, #95cf42 100%); }
.aero-button.x-button { border-color: #485461; background: linear-gradient(#fbfdff 0 45%, #d3dce3 46%, #aab8c3 100%); }
.button-icon { z-index: 1; width: 35px; font-size: 28px; text-align: center; }
.aero-button span:last-child { z-index: 1; display: flex; flex-direction: column; }
.aero-button strong { font-size: 15px; letter-spacing: .025em; }
.aero-button small { opacity: .65; }
.micro-warning { font-size: 10px; opacity: .63; max-width: 500px; margin-top: 14px; }

.raccoon-stage { position: relative; }
.photo-window { padding: 7px; transform: rotate(2.2deg); border: 1px solid #68849c; border-radius: 5px; background: #eaf4fb; box-shadow: 0 25px 40px rgba(21,61,90,.27), inset 0 0 0 1px white; }
.photo-toolbar, .photo-status { display: flex; justify-content: space-between; padding: 5px 8px; font-size: 10px; }
.raccoon-frame { position: relative; overflow: hidden; aspect-ratio: 1; border: 1px solid #71889a; background: white; }
.raccoon-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.raccoon-frame:after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 35px rgba(0,0,0,.12); pointer-events:none; }
.sticker {
  position:absolute; right: 13px; top: 13px; width: 88px; aspect-ratio:1; display:grid; place-content:center; text-align:center;
  border: 3px dashed white; border-radius: 50%; color:white; background:#f06a22; transform: rotate(12deg);
  text-transform: uppercase; font: 12px/1 "Nunito"; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.sticker b { font-size: 24px; }

.story-content { display: grid; grid-template-columns: 210px 1fr; min-height: 430px; }
.sidebar { padding: 16px; border-right: 1px solid #9db7ca; background: linear-gradient(135deg, #dbeeff, #f7fbff); }
.sidebar-title { margin: 7px 0; padding: 5px 7px; border-radius: 3px; background: linear-gradient(#90bce2, #5e91bf); color: white; font-size: 12px; text-shadow: 0 1px #416984; }
.sidebar button { display: block; width:100%; padding: 6px 4px; border:0; background:transparent; color:#15569a; text-align:left; font-size:12px; cursor:pointer; }
.sidebar button:hover { text-decoration: underline; }
.wet-meter { margin: 13px 0 6px; height: 17px; padding:2px; border:1px solid #7e9eb4; background:white; }
.wet-meter span { display:block; width:98%; height:100%; background: repeating-linear-gradient(90deg, #5dbff0 0 8px, #8ad5f6 8px 10px); }
.story-content article { padding: 25px clamp(22px,5vw,55px); font-family: "Segoe UI", Arial, sans-serif; }
.breadcrumb { margin-top:0; color:#517997; font-size:12px; }
h2 { margin: 12px 0 20px; font: 900 clamp(28px,4vw,46px) "Nunito"; color:#19476c; }
.info-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:22px; }
.info-card { padding:14px; border:1px solid #aac2d5; border-radius:5px; background:linear-gradient(#fff,#eaf5fc); box-shadow:inset 0 1px white; }
.info-card > span { display:block; font-size:28px; }
.info-card b, .info-card small { display:block; }
.info-card small { opacity:.65; margin-top:3px; }
.classic-dialog { display:flex; gap:16px; margin-top:22px; padding:18px; border:1px solid #8aa4b8; background:#f7fbff; box-shadow:inset 0 0 0 1px white, 2px 3px 10px rgba(0,0,0,.12); }
.dialog-icon { font-size:38px; }
.classic-dialog p { margin:4px 0 14px; }

.win-button, .aero-mini {
  padding: 5px 13px; border:1px solid #718b9f; border-radius:3px; background:linear-gradient(#fff,#dbeaf4 48%,#c1d9e9 49%,#eef7fb);
  box-shadow:inset 0 0 0 1px white; cursor:pointer; font:12px "Segoe UI", sans-serif;
}
.win-button:hover, .aero-mini:hover { border-color:#2e7db7; box-shadow:0 0 5px #58b9ef,inset 0 0 0 1px white; }

.chart-toolbar { display:flex; gap:8px; padding:8px; border-bottom:1px solid #a9bbc8; background:#edf4f8; }
.address-bar { flex:1; padding:5px 9px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; border:1px solid #9cafbd; background:white; font:12px "Segoe UI"; }
.chart-shell { position:relative; height:560px; background:#10161c; }
.chart-shell iframe { width:100%; height:100%; border:0; display:none; }
.chart-placeholder { position:absolute; inset:0; display:grid; place-content:center; text-align:center; padding:25px; color:#d9ebf9; background:radial-gradient(circle at center,#273c4c,#10161c 65%); }
.chart-placeholder code { color:#f8b552; }
.loader-orb { width:90px; height:90px; margin:0 auto 10px; display:grid; place-content:center; border-radius:50%; font-size:47px; background:linear-gradient(#ebf8ff,#6ab1df); box-shadow:0 0 25px #56bdfb; animation:float 2.6s ease-in-out infinite; }
@keyframes float { 50% { transform:translateY(-8px); } }
.chart-status { display:flex; justify-content:space-between; padding:6px 10px; border-top:1px solid white; background:#e8f2f8; font:11px "Segoe UI"; }

.comments-window { font-family:"Segoe UI", Arial, sans-serif; }
.forum-header { display:flex; justify-content:space-between; align-items:center; padding:15px 18px; color:white; background:linear-gradient(135deg,#1c4f86,#668fbd); }
.forum-header b,.forum-header small { display:block; }
.forum-header b { font-size:22px; }
.forum-header small { opacity:.78; }
.thread-title,.thread-footer { display:flex; justify-content:space-between; align-items:center; padding:9px 12px; color:white; background:#406b9c; font-size:12px; }
.post { display:grid; grid-template-columns:190px 1fr; border-bottom:4px solid white; background:#eef4fb; }
.post.alt { background:#e2ebf5; }
.user-panel { padding:14px; border-right:1px solid #aec0d3; text-align:center; }
.username { display:block; color:#185999; font-size:13px; }
.rank { display:block; margin:3px 0 8px; color:#65778a; font-size:10px; }
.rank.mod { color:#d24d24; font-weight:bold; }
.avatar { width:76px; height:76px; margin:7px auto; display:grid; place-content:center; overflow:hidden; border:3px double #7089a0; background:white; font-size:44px; }
.photo-avatar img { width:100%; height:100%; object-fit:cover; }
.user-panel small { color:#52667b; font-size:10px; }
.post-body { position:relative; min-height:190px; padding:45px 20px 45px; }
.post-meta { position:absolute; left:0; right:0; top:0; padding:7px 10px; border-bottom:1px solid #b7c6d4; color:#53687b; font-size:10px; }
.post-body p { font-size:14px; }
.post-body blockquote { margin:0 0 12px; padding:9px 12px; border:1px solid #aabac9; background:#f8fbfe; font-size:12px; }
.signature { position:absolute; left:20px; right:20px; bottom:12px; padding-top:6px; border-top:1px dotted #899aaa; color:#44637e; font-size:10px; }
.signature span { color:#8b4b83; }

.disclaimer { padding:14px 18px; border:1px solid rgba(255,255,255,.65); border-radius:7px; color:white; background:rgba(16,53,78,.62); box-shadow:0 8px 25px rgba(0,0,0,.18); font:11px/1.45 "Segoe UI"; text-shadow:0 1px 2px #173c55; }

.taskbar {
  position:fixed; left:0; right:0; bottom:0; z-index:20; height:52px; display:flex; align-items:center; gap:7px; padding:5px 11px 5px 70px;
  border-top:1px solid rgba(255,255,255,.9); background:linear-gradient(rgba(44,104,151,.85),rgba(20,59,91,.94)); box-shadow:0 -2px 12px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.3); backdrop-filter:blur(12px);
}
.start-orb {
  position:absolute; left:10px; bottom:3px; width:58px; height:58px; border:0; border-radius:50%; color:white; cursor:pointer;
  background:radial-gradient(circle at 42% 30%,#efffc4 0 8%,#79d52d 24%,#2a8e28 55%,#175d21 71%,#b2f37d 73%,#286f2b 78%);
  box-shadow:0 0 0 2px rgba(255,255,255,.8),0 0 12px #b9ff70,0 3px 8px #000;
}
.start-orb span { font-size:29px; text-shadow:0 1px 3px #000; }
.task-button {
  height:38px; max-width:210px; min-width:150px; padding:0 12px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:white; text-align:left;
  border:1px solid #122e46; border-radius:4px; background:linear-gradient(rgba(255,255,255,.22),rgba(54,106,146,.24) 48%,rgba(10,49,80,.54) 49%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2); text-shadow:0 1px 2px #000; cursor:pointer;
}
.task-button:hover,.task-button.active { background:linear-gradient(rgba(178,231,255,.65),rgba(59,153,211,.45) 48%,rgba(18,94,145,.72) 49%); box-shadow:0 0 8px #72caff,inset 0 0 0 1px rgba(255,255,255,.35); }
.tray { height:42px; margin-left:auto; display:flex; align-items:center; gap:8px; padding-left:11px; color:white; border-left:1px solid rgba(255,255,255,.22); font:12px "Segoe UI"; text-shadow:0 1px 2px #000; }
.clock { min-width:72px; text-align:center; line-height:1.15; }
.clock small { font-size:10px; }
.show-desktop { align-self:stretch; width:12px; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.12); }

.toast {
  position:fixed; left:50%; bottom:70px; z-index:50; opacity:0; pointer-events:none; transform:translate(-50%,15px);
  padding:10px 18px; border:1px solid #304b61; border-radius:5px; color:#193148; background:linear-gradient(#fff,#dcecf6); box-shadow:0 8px 25px rgba(0,0,0,.3); transition:.2s;
}
.toast.show { opacity:1; transform:translate(-50%,0); }

@media (max-width: 900px) {
  .desktop { width:calc(100% - 28px); margin-top:85px; }
  .desktop-icons { position:absolute; top:-67px; left:0; right:0; flex-direction:row; justify-content:center; }
  .desktop-icon { width:75px; }
  .icon-art { font-size:28px; }
  .hero-content { grid-template-columns:1fr; }
  .raccoon-stage { max-width:520px; margin:auto; }
  .story-content { grid-template-columns:1fr; }
  .sidebar { display:none; }
  .info-cards { grid-template-columns:1fr; }
  .task-button { min-width:0; width:44px; font-size:0; }
  .task-button:first-letter { font-size:18px; }
}
@media (max-width: 600px) {
  .desktop { width:calc(100% - 14px); margin-bottom:82px; }
  .hero-content { padding:24px 17px; }
  h1 { font-size:52px; }
  .window-controls span:not(.close) { display:none; }
  .story-content article { padding:22px 17px; }
  .chart-shell { height:440px; }
  .post { grid-template-columns:105px 1fr; }
  .user-panel { padding:10px 5px; }
  .avatar { width:58px; height:58px; font-size:32px; }
  .post-body { padding:40px 12px 55px; }
  .signature { left:12px; right:12px; }
  .forum-buttons { display:none; }
  .thread-title span:last-child { display:none; }
  .chart-status span:nth-child(2) { display:none; }
  .taskbar { padding-left:62px; }
  .start-orb { width:50px; height:50px; }
  .tray > span:not(.clock) { display:none; }
}
