/* Camada de refinamento visual — mantém a estrutura retrô do desktop. */
:root {
  --premium-pink: #ff6b9d;
  --premium-pink-deep: #dc477b;
  --premium-violet: #6059b8;
  --premium-navy: #20285f;
  --premium-gold: #f8cd65;
  --glass: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.52);
  --soft-shadow: 0 22px 60px rgba(16, 24, 78, 0.34);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #ffe072;
  outline-offset: 3px;
}

.boot-screen {
  background:
    radial-gradient(circle at 76% 19%, rgba(255, 119, 169, 0.17), transparent 26%),
    radial-gradient(circle at 18% 85%, rgba(118, 221, 207, 0.13), transparent 29%),
    linear-gradient(145deg, #0a102d, #171c4d 58%, #231d55);
  transition: opacity .42s ease, visibility .42s ease;
}

.boot-seen .boot-screen { display: none; }

.boot-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: radial-gradient(rgba(255,255,255,.9) .7px, transparent .8px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}

.boot-screen.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.boot-text {
  position: relative;
  overflow: hidden;
  padding: 35px 38px;
  border: 1px solid rgba(255, 222, 129, .74);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(29, 38, 94, .96), rgba(21, 27, 76, .93));
  box-shadow: 0 1px 0 rgba(255,255,255,.17) inset, 0 28px 80px #050920a8;
  backdrop-filter: blur(18px);
}

.boot-text::after {
  content: "✦";
  position: absolute;
  right: 24px;
  top: 16px;
  color: rgba(255, 213, 101, .18);
  font-size: 92px;
  line-height: 1;
}

.boot-text p {
  position: relative;
  z-index: 1;
}

.boot-text p:first-child {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.11);
  color: #adb5e8;
}

.boot-ready button {
  margin-left: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 9px;
  background: linear-gradient(#ff80a9, #ed588a);
  box-shadow: 0 4px 0 #a92f62, 0 8px 24px rgba(242, 79, 137, .32), inset 0 1px #fff7;
  transition: transform .18s ease, box-shadow .18s ease;
}

.boot-ready button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #a92f62, 0 12px 28px rgba(242, 79, 137, .38), inset 0 1px #fff7;
}

.auto-enter {
  margin-top: 17px !important;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #aeb6df;
  font-size: .72em;
  letter-spacing: .2px;
}

.auto-enter strong {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin: 0 3px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #ffe071;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px rgba(255,255,255,.1);
}

.desktop {
  background:
    radial-gradient(ellipse at 58% 42%, rgba(151, 139, 238, .82), transparent 34%),
    radial-gradient(circle at 83% 18%, rgba(255, 128, 178, .26), transparent 29%),
    radial-gradient(circle at 18% 78%, rgba(75, 211, 197, .17), transparent 32%),
    linear-gradient(145deg, #4d57ac 0%, #303b8e 48%, #1b286c 100%);
}

.desktop::before {
  opacity: .27;
  background-image:
    radial-gradient(rgba(255,255,255,.88) .75px, transparent 1.1px),
    radial-gradient(rgba(255,174,206,.9) .9px, transparent 1.25px);
  background-size: 39px 39px, 73px 73px;
  animation: starDrift 22s linear infinite;
}

.desktop::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 23%, transparent 73%, rgba(255,255,255,.04));
  box-shadow: inset 0 0 120px rgba(10, 18, 65, .24);
}

@keyframes starDrift {
  to { background-position: 39px 39px, -73px 73px; }
}

.wallpaper-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 570px;
  height: 570px;
  right: 7%;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), rgba(255,255,255,.06) 47%, transparent 68%);
  filter: blur(1px);
}

.wallpaper-art::after {
  height: 47%;
  background: linear-gradient(transparent, rgba(15,24,76,.54));
}

.rainbow {
  opacity: .5;
  filter: saturate(.93) drop-shadow(0 12px 30px rgba(16, 26, 83, .22));
}

.cloud {
  background: rgba(255,255,255,.5);
  filter: drop-shadow(0 10px 14px rgba(12, 24, 79, .18));
}

.cloud::before,
.cloud::after {
  background: rgba(255,255,255,.5);
}

.spark {
  z-index: 2;
  filter: drop-shadow(0 5px 8px rgba(32,28,94,.38));
  animation: floatSpark 4.5s ease-in-out infinite;
}

.spark-two { animation-delay: -1.4s; }
.spark-three { animation-delay: -2.7s; }

@keyframes floatSpark {
  50% { transform: translateY(-8px) rotate(5deg); }
}

.wallpaper-title {
  z-index: 5;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  background: rgba(28, 37, 99, .18);
  box-shadow: 0 12px 36px rgba(14, 23, 73, .2), inset 0 1px rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.wallpaper-title img {
  width: 176px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 6px 6px rgba(17,27,83,.29));
}

.wallpaper-title p {
  margin-top: 5px;
  letter-spacing: .3px;
  color: #f8f5ff;
}

.brenda-message {
  z-index: 6;
  border: 1px solid rgba(255,255,255,.8);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(255,245,250,.93));
  box-shadow: 0 16px 40px rgba(14,23,74,.28), inset 0 1px #fff;
  animation: messageFloat 4s ease-in-out infinite;
}

.brenda-message::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  border: 10px solid transparent;
  border-right-color: #fff8fb;
  transform: rotate(45deg);
}

@keyframes messageFloat {
  50% { transform: translateY(-5px); }
}

.site-badge {
  position: absolute;
  z-index: 7;
  top: 20px;
  right: 22px;
  display: grid;
  grid-template-columns: 9px auto;
  column-gap: 9px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 15px;
  color: white;
  background: rgba(24,32,91,.25);
  box-shadow: 0 10px 28px rgba(17,25,79,.2), inset 0 1px rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}

.site-badge i {
  grid-row: 1 / 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #71ebba;
  box-shadow: 0 0 0 4px rgba(113,235,186,.13), 0 0 13px #71ebba;
}

.site-badge span { font-size: 12px; font-weight: 700; letter-spacing: .25px; }
.site-badge small { color: #cbd0ef; font-family: Arial, sans-serif; font-size: 9px; }

.desktop-icons {
  z-index: 8;
  padding: 23px 12px 74px;
  gap: 12px;
}

.desktop-icon {
  position: relative;
  min-height: 68px;
  padding: 5px 5px 3px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.desktop-icon[href]::before {
  content: "↗";
  position: absolute;
  z-index: 2;
  left: 42px;
  top: 39px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 4px;
  color: #56509c;
  background: #fff;
  box-shadow: 0 2px 5px rgba(13,20,69,.25);
  font: 900 8px/1 Arial, sans-serif;
  text-shadow: none;
}

.desktop-icon:hover,
.desktop-icon.is-selected {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.3);
  background: linear-gradient(145deg, rgba(255,255,255,.21), rgba(255,255,255,.08));
  box-shadow: inset 0 1px rgba(255,255,255,.17), 0 9px 23px rgba(14,23,74,.18);
}

.desktop-icon:active { transform: translateY(0) scale(.97); }

.desktop-icon b {
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .1px;
  text-shadow: 0 2px 4px rgba(9,14,57,.72);
}

.desktop-icon:hover b,
.desktop-icon.is-selected b {
  background: rgba(32,39,105,.33);
}

.desktop-icon[href="colorir/"]::after {
  content: "NOVO";
  position: absolute;
  right: 2px;
  top: 1px;
  padding: 2px 4px;
  border-radius: 5px;
  color: #683f16;
  background: #ffe06f;
  box-shadow: 0 2px 6px rgba(18,26,80,.25);
  font: 700 7px/1 Arial, sans-serif;
  letter-spacing: .5px;
  text-shadow: none;
}

.icon-art {
  border: 1px solid rgba(255,255,255,.67);
  box-shadow: inset 0 2px rgba(255,255,255,.43), inset 0 -3px rgba(77,52,116,.12), 0 7px 12px rgba(10,19,68,.27);
  filter: none;
  transition: transform .2s cubic-bezier(.2,.8,.2,1.25), box-shadow .2s ease;
}

.desktop-icon:hover .icon-art {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: inset 0 2px rgba(255,255,255,.58), inset 0 -3px rgba(77,52,116,.1), 0 11px 18px rgba(10,19,68,.3);
}

.folder { border-radius: 8px; background: linear-gradient(145deg, #ffbf6d, #ee9142); }
.folder::before { background: linear-gradient(#ffc778, #f1a052); }
.folder.yellow { background: linear-gradient(145deg, #ffe985, #f4c34f); }
.folder.lavender { background: linear-gradient(145deg, #cebfff, #a48ada); }
.picture { background: linear-gradient(145deg, #ffc2d7, #fff0a7); }
.face { background: linear-gradient(145deg, #ffe69f, #f8bf72); }
.game { background: linear-gradient(145deg, #d4c6ff, #9178d8); }
.chat { background: linear-gradient(145deg, #bef5e5, #75cbb7); }

.brenda-chat { display: grid; gap: 15px; color: #24234c; }
.chat-intro { display: flex; align-items: center; gap: 15px; padding: 17px; border: 1px solid #d9d2ee; border-radius: 16px; background: linear-gradient(135deg, #fff7fb, #f0ebff 58%, #e9fbf6); box-shadow: inset 0 1px #fff, 0 10px 26px rgba(54, 44, 112, .09); }
.chat-intro h1 { margin: 4px 0 5px; color: #3f367e; font-size: 22px; }
.chat-intro p:last-child { margin: 0; color: #696783; font-size: 11px; line-height: 1.55; }
.chat-avatar { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border: 3px solid #fff; border-radius: 22px; box-shadow: 0 7px 19px rgba(224, 83, 137, .2); }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-safety { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid #ebd892; border-radius: 12px; color: #625521; background: #fff9df; font-size: 9px; }
.chat-safety strong { color: #7f6411; }
.chat-safety a { color: #6656a1; font-weight: 800; text-decoration: none; }
.chat-status { margin: 0; padding: 9px 12px; border-radius: 10px; color: #595c75; background: #f4f2f8; font-size: 10px; }
.parent-gate { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid #cde6dd; border-radius: 12px; color: #325f54; background: #effaf6; cursor: pointer; }
.parent-gate input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: #ed5f91; }
.parent-gate span { display: grid; gap: 3px; }
.parent-gate strong { font-size: 10px; }
.parent-gate small { color: #68877f; font-size: 8px; line-height: 1.45; }
.chat-messages { display: flex; flex-direction: column; gap: 9px; min-height: 150px; max-height: 280px; overflow-y: auto; padding: 13px; border: 1px solid #ddd8eb; border-radius: 14px; background: linear-gradient(#faf9fd, #fff); }
.chat-bubble { max-width: min(82%, 520px); padding: 9px 11px; border-radius: 12px; box-shadow: 0 4px 12px rgba(48, 42, 90, .06); }
.chat-bubble strong { display: block; margin-bottom: 3px; font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.chat-bubble p { margin: 0; font-size: 10px; line-height: 1.55; white-space: pre-wrap; }
.chat-bubble.brenda { align-self: flex-start; color: #4b407c; border: 1px solid #dfd7f5; border-bottom-left-radius: 4px; background: #f4efff; }
.chat-bubble.user { align-self: flex-end; color: #713350; border: 1px solid #f1cfe0; border-bottom-right-radius: 4px; background: #fff0f6; }
.chat-bubble.notice { align-self: center; max-width: 94%; color: #745e20; border: 1px solid #eadb9e; background: #fff9e6; text-align: center; }
.chat-form { padding: 11px; border: 1px solid #dcd7e8; border-radius: 14px; background: #fff; box-shadow: 0 9px 22px rgba(50, 42, 94, .08); }
.chat-form textarea { display: block; width: 100%; min-height: 56px; padding: 9px; border: 0; outline: 0; resize: vertical; color: #34334f; background: transparent; font: 11px/1.5 "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif; }
.chat-form textarea:disabled { cursor: not-allowed; opacity: .55; }
.chat-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid #efecf3; }
.chat-form-footer span { color: #9294a5; font-size: 8px; }
.chat-form-footer button { border: 0; border-radius: 9px; padding: 8px 13px; color: #fff; background: linear-gradient(#f276a2, #dc4f83); box-shadow: 0 4px 0 #a73564; font-size: 9px; font-weight: 850; cursor: pointer; }
.chat-form-footer button:disabled { color: #8c8d9a; background: #e4e3e9; box-shadow: 0 3px 0 #c6c4cd; cursor: not-allowed; }
.account-gate { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 12px; border: 1px solid #d9d2ee; border-radius: 12px; color: #51487d; background: #f6f2ff; }
.account-gate > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg,#7f6fd0,#e36394); }
.account-gate div { display: grid; gap: 3px; }
.account-gate strong { font-size: 10px; }
.account-gate small { color: #858198; font-size: 8px; }
.account-gate a { padding: 8px 10px; border-radius: 8px; color: #fff; background: #6658b3; text-decoration: none; font-size: 8px; font-weight: 850; }
.icon-art.account { border-radius: 13px; color: #fff; background: linear-gradient(145deg,#7b70cb,#ef6a99); }
.brenda-chat .is-hidden { display: none !important; }

@media (max-width: 620px) {
  .chat-intro { align-items: flex-start; }
  .chat-avatar { flex-basis: 55px; width: 55px; height: 55px; border-radius: 17px; }
  .chat-safety { grid-template-columns: 1fr; }
  .account-gate { grid-template-columns: auto 1fr; }
  .account-gate a { grid-column: 1 / -1; text-align: center; }
  .chat-bubble { max-width: 92%; }
}
.youtube { background: linear-gradient(#ff6b72, #e73c4c); }
.tiktok { background: linear-gradient(145deg, #34334d, #171827); }

.app-window {
  z-index: 18;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 18px;
  background: rgba(255,253,250,.98);
  box-shadow: 0 28px 80px rgba(9,16,60,.52), 0 3px 0 rgba(255,255,255,.66) inset, 0 0 0 7px rgba(103,94,185,.14);
  scrollbar-width: thin;
  scrollbar-color: #b9b0e8 #f1eefb;
}

.app-window[data-active-window="colorir"] {
  width: calc(100% - 210px);
  max-width: 960px;
}

.app-window:not(.is-hidden) {
  animation: windowOpen .26s cubic-bezier(.2,.82,.25,1.12) both;
}

@keyframes windowOpen {
  from { opacity: 0; scale: .96; }
}

.window-bar {
  height: 46px;
  padding: 0 10px 0 15px;
  border-bottom: 1px solid rgba(49,41,126,.42);
  background:
    radial-gradient(circle at 18px 12px, rgba(255,255,255,.4) 0 1px, transparent 2px),
    linear-gradient(100deg, #494aa5, #6d61c4 58%, #8a6cc9);
  box-shadow: inset 0 1px rgba(255,255,255,.31), 0 4px 13px rgba(40,36,112,.2);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.window-bar.is-dragging { cursor: grabbing; }

.window-bar > span::before {
  content: "✦";
  margin-right: 7px;
  color: var(--premium-gold);
}

.window-bar button {
  width: 29px;
  height: 27px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 7px;
  box-shadow: inset 0 1px rgba(255,255,255,.62), 0 2px 5px rgba(35,31,103,.22);
  transition: filter .16s ease, transform .16s ease;
  touch-action: manipulation;
}

.window-bar button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.window-bar #close-window { background: linear-gradient(#ff8caf, #eb5688); }

.window-content {
  position: relative;
  min-height: 255px;
  padding: 36px;
  background:
    radial-gradient(circle at 94% 9%, rgba(255,214,229,.48), transparent 25%),
    radial-gradient(rgba(102,91,180,.07) .8px, transparent 1px),
    #fffdf9;
  background-size: auto, 17px 17px, auto;
}

.window-heading h1,
.window-hero h1 {
  color: #45447e;
  text-wrap: balance;
}

.brenda-story {
  display: grid;
  gap: 5px;
  max-width: 560px;
  margin: 15px auto 4px;
  color: #68647d;
  font: 13px/1.35 Arial, sans-serif;
}

.brenda-story span {
  display: block;
}

.brenda-story span:nth-child(4) {
  color: #d94f80;
  font-weight: 700;
}

.window-kicker {
  color: #df4f82;
  letter-spacing: 1.65px;
}

.window-hero {
  position: relative;
  overflow: hidden;
  padding: 31px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 22px;
  box-shadow: inset 0 1px #fff, 0 12px 24px rgba(63,55,135,.12);
}

.window-hero::after {
  content: "✦";
  position: absolute;
  right: 18px;
  top: 8px;
  color: rgba(255,255,255,.62);
  font-size: 44px;
}

.window-hero.purple { background: linear-gradient(135deg, #e9e4ff, #d5ccff); }
.window-hero.mint { background: linear-gradient(135deg, #e5faf3, #c4eedf); }
.window-hero.red { background: linear-gradient(135deg, #ffe9ec, #ffd2d9); }
.window-hero.dark { background: linear-gradient(135deg, #e4e8ff, #cad1ff); }

.big-symbol {
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: inset 0 2px #fff, 0 10px 18px rgba(66,54,139,.15);
}

.coloring-file {
  padding: 19px;
  border: 1px solid #f0ce68;
  border-radius: 21px;
  background: linear-gradient(145deg, #fff7c8, #ffe998);
  box-shadow: inset 0 1px #fff, 0 13px 27px rgba(124,88,27,.13);
}

.coloring-file img {
  border: 4px solid #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(82,67,131,.18);
}

.coloring-file a {
  padding: 14px 19px;
  border: 1px solid #ffffff73;
  border-radius: 12px;
  background: linear-gradient(#8174d0, #6557b5);
  box-shadow: 0 4px 0 #4a4191, 0 10px 20px rgba(63,54,141,.19), inset 0 1px #fff5;
  transition: transform .18s ease, box-shadow .18s ease;
}

.coloring-file a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #4a4191, 0 14px 24px rgba(63,54,141,.23), inset 0 1px #fff5;
}

.coloring-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin-top: 22px;
}

.coloring-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 13px;
  border: 1px solid rgba(99,83,169,.16);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 13px 29px rgba(70,54,117,.13), inset 0 1px #fff;
}

.printable-card { background: linear-gradient(145deg, #fffef7, #fff6c9); }
.example-card { background: linear-gradient(145deg, #fff9fb, #ffe6ef); }

.coloring-label {
  position: absolute;
  z-index: 1;
  left: 21px;
  top: 21px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 8px;
  color: #fff;
  background: rgba(81,72,151,.9);
  box-shadow: 0 5px 12px rgba(45,35,105,.2);
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: .75px;
  backdrop-filter: blur(7px);
}

.example-card .coloring-label { background: rgba(234,78,127,.9); }

.coloring-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(71,53,122,.16);
}

.pdf-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.pdf-actions a {
  padding: 11px 10px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: transform .17s ease, box-shadow .17s ease;
}

.pdf-actions a:hover { transform: translateY(-2px); }

.open-pdf {
  color: #fff;
  background: linear-gradient(#8074ce, #6356b4);
  box-shadow: 0 4px 0 #4a4191, 0 9px 18px rgba(63,54,141,.18);
}

.download-pdf {
  border: 1px solid #c9bee9;
  color: #5c519a;
  background: rgba(255,255,255,.7);
}

.example-card p {
  margin: 12px 5px 2px;
  color: #766980;
  font: 12px/1.45 Arial, sans-serif;
  text-align: center;
}

@media (max-width: 560px) {
  .coloring-gallery { grid-template-columns: 1fr; }
}

.full-sheet {
  border: 5px solid #fff;
  border-radius: 17px;
  box-shadow: 0 15px 35px rgba(105,74,116,.2), 0 0 0 1px #f6bfd3;
}

.taskbar {
  z-index: 28;
  height: 54px;
  padding: 0 11px;
  border-top: 1px solid rgba(255,255,255,.37);
  background: linear-gradient(90deg, rgba(43,47,125,.94), rgba(31,39,105,.95));
  box-shadow: 0 -10px 35px rgba(10,18,68,.25), inset 0 1px rgba(255,255,255,.18);
  backdrop-filter: blur(16px) saturate(1.25);
}

.start-button {
  height: 37px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 11px;
  background: linear-gradient(145deg, #ff7aa5, #e95688);
  box-shadow: 0 4px 11px rgba(12,18,65,.3), inset 0 1px rgba(255,255,255,.55);
  transition: transform .17s ease, filter .17s ease;
}

.start-button:hover { transform: translateY(-1px); filter: brightness(1.06); }

.search-button {
  height: 35px;
  min-width: 155px;
  border: 1px solid rgba(255,255,255,.27);
  background: rgba(255,255,255,.11);
  box-shadow: inset 0 1px rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}

.open-apps button {
  height: 35px;
  padding: 0 13px;
  border-color: rgba(255,255,255,.3);
  border-radius: 9px;
  background: linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.12));
  box-shadow: inset 0 1px rgba(255,255,255,.2);
}

.system-tray {
  min-height: 37px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(16,23,77,.22);
}

.info-button {
  width: 25px;
  height: 25px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #8178d0, #5b55aa);
  box-shadow: inset 0 1px rgba(255,255,255,.38), 0 3px 8px rgba(12,18,65,.25);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease;
}

.info-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.license-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: center;
  padding: 29px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
  background: linear-gradient(135deg, #ece8ff, #d9f4ee);
  box-shadow: inset 0 1px #fff, 0 13px 28px rgba(62,51,131,.13);
}

.license-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #8075cf, #5c55ad);
  box-shadow: inset 0 2px rgba(255,255,255,.42), 0 10px 20px rgba(52,43,119,.2);
  font: 700 38px/1 Georgia, serif;
}

.license-card h1 {
  margin: 0;
  color: #45447e;
  font-size: clamp(28px,4vw,39px);
  letter-spacing: -1.3px;
}

.license-card p:not(.window-kicker) {
  margin: 11px 0 13px;
  color: #66627a;
  font: 14px/1.55 Arial, sans-serif;
}

.license-card a {
  color: #5c4dac;
  font-weight: 700;
}

.license-card small {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 7px;
  color: #fff;
  background: #5e57ab;
  font: 700 10px/1 Arial, sans-serif;
  letter-spacing: .5px;
}

.license-guidelines {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(100,83,167,.15);
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 28px rgba(59,48,120,.1), inset 0 1px #fff;
}

.license-guidelines h2 {
  margin: 0 0 15px;
  color: #4b487d;
  font-size: 21px;
  letter-spacing: -.5px;
}

.license-rule {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid #ebe7f5;
}

.license-rule > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.license-rule.allowed > span { background: #59b798; }
.license-rule.attention > span { background: #e5a93f; }
.license-rule.restricted > span { background: #e36084; }

.license-rule p {
  margin: 0;
  color: #6c687b;
  font: 13px/1.5 Arial, sans-serif;
}

.license-rule strong {
  display: block;
  margin-bottom: 3px;
  color: #514c7b;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
}

.license-footnote {
  margin: 13px 0 0;
  padding-top: 13px;
  border-top: 1px solid #ebe7f5;
  color: #8b849a;
  font: 10px/1.4 Arial, sans-serif;
  text-align: center;
}

@media (max-width: 420px) {
  .license-card {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 22px;
    text-align: center;
  }

  .license-icon { margin: 0 auto; }
}

.start-menu {
  z-index: 27;
  bottom: 53px;
  left: 10px;
  width: 280px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.87);
  border-radius: 19px 19px 8px 8px;
  background: rgba(251,250,255,.96);
  box-shadow: 0 -20px 65px rgba(10,16,61,.39), inset 0 1px #fff;
  backdrop-filter: blur(19px);
  animation: menuOpen .2s cubic-bezier(.2,.8,.2,1.08) both;
}

@keyframes menuOpen {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
}

.start-menu-heading {
  margin-bottom: 6px;
  padding: 7px 12px 13px;
  border-bottom-color: #ded8f4;
}

.start-menu-heading img {
  width: 130px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
}

.start-menu button,
.start-menu a {
  width: 100%;
  padding: 13px 12px;
  display: block;
  border: 0;
  border-radius: 10px;
  color: #535183;
  background: transparent;
  text-align: left;
  text-decoration: none;
  font-weight: 700;
  transition: background .16s ease, transform .16s ease;
}

.start-menu button:hover,
.start-menu a:hover {
  transform: translateX(3px);
  background: linear-gradient(90deg, #f0eaff, #ffeaf2);
}

@media (max-width: 760px) {
  .site-badge { top: 12px; right: 12px; transform: scale(.88); transform-origin: right top; }
  .desktop-icons { padding: 15px 5px 65px; }
  .desktop-icon { min-height: 63px; }
  .app-window { border-radius: 15px; }
  .app-window[data-active-window="colorir"] { width: calc(100% - 26px); }
  .window-bar { height: 43px; }
  .window-content { padding: 24px; }
  .taskbar { height: 50px; padding: 0 6px; }
  .start-menu { bottom: 49px; left: 6px; width: min(280px, calc(100% - 12px)); }
  .system-tray { padding: 0 6px; }
}

@media (max-width: 420px) {
  .site-badge small { display: none; }
  .site-badge { grid-template-columns: 8px auto; padding: 8px 10px; }
  .brenda-message { animation: none; }
  .window-content { padding: 19px; }
  .window-hero { padding: 22px; }
  .taskbar { height: 46px; }
  .start-menu { bottom: 45px; }
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 18px;
}

.social-link {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 9px 21px rgba(29,28,88,.15), inset 0 1px rgba(255,255,255,.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(29,28,88,.22), inset 0 1px rgba(255,255,255,.34);
}

.social-link > span {
  width: 42px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
  font-size: 21px;
}

.social-link div { display: grid; gap: 2px; }
.social-link strong { font-size: 15px; }
.social-link small { color: rgba(255,255,255,.78); font: 11px Arial, sans-serif; }
.social-link b { font-size: 20px; }
.youtube-channel { background: linear-gradient(135deg, #ff656b, #d93647); }
.tiktok-channel { background: linear-gradient(135deg, #35344d, #171824); }
.x-channel {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #35384b, #11131d);
}

.channel-button {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 0 rgba(48,40,100,.26), 0 9px 18px rgba(45,37,105,.14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.channel-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(48,40,100,.26), 0 13px 22px rgba(45,37,105,.19); }
.youtube-button { background: linear-gradient(#ff6970, #db3f4d); }
.tiktok-button { background: linear-gradient(#3e3c57, #202132); }

.games-heading > p:not(.window-kicker) {
  margin-bottom: 22px;
}

.game-library {
  display: grid;
  gap: 18px;
  max-width: 580px;
  margin: 0 auto;
}

.game-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  border: 1px solid rgba(139, 119, 205, .2);
  border-radius: 23px;
  background: rgba(255, 255, 255, .92);
  box-shadow: inset 0 1px #fff, 0 17px 32px rgba(58, 48, 126, .14);
}

.game-card-art {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 24%, rgba(255,255,255,.95) 0 4px, transparent 5px),
    radial-gradient(circle at 78% 73%, rgba(255,255,255,.75) 0 5px, transparent 6px),
    linear-gradient(145deg, #c9f1e3, #a997e7 58%, #ff9fc1);
}

.game-card-art::before,
.game-card-art::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  border: 2px solid rgba(255,255,255,.42);
  border-radius: 50%;
}

.game-card-art::before { left: -31px; bottom: -25px; }
.game-card-art::after { right: -28px; top: -24px; }

.game-card-art > span {
  position: relative;
  z-index: 1;
  font-size: 82px;
  filter: drop-shadow(0 9px 7px rgba(55, 37, 112, .22));
  transform: rotate(-5deg);
}

.game-card-art i {
  position: absolute;
  color: #fff;
  font-size: 24px;
  font-style: normal;
  text-shadow: 0 3px rgba(72, 50, 136, .15);
}

.game-card-art i:nth-of-type(1) { left: 26px; top: 30px; transform: rotate(-12deg); }
.game-card-art i:nth-of-type(2) { right: 24px; bottom: 29px; transform: rotate(10deg); }

.wardrobe-card-art {
  background: linear-gradient(145deg, #fff2f7, #e9e0ff);
}

.wardrobe-card-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.letters-card-art {
  background: linear-gradient(145deg, #ffe5ef, #e6e0ff 55%, #dbf8ef);
}

.letters-card-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.puzzle-card-art {
  background: linear-gradient(145deg, #dff6ff, #fff0f6 56%, #e6f7d6);
}

.puzzle-card-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.coloring-game-card-art {
  background: linear-gradient(145deg, #fff, #ffe8f1 58%, #e8e1ff);
}

.coloring-game-card-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discover-card-art {
  background: linear-gradient(145deg, #dff7ff, #f5e8ff 54%, #fff4b8);
}

.discover-card-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.game-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 25px;
}

.game-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7faf3;
  color: #3a967c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.game-card h2 {
  margin: 10px 0 6px;
  color: #48447e;
  font-size: 25px;
  line-height: 1.05;
}

.game-card p {
  margin: 0 0 17px;
  color: #747087;
  font-family: Arial, sans-serif;
  line-height: 1.45;
}

.play-game-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  background: linear-gradient(145deg, #957fe0, #6855b7);
  box-shadow: inset 0 1px rgba(255,255,255,.45), 0 7px 13px rgba(86, 65, 166, .24);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.play-game-button:hover,
.play-game-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px rgba(255,255,255,.45), 0 10px 18px rgba(86, 65, 166, .3);
}

.window-page-link {
  width: fit-content;
  min-height: 42px;
  margin: 20px auto 0;
  padding: 11px 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #f6759f, #d94c7f);
  box-shadow: inset 0 1px rgba(255,255,255,.46), 0 7px 14px rgba(173,54,105,.2);
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease;
}

.window-page-link:hover,
.window-page-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px rgba(255,255,255,.46), 0 10px 19px rgba(173,54,105,.27);
}

.game-card small {
  margin-top: 10px;
  color: #918ca0;
  font: 11px/1.35 Arial, sans-serif;
}

@media (max-width: 560px) {
  .social-links { grid-template-columns: 1fr; }
  .x-channel { grid-column: auto; }
  .game-card { grid-template-columns: 1fr; }
  .game-card-art { min-height: 150px; }
  .game-card-art > span { font-size: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
