/* =========================================================
       CUSTOMIZE HERE: change these colors to make the site yours
       ========================================================= */
    :root {
      --ink: #26352f;
      --muted: #66736b;
      --paper: #fffdf4;
      --paper-2: #f4f0d8;
      --mint: #d7ebcf;
      --mint-dark: #9cc28f;
      --pink: #f5c8cb;
      --yellow: #f6df8c;
      --blue: #c7ddea;
      --line: #789276;
      --shadow: rgba(38, 53, 47, .20);
      --display: Georgia, "Times New Roman", serif;
      --body: "Trebuchet MS", Verdana, sans-serif;
      --pixel: "Courier New", monospace;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      color: var(--ink);
      font-family: var(--body);
      font-size: 15px;
      line-height: 1.55;
      background-color: #dcebd1;
      background-image:
        linear-gradient(45deg, rgba(255,255,255,.38) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.38) 75%),
        linear-gradient(45deg, rgba(255,255,255,.38) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.38) 75%),
        radial-gradient(rgba(68, 100, 73, .16) 1px, transparent 1px);
      background-position: 0 0, 14px 14px, 0 0;
      background-size: 28px 28px, 28px 28px, 7px 7px;
    }

    a { color: #865565; font-weight: 700; }
    a:hover, a:focus { color: #3e756c; }
    img { max-width: 100%; height: auto; }

    .site-wrap {
      width: min(1120px, calc(100% - 28px));
      margin: 24px auto 44px;
    }

    .top-strip {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      padding: 6px 12px;
      border: 2px solid var(--line);
      background: var(--yellow);
      box-shadow: 4px 4px 0 var(--shadow);
      font: 700 12px var(--pixel);
      letter-spacing: .03em;
    }

    .site-shell {
      margin-top: 12px;
      border: 3px double var(--line);
      padding: 12px;
      background: rgba(255, 253, 244, .78);
      box-shadow: 8px 8px 0 var(--shadow);
    }

    header {
      position: relative;
      overflow: hidden;
      min-height: 172px;
      padding: 30px 34px 22px;
      border: 2px solid var(--line);
      background:
        linear-gradient(135deg, rgba(255,255,255,.7), transparent 45%),
        repeating-linear-gradient(0deg, transparent, transparent 25px, rgba(89,130,92,.10) 26px),
        var(--mint);
    }

    header::after {
      content: "✦  ✿  ✦  ✿  ✦";
      position: absolute;
      right: 22px;
      bottom: 12px;
      color: #639070;
      font-size: 19px;
      letter-spacing: 8px;
      transform: rotate(-5deg);
    }

    .eyebrow {
      margin: 0 0 2px;
      font: 700 12px var(--pixel);
      text-transform: uppercase;
      letter-spacing: .15em;
    }

    h1, h2, h3 { margin-top: 0; }
    h1 {
      margin-bottom: 4px;
      font: 700 clamp(2.5rem, 7vw, 5.4rem)/.95 var(--display);
      color: #4e785e;
      text-shadow: 3px 3px 0 #fff5bf;
    }

    .tagline {
      max-width: 600px;
      margin: 0;
      font-family: var(--display);
      font-size: 1.08rem;
    }

    .layout {
      display: grid;
      grid-template-columns: 205px minmax(0, 1fr) 205px;
      gap: 13px;
      margin-top: 13px;
      align-items: start;
    }

    .column { display: grid; gap: 13px; }

    .card {
      border: 2px solid var(--line);
      padding: 12px;
      background: var(--paper);
      box-shadow: 4px 4px 0 var(--shadow);
    }

    .card:nth-child(2n) { background: var(--paper-2); }

    .card-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin: -12px -12px 10px;
      padding: 5px 9px;
      border-bottom: 2px solid var(--line);
      background: var(--pink);
      font: 700 14px var(--pixel);
      text-transform: lowercase;
    }

    .card-title span { color: #754858; }

    .nav-list, .link-list, .todo-list, .blog-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .nav-list li { border-bottom: 1px dashed #9cb39a; }
    .nav-list a {
      display: block;
      padding: 5px 2px;
      text-decoration: none;
    }
    .nav-list a::before { content: "↳ "; color: #6c9c76; }

    .stamp-row {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 9px;
    }

    .stamp {
      display: inline-block;
      padding: 3px 5px;
      border: 1px solid #778d70;
      background: #e4f1dc;
      color: #536c59;
      font: 700 10px var(--pixel);
      text-decoration: none;
      box-shadow: 2px 2px 0 rgba(77, 104, 80, .18);
    }

    .profile {
      display: grid;
      grid-template-columns: 78px 1fr;
      gap: 10px;
      align-items: center;
    }

    .avatar {
      display: grid;
      place-items: center;
      width: 78px;
      height: 78px;
      border: 2px solid var(--line);
      background: var(--pink);
      font-size: 38px;
      filter: saturate(.8);
    }

    .profile p { margin: 0; }
    .profile strong { font-family: var(--display); font-size: 1.35rem; }
    .tiny { color: var(--muted); font-size: .82rem; }

    .welcome {
      padding: 16px;
      border: 2px dashed #9b8290;
      background: #fff9e8;
      font-family: var(--display);
      font-size: 1.08rem;
    }

    .welcome p:last-child { margin-bottom: 0; }

    .notice {
      margin: 12px 0 0;
      padding: 8px 10px;
      border-left: 5px solid #cf8f9e;
      background: #fbe5dd;
      font-family: var(--pixel);
      font-size: .8rem;
    }

    .section-heading {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
      border-bottom: 2px dotted var(--line);
      padding-bottom: 4px;
      margin-bottom: 10px;
    }

    .section-heading h2 { margin: 0; font: 700 1.35rem var(--display); }
    .section-heading small { font: 700 10px var(--pixel); color: var(--muted); }

    .updates { display: grid; gap: 8px; }
    .update { display: grid; grid-template-columns: 75px 1fr; gap: 8px; }
    .date { color: #865565; font: 700 11px var(--pixel); }
    .update p { margin: 0; }

    .mini-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }

    .mini-note {
      min-height: 76px;
      padding: 8px;
      border: 1px solid #a9a779;
      background: #fff1a9;
      transform: rotate(-1deg);
    }
    .mini-note:nth-child(2) { background: #d8ebf1; transform: rotate(1.5deg); }
    .mini-note:nth-child(3) { background: #f6d7dc; transform: rotate(.5deg); }
    .mini-note:nth-child(4) { background: #e2efd0; transform: rotate(-1.5deg); }
    .mini-note strong { display: block; font: 700 11px var(--pixel); }
    .mini-note span { font-size: .85rem; }

    .todo-list li { margin: 4px 0; font-size: .9rem; }
    .todo-list li::before { content: "□ "; color: #8e5e6d; font-weight: 700; }
    .todo-list li.done { text-decoration: line-through; color: var(--muted); }
    .todo-list li.done::before { content: "☑ "; }

    .button-wall {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }

    .web-button {
      display: inline-grid;
      place-items: center;
      min-width: 78px;
      min-height: 28px;
      padding: 3px 6px;
      border: 2px outset #e8f0d1;
      background: #8eb794;
      color: #fffdf4;
      font: 700 10px var(--pixel);
      text-align: center;
      text-decoration: none;
      text-shadow: 1px 1px 0 #52715a;
    }
    .web-button:hover { color: white; background: #c5879b; }

    .mood { display: flex; gap: 5px; align-items: center; font-family: var(--pixel); font-size: .82rem; }
    .mood-dot { width: 11px; height: 11px; border-radius: 50%; background: #e2b74e; box-shadow: 0 0 0 2px #f7e7a4; }

    .fake-player { background: #d8e8ef !important; }
    .track { font: 700 11px var(--pixel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .player-controls { display: flex; gap: 5px; margin-top: 8px; }
    .player-controls button, .theme-button {
      border: 1px solid var(--line);
      background: var(--paper);
      color: var(--ink);
      padding: 3px 7px;
      font: 700 11px var(--pixel);
      cursor: pointer;
    }
    .player-controls button:hover, .theme-button:hover { background: var(--yellow); }

    footer {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 13px;
      padding: 10px 12px;
      border: 2px solid var(--line);
      background: var(--mint);
      font: 11px var(--pixel);
    }

    .footer-links { display: flex; gap: 12px; flex-wrap: wrap; }

    @media (max-width: 900px) {
      .layout { grid-template-columns: 180px minmax(0, 1fr); }
      .right-column { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); align-items: start; }
    }

    @media (max-width: 650px) {
      .site-wrap { width: min(100% - 14px, 550px); margin-top: 10px; }
      .site-shell { padding: 7px; }
      header { padding: 22px 18px 18px; }
      .layout, .right-column { display: block; }
      .column, .right-column { margin-top: 10px; }
      .card { margin-bottom: 10px; }
      .top-strip { align-items: flex-start; flex-direction: column; gap: 2px; }
    }

    /* Optional dark-ish night mode, toggled by the button in the sidebar. */
    body.night {
      --ink: #e7ecd7;
      --muted: #b5c2ae;
      --paper: #26392f;
      --paper-2: #30483b;
      --mint: #2b493a;
      --mint-dark: #668f71;
      --pink: #704e63;
      --yellow: #75683a;
      --blue: #3f5f68;
      --line: #8db092;
      --shadow: rgba(0,0,0,.35);
      background-color: #18261e;
      background-image: linear-gradient(45deg, rgba(255,255,255,.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.04) 75%), linear-gradient(45deg, rgba(255,255,255,.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.04) 75%);
    }
    body.night h1 { color: #b8d9a5; text-shadow: 3px 3px 0 #384a3d; }

    /* =========================================================
       Cute draggable window
       ========================================================= */
    .cute-window {
      position: fixed;
      z-index: 9999;
      display: block;
      visibility: visible;
      opacity: 1;
      top: 72px;
      right: 18px;
      width: min(275px, calc(100vw - 36px));
      border: 3px double var(--line);
      background: var(--paper);
      box-shadow: 7px 7px 0 var(--shadow);
      transform: rotate(1deg);
      user-select: none;
    }

    .cute-window.is-dragging {
      cursor: grabbing;
      transform: rotate(0deg) scale(1.02);
      box-shadow: 10px 10px 0 var(--shadow);
    }

    .cute-window.is-hidden { display: none !important; }
    #memo-launcher { display: inline-block; }
    #memo-launcher.is-visible { display: inline-block; }

    .cute-window__bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 5px 8px;
      border-bottom: 2px solid var(--line);
      background: var(--pink);
      color: #754858;
      font: 700 12px var(--pixel);
      cursor: grab;
      touch-action: none;
    }

    .cute-window__bar:active { cursor: grabbing; }

    .cute-window__close {
      display: grid;
      place-items: center;
      width: 20px;
      height: 20px;
      border: 1px solid var(--line);
      background: var(--paper);
      color: var(--ink);
      font: 700 16px/1 var(--pixel);
      cursor: pointer;
    }

    .cute-window__close:hover { background: var(--yellow); }

    .cute-window__body {
      padding: 12px;
      background:
        radial-gradient(rgba(133, 85, 101, .12) 1px, transparent 1px),
        var(--paper);
      background-size: 7px 7px;
      font-size: .88rem;
    }

    .cute-window__body p { margin: 0 0 8px; }
    .cute-window__body p:first-child { color: #865565; font-family: var(--display); font-size: 1.05rem; }
    .cute-window__body a { font: 700 11px var(--pixel); }

    @media (max-width: 650px) {
      .cute-window {
        top: auto;
        right: 18px;
        bottom: 18px;
      }
    }

    /* =========================================================
       Pink scrapbook skin inspired by colorful personal homepages
       ========================================================= */
    body {
      color: #6f455b;
      background-color: #ffd8e5;
      background-image:
        radial-gradient(circle at 12px 12px, rgba(255,255,255,.78) 0 3px, transparent 3.5px),
        linear-gradient(90deg, rgba(255,255,255,.28) 50%, transparent 50%),
        linear-gradient(rgba(255,255,255,.28) 50%, transparent 50%);
      background-size: 24px 24px, 48px 48px, 48px 48px;
      font-family: "Trebuchet MS", Verdana, sans-serif;
    }

    a { color: #d14f8b; }
    a:hover, a:focus { color: #7b6bc2; }

    .site-wrap {
      width: min(930px, calc(100% - 24px));
      margin: 18px auto 40px;
    }

    .top-strip {
      border: 2px solid #d77ca6;
      background: linear-gradient(#fff3fa, #ffc1df);
      color: #8d4b6e;
      box-shadow: 3px 3px 0 rgba(183, 94, 139, .28);
      border-radius: 4px;
    }

    .site-shell {
      border: 4px solid #ef9ec4;
      padding: 9px;
      background: rgba(255, 247, 252, .9);
      box-shadow: 0 0 0 4px rgba(255,255,255,.72), 8px 8px 0 rgba(180, 89, 135, .22);
      border-radius: 8px;
    }

    header {
      min-height: 192px;
      padding: 30px 30px 22px;
      border: 3px solid #de78b0;
      border-radius: 5px;
      background:
        radial-gradient(circle at 78% 42%, rgba(255,255,255,.85) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 27%, rgba(255,255,255,.78) 0 3px, transparent 4px),
        linear-gradient(120deg, rgba(255,255,255,.48), transparent 35%),
        linear-gradient(135deg, #ffd3ec, #f5a9d2 58%, #d7bbef);
      box-shadow: inset 0 0 0 4px rgba(255,255,255,.42);
    }

    header::before {
      content: "♡  welcome to my homepage  ♡";
      position: absolute;
      top: 10px;
      right: 16px;
      color: #b85f91;
      font: 700 11px var(--pixel);
      letter-spacing: .04em;
    }

    header::after {
      content: "✦  ✿  ♡  ✿  ✦";
      right: 20px;
      bottom: 12px;
      color: #fff;
      text-shadow: 1px 1px 0 #bd6c99;
    }

    .eyebrow {
      color: #ab4d82;
      letter-spacing: .1em;
    }

    h1 {
      color: #e34893;
      font-family: Georgia, "Times New Roman", serif;
      font-style: italic;
      font-size: clamp(2.8rem, 8vw, 5.8rem);
      text-shadow: 2px 2px 0 #fff, 4px 4px 0 #f4a9cb;
    }

    .tagline { color: #754b67; }

    .layout {
      grid-template-columns: 180px minmax(0, 1fr) 180px;
      gap: 9px;
      margin-top: 10px;
    }

    .column { gap: 9px; }

    .card {
      border: 2px solid #e68bb6;
      padding: 10px;
      background-color: #fff9fd;
      background-image: radial-gradient(rgba(222, 117, 174, .11) 1px, transparent 1px);
      background-size: 7px 7px;
      box-shadow: 3px 3px 0 rgba(184, 101, 145, .22);
      border-radius: 3px;
    }

    .card:nth-child(2n) { background-color: #fff0f8; }

    .card-title {
      margin: -10px -10px 9px;
      padding: 6px 8px;
      border-bottom: 2px solid #e68bb6;
      background:
        linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,0)),
        repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.27) 8px 12px),
        #f7b3d4;
      color: #9e4c78;
      text-shadow: 1px 1px 0 #fff;
      font-size: 13px;
    }

    .card-title span { color: #9e4c78; }

    .nav-list li { border-bottom: 1px dashed #e8aac8; }
    .nav-list a { padding: 5px 2px; }
    .nav-list a::before { content: "♡ "; color: #e56ca5; }

    .stamp {
      border: 1px solid #d47ca6;
      background: linear-gradient(#fff, #ffd6ea);
      color: #a14b78;
      box-shadow: 2px 2px 0 rgba(187, 94, 142, .18);
    }

    .avatar {
      border-color: #de82b1;
      background: linear-gradient(135deg, #ffe5f2, #f6b9d7);
      box-shadow: inset 0 0 0 4px rgba(255,255,255,.5);
    }

    .welcome {
      border: 2px dashed #e18ab7;
      background: #fffafd;
      color: #7b4e69;
      font-size: 1.04rem;
      background-image: radial-gradient(rgba(222, 117, 174, .13) 1px, transparent 1px);
      background-size: 8px 8px;
    }

    .notice {
      border-left-color: #dc73aa;
      background: #ffe1ef;
      color: #874e70;
    }

    .section-heading { border-bottom-color: #e7a4c5; }
    .section-heading h2 { color: #d25691; }
    .section-heading small { color: #a15b7d; }
    .date { color: #c0548c; }

    .mini-note { border-color: #df9db9; box-shadow: 2px 2px 0 rgba(179, 88, 132, .16); }
    .mini-note:nth-child(1) { background: #fff0a8; }
    .mini-note:nth-child(2) { background: #cfeaf0; }
    .mini-note:nth-child(3) { background: #ffd3e4; }
    .mini-note:nth-child(4) { background: #dff0c9; }

    .web-button {
      border-color: #fff;
      background: linear-gradient(#f5a8d0, #d75d9d);
      color: #fff;
      text-shadow: 1px 1px 0 #a74779;
      box-shadow: 2px 2px 0 rgba(177, 86, 131, .27);
    }
    .web-button:hover { color: #fff; background: linear-gradient(#bca3e8, #8170c4); }

    .fake-player { background: #d7eff2 !important; border-color: #8ccbd0; }
    .fake-player .card-title { background: #aee1e5; border-color: #8ccbd0; color: #4d8590; }

    footer {
      border-color: #df82ae;
      background: linear-gradient(#ffe0ef, #ffc1dc);
      color: #8d4b6e;
    }

    .cute-window {
      border-color: #d975a8;
      background: #fff7fc;
      box-shadow: 7px 7px 0 rgba(174, 82, 129, .28);
    }
    .cute-window__bar { background: linear-gradient(#ffd9ec, #f2a8cd); color: #994a77; border-color: #d975a8; }
    .cute-window__body { background-color: #fff7fc; background-image: radial-gradient(rgba(222, 117, 174, .16) 1px, transparent 1px); }
    .cute-window__body p:first-child { color: #d45291; }

    body.night {
      background-color: #3c2942;
      background-image: radial-gradient(circle at 12px 12px, rgba(255,255,255,.12) 0 3px, transparent 3.5px), linear-gradient(90deg, rgba(255,255,255,.04) 50%, transparent 50%), linear-gradient(rgba(255,255,255,.04) 50%, transparent 50%);
      background-size: 24px 24px, 48px 48px, 48px 48px;
    }

    .pixel-decor {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 7px;
      min-height: 34px;
      padding: 5px 8px;
      border: 2px solid #e794bb;
      background: repeating-linear-gradient(90deg, #fff4fb 0 12px, #ffd8eb 12px 24px);
      color: #c15a91;
      font: 700 10px var(--pixel);
      text-align: center;
      box-shadow: 2px 2px 0 rgba(184, 89, 135, .18);
    }

    .pixel-decor img {
      width: auto;
      height: 20px;
      image-rendering: pixelated;
    }

    .retro-chatbox {
      background: #fff0f8 !important;
    }

    .chatbox-screen {
      height: 156px;
      overflow-y: auto;
      padding: 7px;
      border: 3px inset #f3b0d1;
      background: #fff;
      color: #553e55;
      font: 11px/1.35 var(--pixel);
    }

    .chat-message {
      margin-bottom: 7px;
      padding: 5px 6px;
      border: 1px dashed #d783af;
      background: #fff8fc;
    }

    .chat-message:nth-child(even) { background: #f8f2ff; }

    .chat-name {
      color: #d14f8b;
      font-weight: 700;
    }

    .chat-time {
      float: right;
      color: #a98ca5;
      font-size: 9px;
    }

    .chat-message p { margin: 4px 0 0; }

    .chatbox-form {
      display: grid;
      gap: 4px;
      margin-top: 8px;
      font: 700 10px var(--pixel);
      color: #9e4c78;
    }

    .chatbox-form input,
    .chatbox-form textarea {
      width: 100%;
      border: 2px inset #f0afd0;
      padding: 5px;
      background: #fff;
      color: #553e55;
      font: 11px var(--pixel);
      resize: vertical;
    }

    .chatbox-form .web-button {
      justify-self: start;
      border: 2px outset #fff;
      cursor: pointer;
    }

    .chatbox-note {
      margin: 8px 0 0;
      color: #a26d89;
      font: 9px/1.35 var(--pixel);
    }

    /* Complete dark-mode override for the pink scrapbook skin. */
    body.night {
      color: #eee3f0;
      background-color: #30243a;
      background-image:
        radial-gradient(circle at 12px 12px, rgba(255,255,255,.12) 0 3px, transparent 3.5px),
        linear-gradient(90deg, rgba(255,255,255,.04) 50%, transparent 50%),
        linear-gradient(rgba(255,255,255,.04) 50%, transparent 50%);
      background-size: 24px 24px, 48px 48px, 48px 48px;
    }

    body.night a { color: #ffc0e6; }
    body.night a:hover,
    body.night a:focus { color: #cfc4ff; }

    body.night .top-strip {
      border-color: #a577b1;
      background: linear-gradient(#5b426c, #3c2d4c);
      color: #f0d9ee;
    }

    body.night .site-shell {
      border-color: #a577b1;
      background: rgba(45, 34, 56, .92);
      box-shadow: 0 0 0 4px rgba(32, 23, 42, .6), 8px 8px 0 rgba(10, 7, 15, .4);
    }

    body.night header {
      border-color: #b274ab;
      background:
        radial-gradient(circle at 78% 42%, rgba(255,255,255,.25) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 27%, rgba(255,255,255,.2) 0 3px, transparent 4px),
        linear-gradient(135deg, #5d426d, #75486f 58%, #4c507f);
      box-shadow: inset 0 0 0 4px rgba(255,255,255,.1);
    }

    body.night header::before { color: #f4c0e0; }
    body.night header::after { color: #f7d4ee; text-shadow: 1px 1px 0 #6c4871; }
    body.night .eyebrow,
    body.night .tagline { color: #ead6e7; }
    body.night h1 { color: #ffd2ef; text-shadow: 2px 2px 0 #7c4f83, 4px 4px 0 #3c2b50; }

    body.night .card,
    body.night .retro-chatbox { 
      border-color: #a577b1;
      background-color: #3c2f49 !important;
      background-image: radial-gradient(rgba(255, 190, 231, .08) 1px, transparent 1px);
      box-shadow: 3px 3px 0 rgba(12, 8, 17, .35);
    }

    body.night .card-title {
      border-color: #a577b1;
      background: linear-gradient(#805375, #62405f);
      color: #f8d9ed;
      text-shadow: 1px 1px 0 #422f4a;
    }

    body.night .card-title span,
    body.night .section-heading h2,
    body.night .chat-name,
    body.night .cute-window__body p:first-child { color: #ffc4e7; }

    body.night .nav-list li { border-bottom-color: #725477; }
    body.night .nav-list a::before { color: #f4a8d5; }
    body.night .tiny,
    body.night .section-heading small,
    body.night .chatbox-note,
    body.night .chat-time { color: #cbb7ce; }

    body.night .avatar { border-color: #a577b1; background: linear-gradient(135deg, #69496e, #85577b); }
    body.night .welcome { border-color: #aa79a8; background-color: #44344e; color: #eedced; }
    body.night .notice { border-left-color: #d78dbb; background: #593b54; color: #f1d8e9; }
    body.night .section-heading { border-bottom-color: #77547c; }
    body.night .date { color: #f2add3; }

    body.night .mini-note:nth-child(1) { background: #746143; }
    body.night .mini-note:nth-child(2) { background: #3e6670; }
    body.night .mini-note:nth-child(3) { background: #714b60; }
    body.night .mini-note:nth-child(4) { background: #506446; }
    body.night .mini-note { border-color: #aa8cae; color: #f5e6ef; }

    body.night .stamp {
      border-color: #a577b1;
      background: linear-gradient(#674c70, #47364f);
      color: #f3d8ec;
    }

    body.night .fake-player { background: #354f58 !important; border-color: #7faeb5; }
    body.night .fake-player .card-title { background: #416b72; border-color: #7faeb5; color: #d7f2f1; }
    body.night .player-controls button,
    body.night .theme-button { border-color: #a577b1; background: #493653; color: #f5dfed; }
    body.night .player-controls button:hover,
    body.night .theme-button:hover { background: #71547b; }

    body.night .pixel-decor { border-color: #a577b1; background: repeating-linear-gradient(90deg, #45324f 0 12px, #593d5e 12px 24px); color: #f6c0df; }
    body.night .chatbox-screen { border-color: #a577b1; background: #251d2d; color: #ead9e8; }
    body.night .chat-message { border-color: #765579; background: #3c2d47; }
    body.night .chat-message:nth-child(even) { background: #443454; }
    body.night .chatbox-form { color: #f1bfdd; }
    body.night .chatbox-form input,
    body.night .chatbox-form textarea { border-color: #a577b1; background: #2d2438; color: #f1e2ef; }

    body.night footer { border-color: #a577b1; background: linear-gradient(#674b68, #493551); color: #efd7e8; }
    body.night .cute-window { border-color: #a577b1; background: #3b2d47; box-shadow: 7px 7px 0 rgba(10, 7, 15, .4); }
    body.night .cute-window__bar { background: linear-gradient(#805375, #62405f); color: #f8d9ed; border-color: #a577b1; }
    body.night .cute-window__close { border-color: #a577b1; background: #44334f; color: #f5dfed; }
    body.night .cute-window__body { background-color: #3b2d47; background-image: radial-gradient(rgba(255, 190, 231, .08) 1px, transparent 1px); color: #ead9e8; }

/* Final layout and SoundCloud fixes */
@media (min-width: 781px) {
  .site-shell .layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 180px;
    align-items: start;
  }

  .site-shell .left-column { grid-column: 1; }
  .site-shell .center-column { grid-column: 2; }
  .site-shell .right-column { grid-column: 3; }
}

iframe#soundcloud-player,
iframe.soundcloud-engine {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.song-credit {
  display: block;
  margin-top: 6px;
  font-size: 10px;
}

#my-play-button {
  margin-top: 8px;
}


/* Independent journal/blog page */
.blog-shell {
  position: relative;
}

.blog-header {
  background:
    radial-gradient(circle at 8% 30%, rgba(255,255,255,.5) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 65%, rgba(255,255,255,.55) 0 3px, transparent 4px),
    linear-gradient(135deg, #f7b4d5, #ffd5e8 52%, #e4c9f0);
}

.blog-header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.blog-header-links a,
.read-more,
.side-link {
  display: inline-block;
  padding: 4px 7px;
  border: 1px solid #d975a8;
  background: #fff5fb;
  color: #9e4c78;
  font: 700 11px var(--pixel);
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(184,101,145,.2);
}

.blog-header-links a:hover,
.read-more:hover,
.side-link:hover {
  background: #f8c1dc;
  color: #713b5c;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.blog-main {
  min-width: 0;
}

.blog-featured-box {
  position: relative;
  padding: 18px 20px 20px;
  border: 3px solid #d975a8;
  background: #fff8fc;
  background-image: radial-gradient(rgba(222,117,174,.11) 1px, transparent 1px);
  background-size: 8px 8px;
  box-shadow: 5px 5px 0 rgba(184,101,145,.22);
}

.blog-featured-box::after {
  content: "featured";
  position: absolute;
  top: 13px;
  right: -10px;
  padding: 4px 8px;
  background: #f5b0d0;
  border: 2px solid #c96d9c;
  color: #793d5e;
  font: 700 10px var(--pixel);
  transform: rotate(4deg);
}

.blog-box-label,
.post-card-top,
.post-byline,
.entry-meta,
.quote-source {
  color: #a26d89;
  font: 10px var(--pixel);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.blog-featured-box h2 {
  max-width: 80%;
  margin: 10px 0 7px;
  color: #c4518c;
  font: italic 700 clamp(1.7rem, 4vw, 2.8rem) Georgia, serif;
  line-height: 1;
}

.blog-featured-box p:not(.post-byline) {
  max-width: 720px;
  line-height: 1.65;
}

.post-signature {
  margin-top: 16px;
  color: #c4518c;
  font: italic 12px Georgia, serif;
  text-align: right;
}

.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.post-card {
  min-height: 210px;
  padding: 13px;
  border: 2px solid #bd84a1;
  color: #633f51;
  box-shadow: 3px 3px 0 rgba(111,68,91,.16);
  transform: rotate(-.4deg);
}

.post-card:nth-child(even) { transform: rotate(.6deg); }
.post-card-yellow { background: #fff0a9; }
.post-card-blue { background: #ccecf0; }
.post-card-pink { background: #f9c5df; }
.post-card-green { background: #d7edbb; }

.post-card h3 {
  margin: 12px 0 8px;
  color: #76465d;
  font: italic 700 21px Georgia, serif;
  line-height: 1.05;
}

.post-card p {
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.5;
}

.post-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #7f5870;
}

.read-more {
  border-color: rgba(126,78,102,.55);
  background: rgba(255,255,255,.45);
  color: #70435b;
}

.notebook-box {
  position: relative;
  margin-top: 16px;
  padding: 35px 20px 16px;
  min-height: 155px;
  border: 2px solid #a9c0dc;
  background: repeating-linear-gradient(#fffdf3 0 25px, #c8dcef 26px 27px);
  box-shadow: 4px 4px 0 rgba(106,139,172,.22);
  transform: rotate(-.7deg);
}

.notebook-title {
  position: absolute;
  top: -11px;
  left: 16px;
  padding: 5px 9px;
  border: 2px solid #86a5c5;
  background: #d9ecf5;
  color: #55728f;
  font: 700 12px var(--pixel);
}

.notebook-box ul {
  margin: 0;
  padding-left: 20px;
  line-height: 25px;
}

.blog-sidebar {
  display: grid;
  gap: 11px;
}

.side-box {
  padding: 11px;
  border: 2px solid #db82b0;
  background: #fff4fa;
  background-image: radial-gradient(rgba(222,117,174,.1) 1px, transparent 1px);
  background-size: 7px 7px;
  box-shadow: 3px 3px 0 rgba(184,101,145,.18);
}

.side-box:nth-child(2n) { background-color: #edf8fb; border-color: #8fbac6; }
.side-box:nth-child(3n) { background-color: #fff7c9; border-color: #d8b768; }

.side-box-title {
  display: flex;
  justify-content: space-between;
  margin: -11px -11px 10px;
  padding: 6px 8px;
  border-bottom: 2px solid currentColor;
  background: rgba(255,255,255,.4);
  color: #9a5076;
  font: 700 11px var(--pixel);
  text-transform: lowercase;
}

.side-box > a:not(.side-link) {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 2px;
  border-bottom: 1px dashed rgba(158,76,120,.35);
  color: #78455f;
  font-size: 12px;
  text-decoration: none;
}

.side-box > a:hover { color: #d34c91; }
.side-box b { color: #d34c91; }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-cloud a {
  padding: 4px 6px;
  border: 1px dashed #c782a4;
  background: rgba(255,255,255,.55);
  color: #88506f;
  font: 10px var(--pixel);
  text-decoration: none;
}

.tag-cloud a:hover { background: #ffc5df; }

.quote-box p {
  margin: 5px 0 9px;
  color: #77546a;
  font: italic 17px/1.3 Georgia, serif;
}

.quote-source { display: block; text-align: right; }

.mood-meter {
  height: 13px;
  margin: 10px 0 8px;
  border: 2px solid #b9809f;
  background: #fff;
}

.mood-meter span {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(135deg, #f28fbd 0 6px, #f7afd1 6px 12px);
}

.notebook-mini p { line-height: 1.45; }
.notebook-mini img { display: block; width: 100%; height: auto; margin-top: 8px; image-rendering: pixelated; }

@media (max-width: 780px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-post-grid { grid-template-columns: 1fr; }
  .blog-featured-box h2 { max-width: 100%; }
  .blog-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .blog-sidebar { grid-template-columns: 1fr; }
}

body.night .blog-featured-box,
body.night .side-box,
body.night .notebook-box {
  background-color: #3c2f49;
  color: #f3e8f2;
  border-color: #a577b1;
}

body.night .blog-header { background: linear-gradient(135deg, #5d426d, #75486f 58%, #4c507f); }
body.night .blog-header-links a,
body.night .read-more,
body.night .side-link,
body.night .tag-cloud a { background: #493653; color: #f5dfed; border-color: #a577b1; }
body.night .blog-featured-box h2,
body.night .post-card h3 { color: #ffd1ed; }
body.night .post-card { color: #f3e8f2; border-color: #a577b1; }
body.night .post-card-yellow { background: #66583d; }
body.night .post-card-blue { background: #345d67; }
body.night .post-card-pink { background: #684254; }
body.night .post-card-green { background: #4d603f; }
body.night .notebook-box { background: repeating-linear-gradient(#34283f 0 25px, #55456b 26px 27px); }


/* Independent art-room/gallery page */
.art-shell { position: relative; }

.art-header {
  background:
    radial-gradient(circle at 12% 65%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.5) 0 3px, transparent 4px),
    linear-gradient(135deg, #f8b7d7, #fce0ed 48%, #c9e9ef);
}

.art-header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.art-header-links a {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #cf77a3;
  background: #fff6fb;
  color: #944d73;
  font: 700 11px var(--pixel);
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(184,101,145,.2);
}

.art-header-links a:hover { background: #f8c2dd; }

.studio-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
  padding: 12px 15px;
  border: 2px dashed #cb7e9f;
  background: #fff1b7;
  box-shadow: 4px 4px 0 rgba(184,101,145,.16);
  transform: rotate(.35deg);
}

.studio-notice p { margin: 4px 0 0; line-height: 1.45; }
.studio-notice img { width: 62px; height: auto; margin-left: auto; image-rendering: pixelated; }
.studio-sticker {
  flex: 0 0 auto;
  padding: 10px 8px;
  border: 2px solid #d0759a;
  background: #f7aecd;
  color: #82415f;
  font: 700 10px var(--pixel);
  text-align: center;
  transform: rotate(-5deg);
}

.art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
  align-items: start;
}

.art-main { min-width: 0; }

.featured-art-box {
  padding: 14px;
  border: 3px solid #d679a7;
  background: #fff8fc;
  background-image: radial-gradient(rgba(222,117,174,.1) 1px, transparent 1px);
  background-size: 8px 8px;
  box-shadow: 5px 5px 0 rgba(184,101,145,.2);
}

.art-box-label,
.art-meta,
.art-side-title,
.progress-label {
  color: #9c5a7b;
  font: 10px var(--pixel);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.featured-art-content {
  display: grid;
  grid-template-columns: minmax(190px, .9fr) 1.1fr;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}

.art-placeholder {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 3px dashed #d279a1;
  background:
    linear-gradient(45deg, rgba(255,255,255,.35) 25%, transparent 25% 75%, rgba(255,255,255,.35) 75%),
    linear-gradient(45deg, rgba(255,255,255,.35) 25%, transparent 25% 75%, rgba(255,255,255,.35) 75%),
    #f7b1d0;
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
  color: #9d4f76;
  text-align: center;
  font: italic 700 19px Georgia, serif;
  line-height: 1.05;
}

.featured-placeholder { min-height: 280px; background-color: #f6b0d0; }
.featured-copy h2 { margin: 7px 0; color: #c5538f; font: italic 700 28px Georgia, serif; }
.featured-copy p { line-height: 1.55; }
.art-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.gallery-box {
  margin-top: 13px;
  padding: 11px;
  border: 2px solid #d584ad;
  background: #fff9fd;
  box-shadow: 4px 4px 0 rgba(184,101,145,.16);
}

.gallery-box-title {
  display: flex;
  justify-content: space-between;
  margin: -11px -11px 11px;
  padding: 7px 9px;
  border-bottom: 2px solid #d584ad;
  background: #f5b1d2;
  color: #8c456b;
  font: 700 12px var(--pixel);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.art-tile {
  padding: 8px;
  border: 2px solid rgba(111,72,91,.35);
  box-shadow: 3px 3px 0 rgba(111,72,91,.14);
  transform: rotate(-.7deg);
}

.art-tile:nth-child(2n) { transform: rotate(.8deg); }
.art-tile-pink { background: #f7c3dd; }
.art-tile-yellow { background: #ffedaa; }
.art-tile-blue { background: #c8e8ee; }
.art-tile-green { background: #d3ebba; }
.art-tile-lilac { background: #ddc9ee; }
.art-tile-orange { background: #ffd0a8; }
.art-tile .art-placeholder { min-height: 125px; border-width: 2px; font-size: 16px; }
.art-tile h3 { margin: 8px 0 2px; color: #75475e; font: italic 700 17px Georgia, serif; }
.art-tile p { margin: 0; color: #82566c; font: 10px var(--pixel); }

.sketchbook-box {
  position: relative;
  margin-top: 16px;
  padding: 40px 18px 15px;
  border: 2px solid #8fb1cf;
  background: repeating-linear-gradient(#fffef4 0 26px, #c9dff0 27px 28px);
  box-shadow: 4px 4px 0 rgba(106,139,172,.22);
  transform: rotate(.45deg);
}

.sketchbook-tab {
  position: absolute;
  top: -12px;
  left: 18px;
  padding: 6px 10px;
  border: 2px solid #7d9fbe;
  background: #d8edf5;
  color: #587492;
  font: 700 12px var(--pixel);
}

.sketchbook-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sketchbook-box h2 { margin: 0 0 8px; color: #557694; font: italic 700 21px Georgia, serif; }
.sketchbook-box ul { margin: 0; padding-left: 19px; line-height: 26px; }
.scribble-note { padding: 12px; border: 2px solid #d3a34b; background: #fff1a9; transform: rotate(2deg); }
.scribble-note span { display: block; color: #9f7540; font: 10px var(--pixel); text-transform: uppercase; }
.scribble-note strong { display: block; margin: 9px 0; color: #76543a; font: italic 18px Georgia, serif; line-height: 1.15; }
.scribble-note small { color: #d28b36; letter-spacing: 5px; }

.art-sidebar { display: grid; gap: 11px; }
.art-side-box {
  padding: 11px;
  border: 2px solid #dc86ae;
  background: #fff5fa;
  background-image: radial-gradient(rgba(222,117,174,.1) 1px, transparent 1px);
  background-size: 7px 7px;
  box-shadow: 3px 3px 0 rgba(184,101,145,.17);
}

.art-side-box:nth-child(2n) { background-color: #edf9fb; border-color: #8ebac5; }
.art-side-box:nth-child(3n) { background-color: #fff8cb; border-color: #d7b66b; }
.art-side-title { display: flex; justify-content: space-between; margin: -11px -11px 9px; padding: 6px 8px; border-bottom: 2px solid currentColor; color: #985174; }
.collection-box a { display: flex; justify-content: space-between; padding: 7px 2px; border-bottom: 1px dashed rgba(158,76,120,.35); color: #78455f; font-size: 12px; text-decoration: none; }
.collection-box a:hover { color: #d34c91; }
.collection-box b { color: #d34c91; }
.material-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.material-tags span { padding: 4px 5px; border: 1px dashed #c782a4; background: rgba(255,255,255,.5); color: #88506f; font: 10px var(--pixel); }
.studio-status { display: flex; align-items: center; gap: 6px; color: #6a4b5d; }
.status-light { width: 10px; height: 10px; border-radius: 50%; background: #66d18d; box-shadow: 0 0 0 3px rgba(102,209,141,.2); }
.now-box p { line-height: 1.45; }
.progress-label { display: flex; justify-content: space-between; margin-top: 10px; }
.art-progress { height: 12px; margin-top: 5px; border: 2px solid #b57d9b; background: #fff; }
.art-progress span { display: block; height: 100%; background: repeating-linear-gradient(135deg, #f18fbd 0 6px, #f6b2d2 6px 12px); }
.inspiration-box p { margin: 7px 0; color: #714b61; font-size: 12px; }
.inspiration-box img { width: 30px; image-rendering: pixelated; }
.art-links-box .side-link { display: block; margin: 6px 0; }

@media (max-width: 780px) {
  .art-layout { grid-template-columns: 1fr; }
  .featured-art-content { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .studio-notice { align-items: flex-start; flex-wrap: wrap; }
  .studio-notice img { width: 45px; }
  .art-grid, .sketchbook-columns { grid-template-columns: 1fr; }
}

body.night .art-header { background: linear-gradient(135deg, #5d426d, #75486f 58%, #4c507f); }
body.night .studio-notice,
body.night .featured-art-box,
body.night .gallery-box,
body.night .art-side-box { background-color: #3c2f49; color: #f3e8f2; border-color: #a577b1; }
body.night .art-header-links a,
body.night .art-buttons .web-button { background: #493653; color: #f5dfed; border-color: #a577b1; }
body.night .art-box-label,
body.night .art-meta,
body.night .art-side-title,
body.night .progress-label { color: #e7b4d2; }
body.night .featured-copy h2,
body.night .art-tile h3 { color: #ffd1ed; }
body.night .art-tile { color: #f3e8f2; border-color: #a577b1; }
body.night .art-tile-pink { background: #684254; }
body.night .art-tile-yellow { background: #66583d; }
body.night .art-tile-blue { background: #345d67; }
body.night .art-tile-green { background: #4d603f; }
body.night .art-tile-lilac { background: #514269; }
body.night .art-tile-orange { background: #704d3d; }
body.night .sketchbook-box { background: repeating-linear-gradient(#34283f 0 26px, #55456b 27px 28px); border-color: #a577b1; color: #f3e8f2; }
body.night .scribble-note { background: #66583d; border-color: #a577b1; }
body.night .scribble-note strong { color: #fff0c3; }
