/* =========================================================
       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; }


/* Independent links-and-shrines page */
.links-shell { position: relative; }

.links-header {
  background:
    radial-gradient(circle at 13% 28%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 91% 72%, rgba(255,255,255,.55) 0 3px, transparent 4px),
    linear-gradient(135deg, #f6b5d7, #fbd8e9 50%, #d9c9ed);
}

.links-header-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.links-header-nav 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);
}
.links-header-nav a:hover { background: #f8c2dd; }

.link-garden-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
  padding: 12px 15px;
  border: 2px dotted #c97b9f;
  background: #d8f0c5;
  box-shadow: 4px 4px 0 rgba(117,153,91,.18);
  transform: rotate(-.35deg);
}
.link-garden-note p { margin: 4px 0 0; line-height: 1.45; }
.link-garden-note img { width: 44px; margin-left: auto; image-rendering: pixelated; }
.garden-sign {
  flex: 0 0 auto;
  padding: 8px;
  border: 2px solid #84a96a;
  background: #f6f0a7;
  color: #587044;
  font: 700 10px/1.25 var(--pixel);
  text-align: center;
  transform: rotate(3deg);
}

.links-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
  align-items: start;
}
.links-main { min-width: 0; }

.favorites-box,
.shrine-box,
.button-trading-box {
  padding: 11px;
  border: 2px solid #d784ad;
  background: #fff9fd;
  background-image: radial-gradient(rgba(222,117,174,.1) 1px, transparent 1px);
  background-size: 7px 7px;
  box-shadow: 4px 4px 0 rgba(184,101,145,.17);
}
.shrine-box, .button-trading-box { margin-top: 13px; }
.links-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);
}

.favorite-list { display: grid; gap: 9px; }
.favorite-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 2px solid rgba(111,72,91,.3);
  color: #70485c;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(111,72,91,.12);
  transition: transform .16s ease, box-shadow .16s ease;
}
.favorite-link:hover { transform: translateX(4px) rotate(-.5deg); box-shadow: 5px 5px 0 rgba(111,72,91,.17); }
.favorite-pink { background: #f8c3dd; }
.favorite-blue { background: #ccecf0; }
.favorite-yellow { background: #ffefae; }
.favorite-green { background: #d7edbe; }
.favorite-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 2px dashed #b57294; background: rgba(255,255,255,.5); color: #c7538b; font-size: 22px; }
.favorite-link strong { display: block; color: #75445e; font: italic 700 18px Georgia, serif; }
.favorite-link small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.35; }
.favorite-link b { color: #c7538b; font-size: 18px; }

.box-intro { max-width: 720px; margin: 0 0 12px; line-height: 1.5; }
.shrine-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.shrine-card {
  display: flex;
  min-height: 145px;
  padding: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 2px solid rgba(111,72,91,.35);
  color: #70485c;
  text-align: center;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(111,72,91,.13);
  transform: rotate(-1deg);
}
.shrine-card:nth-child(even) { transform: rotate(1.2deg); }
.shrine-card:hover { transform: translateY(-4px) rotate(0deg); }
.shrine-card-pink { background: #f7c3de; }
.shrine-card-lilac { background: #ddc9ee; }
.shrine-card-blue { background: #c6e9ee; }
.shrine-card-yellow { background: #ffefa8; }
.shrine-symbol { color: #c7538b; font-size: 31px; }
.shrine-card strong { font: italic 700 16px Georgia, serif; }
.shrine-card small { font: 10px var(--pixel); }

.button-trading-content { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 15px; align-items: center; }
.button-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 88 / 31;
  border: 2px solid #8e5875;
  background: linear-gradient(135deg, #f5a7cc, #cbb5ee 55%, #b9e6e1);
  color: white;
  font: italic 700 22px Georgia, serif;
  text-shadow: 1px 1px #915274;
  box-shadow: 3px 3px 0 rgba(111,72,91,.22);
}
.button-preview small { font: 8px var(--pixel); }
.button-trading-content h2 { margin: 0 0 5px; color: #c5538f; font: italic 700 24px Georgia, serif; }
.button-trading-content p { margin: 0 0 8px; line-height: 1.45; }
.button-trading-content textarea { width: 100%; min-height: 48px; padding: 6px; border: 2px inset #d99cba; background: #fffdfd; color: #70485c; font: 10px monospace; resize: vertical; }

.links-sidebar { display: grid; gap: 11px; }
.link-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);
}
.link-side-box:nth-child(2n) { background-color: #edf9fb; border-color: #8ebac5; }
.link-side-box:nth-child(3n) { background-color: #fff8cb; border-color: #d7b66b; }
.link-side-title { display: flex; justify-content: space-between; margin: -11px -11px 9px; padding: 6px 8px; border-bottom: 2px solid currentColor; color: #985174; font: 700 11px var(--pixel); }
.link-index-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; }
.link-index-box a:hover { color: #d34c91; }
.link-index-box b { color: #d34c91; }
.webring-box p, .guest-link-box p, .link-note-box p { line-height: 1.45; }
.webring-badges { display: grid; gap: 5px; margin: 10px 0; }
.webring-badges a { padding: 6px; border: 1px dashed #ae79a0; background: rgba(255,255,255,.52); color: #82506f; font: 10px var(--pixel); text-decoration: none; text-align: center; }
.webring-badges a:hover { background: #ffc7df; }
.webring-controls { display: flex; justify-content: space-between; align-items: center; color: #8a5b73; font: 10px var(--pixel); }
.webring-controls a { color: #c25389; text-decoration: none; }
.link-note-box img { width: 30px; image-rendering: pixelated; }
.link-side-box .side-link { display: block; margin: 6px 0; }

@media (max-width: 780px) {
  .links-layout { grid-template-columns: 1fr; }
  .shrine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .link-garden-note { align-items: flex-start; flex-wrap: wrap; }
  .link-garden-note img { width: 35px; }
  .button-trading-content { grid-template-columns: 1fr; }
  .button-preview { max-width: 150px; }
  .shrine-grid { grid-template-columns: 1fr 1fr; }
}

body.night .links-header { background: linear-gradient(135deg, #5d426d, #75486f 58%, #4c507f); }
body.night .link-garden-note,
body.night .favorites-box,
body.night .shrine-box,
body.night .button-trading-box,
body.night .link-side-box { background-color: #3c2f49; color: #f3e8f2; border-color: #a577b1; }
body.night .links-header-nav a { background: #493653; color: #f5dfed; border-color: #a577b1; }
body.night .favorite-link,
body.night .shrine-card { color: #f3e8f2; border-color: #a577b1; }
body.night .favorite-pink, body.night .shrine-card-pink { background: #684254; }
body.night .favorite-blue, body.night .shrine-card-blue { background: #345d67; }
body.night .favorite-yellow, body.night .shrine-card-yellow { background: #66583d; }
body.night .favorite-green { background: #4d603f; }
body.night .shrine-card-lilac { background: #514269; }
body.night .favorite-link strong, body.night .button-trading-content h2 { color: #ffd1ed; }
body.night .button-trading-content textarea { background: #261d31; color: #fff0f7; border-color: #a577b1; }


/* Independent about-me page */
.about-shell { position: relative; }

.about-header {
  background:
    radial-gradient(circle at 10% 28%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 66%, rgba(255,255,255,.55) 0 3px, transparent 4px),
    linear-gradient(135deg, #f7b6d6, #fbdbea 52%, #d8c9ef);
}

.about-header-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.about-header-nav 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);
}
.about-header-nav a:hover { background: #f8c2dd; }

.identity-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0;
  padding: 12px 15px;
  border: 2px dashed #c984a4;
  background: #d9edf1;
  box-shadow: 4px 4px 0 rgba(106,139,172,.16);
  transform: rotate(.3deg);
}
.identity-banner p { margin: 4px 0 0; line-height: 1.45; }
.identity-banner img { width: 35px; margin-left: auto; image-rendering: pixelated; }
.identity-stamp {
  flex: 0 0 auto;
  padding: 8px;
  border: 2px solid #6d99ae;
  background: #f8c2dc;
  color: #77506c;
  font: 700 10px/1.2 var(--pixel);
  text-align: center;
  transform: rotate(-4deg);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 12px;
  align-items: start;
}
.about-main { min-width: 0; }

.profile-hero-box,
.story-box,
.favorites-profile-box,
.faq-box {
  padding: 11px;
  border: 2px solid #d784ad;
  background: #fff9fd;
  background-image: radial-gradient(rgba(222,117,174,.1) 1px, transparent 1px);
  background-size: 7px 7px;
  box-shadow: 4px 4px 0 rgba(184,101,145,.17);
}
.story-box, .favorites-profile-box, .faq-box { margin-top: 13px; }
.about-box-title {
  display: flex;
  justify-content: space-between;
  margin: -11px -11px 12px;
  padding: 7px 9px;
  border-bottom: 2px solid #d584ad;
  background: #f5b1d2;
  color: #8c456b;
  font: 700 12px var(--pixel);
}

.profile-hero-content {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 7px;
}
.profile-avatar-large {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 3px solid #d178a4;
  background: linear-gradient(135deg, #f7bedb, #d8c8ed 55%, #c6e8e9);
  color: white;
  font: 100px Georgia, serif;
  text-shadow: 3px 3px 0 #b875a3;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.28);
}
.profile-kicker, .profile-pronouns { color: #a45b7f; font: 10px var(--pixel); text-transform: uppercase; letter-spacing: .04em; }
.profile-intro h2 { margin: 5px 0 4px; color: #c5538f; font: italic 700 36px Georgia, serif; }
.profile-intro p { line-height: 1.55; }

.about-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.about-note { min-height: 115px; padding: 12px; border: 2px solid rgba(111,72,91,.32); box-shadow: 3px 3px 0 rgba(111,72,91,.13); transform: rotate(-.8deg); }
.about-note:nth-child(even) { transform: rotate(.8deg); }
.about-note-pink { background: #f8c3dd; }
.about-note-yellow { background: #ffefad; }
.about-note-blue { background: #c9e9ee; }
.about-note-green { background: #d6ecbd; }
.about-note-label { color: #8b5970; font: 10px var(--pixel); text-transform: uppercase; }
.about-note p { margin: 12px 0 0; color: #734b60; font: italic 700 18px/1.15 Georgia, serif; }

.story-box { padding-bottom: 16px; }
.story-box p { max-width: 720px; line-height: 1.6; }
.story-signature { margin-top: 15px; color: #c5538f; font: italic 13px Georgia, serif; text-align: right; }

.love-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.love-columns > div { padding: 10px; border: 1px dashed #c782a4; background: rgba(255,255,255,.55); }
.love-columns h3 { margin: 0 0 8px; color: #c5538f; font: italic 700 18px Georgia, serif; }
.love-columns p { margin: 0; line-height: 1.55; }

.faq-box details { padding: 9px 2px; border-bottom: 1px dashed rgba(158,76,120,.35); }
.faq-box details:last-child { border-bottom: 0; }
.faq-box summary { cursor: pointer; color: #8d4d6e; font-weight: 700; }
.faq-box details p { margin: 8px 0 2px; line-height: 1.45; }

.about-sidebar { display: grid; gap: 11px; }
.about-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);
}
.about-side-box:nth-child(2n) { background-color: #edf9fb; border-color: #8ebac5; }
.about-side-box:nth-child(3n) { background-color: #fff8cb; border-color: #d7b66b; }
.about-side-title { display: flex; justify-content: space-between; margin: -11px -11px 9px; padding: 6px 8px; border-bottom: 2px solid currentColor; color: #985174; font: 700 11px var(--pixel); }
.fact-box p, .currently-box p { margin: 8px 0; line-height: 1.4; }
.fact-box strong, .currently-box strong { color: #8c4f6d; }
.personality-line { display: flex; justify-content: space-between; margin-top: 9px; color: #80566b; font: 10px var(--pixel); }
.personality-meter { height: 11px; margin-top: 4px; border: 2px solid #b57d9b; background: #fff; }
.personality-meter span { display: block; height: 100%; background: repeating-linear-gradient(135deg, #f18fbd 0 6px, #f6b2d2 6px 12px); }
.guest-note-box p { line-height: 1.45; }
.guest-note-box img { display: block; width: 31px; margin: 10px auto 0; image-rendering: pixelated; }
.about-links-box .side-link { display: block; margin: 6px 0; }

@media (max-width: 780px) {
  .about-layout { grid-template-columns: 1fr; }
  .profile-hero-content { grid-template-columns: 150px minmax(0, 1fr); }
  .about-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .identity-banner { align-items: flex-start; flex-wrap: wrap; }
  .identity-banner img { width: 28px; }
  .profile-hero-content, .love-columns { grid-template-columns: 1fr; }
  .profile-avatar-large { min-height: 150px; }
  .about-card-grid { grid-template-columns: 1fr 1fr; }
}

body.night .about-header { background: linear-gradient(135deg, #5d426d, #75486f 58%, #4c507f); }
body.night .identity-banner,
body.night .profile-hero-box,
body.night .story-box,
body.night .favorites-profile-box,
body.night .faq-box,
body.night .about-side-box { background-color: #3c2f49; color: #f3e8f2; border-color: #a577b1; }
body.night .about-header-nav a { background: #493653; color: #f5dfed; border-color: #a577b1; }
body.night .profile-intro h2,
body.night .about-note p,
body.night .story-signature,
body.night .love-columns h3 { color: #ffd1ed; }
body.night .profile-avatar-large { background: linear-gradient(135deg, #684254, #514269 55%, #345d67); border-color: #a577b1; }
body.night .about-note { color: #f3e8f2; border-color: #a577b1; }
body.night .about-note-pink { background: #684254; }
body.night .about-note-yellow { background: #66583d; }
body.night .about-note-blue { background: #345d67; }
body.night .about-note-green { background: #4d603f; }
body.night .love-columns > div { background: #493653; border-color: #a577b1; }
body.night .faq-box summary { color: #ffd1ed; }


/* Reference-inspired information sections for about.html */
.about-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.info-panel { min-height: 200px; padding: 11px; border: 2px solid rgba(111,72,91,.32); box-shadow: 3px 3px 0 rgba(111,72,91,.13); }
.identity-panel { background: #f8c3dd; }
.currently-panel { background: #c9e9ee; }
.fun-facts-panel { background: #ffefad; }
.info-panel-title { display: flex; justify-content: space-between; margin: -11px -11px 10px; padding: 6px 8px; border-bottom: 2px solid rgba(111,72,91,.28); color: #86506a; font: 700 11px var(--pixel); text-transform: lowercase; }
.info-panel p { margin: 8px 0; line-height: 1.35; }
.info-panel strong { color: #854965; }
.info-panel ul { margin: 0; padding-left: 17px; line-height: 1.5; }

.favorite-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.favorite-category-grid > div { padding: 10px; border: 1px dashed #c782a4; background: rgba(255,255,255,.5); }
.favorite-category-grid h3 { margin: 0 0 8px; color: #c5538f; font: italic 700 18px Georgia, serif; }
.favorite-category-grid p { margin: 0; line-height: 1.5; }

.characters-box { margin-top: 13px; padding: 11px; border: 2px solid #b995ca; background: #eadcf3; box-shadow: 4px 4px 0 rgba(132,102,150,.18); }
.character-cloud { margin: 0; color: #6f527b; line-height: 1.7; }
.character-cloud b { color: #a34f83; }
.character-stickers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.character-stickers span { padding: 4px 7px; border: 1px solid #b889c4; background: rgba(255,255,255,.55); color: #875378; font: 10px var(--pixel); }

.collection-history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.collection-box-about, .history-box-about { padding: 11px; border: 2px solid #d48bb0; background: #fff8c7; box-shadow: 3px 3px 0 rgba(184,101,145,.15); }
.history-box-about { background: #d7edf0; border-color: #8ebac5; }
.collection-box-about ul { margin: 0; padding-left: 18px; line-height: 1.65; }
.history-box-about p { line-height: 1.45; }
.history-box-about strong { color: #8c4d6a; }

.mini-id-row { display: flex; align-items: center; gap: 9px; }
.mini-id-avatar { display: grid; place-items: center; width: 55px; height: 55px; border: 2px solid #d178a4; background: linear-gradient(135deg, #f7bedb, #d8c8ed 55%, #c6e8e9); color: white; font: 31px Georgia, serif; text-shadow: 2px 2px #b875a3; }
.mini-id-row strong { color: #c5538f; font: italic 700 18px Georgia, serif; }
.mini-id-row small { color: #80566b; line-height: 1.35; }
.find-me-box p { margin: 8px 0; line-height: 1.4; }
.find-me-box a { color: #c5538f; }

@media (max-width: 780px) {
  .about-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .favorite-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .about-info-grid, .favorite-category-grid, .collection-history-grid { grid-template-columns: 1fr; }
}

body.night .info-panel,
body.night .characters-box,
body.night .collection-box-about,
body.night .history-box-about { color: #f3e8f2; border-color: #a577b1; }
body.night .identity-panel { background: #684254; }
body.night .currently-panel { background: #345d67; }
body.night .fun-facts-panel { background: #66583d; }
body.night .characters-box { background: #514269; }
body.night .collection-box-about { background: #66583d; }
body.night .history-box-about { background: #345d67; }
body.night .favorite-category-grid > div { background: #493653; border-color: #a577b1; }
body.night .favorite-category-grid h3,
body.night .character-cloud b,
body.night .mini-id-row strong { color: #ffd1ed; }


/* About-page composition refinement */
@media (min-width: 781px) {
  .about-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 15px; }
  .about-main { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; align-items: start; }
  .about-main > .profile-hero-box,
  .about-main > .about-info-grid,
  .about-main > .story-box,
  .about-main > .favorites-profile-box,
  .about-main > .characters-box,
  .about-main > .collection-history-grid,
  .about-main > .faq-box { grid-column: 1 / -1; margin-top: 0; }
  .about-main > .about-info-grid { display: contents; }
  .about-main > .about-info-grid > .info-panel { grid-column: span 2; margin: 0; }
  .about-main > .about-info-grid > .fun-facts-panel { grid-column: span 2; }
  .about-main > .story-box { grid-column: 1 / span 4; }
  .about-main > .favorites-profile-box { grid-column: 1 / span 4; }
  .about-main > .characters-box { grid-column: 5 / -1; grid-row: span 2; align-self: stretch; }
  .about-main > .collection-history-grid { grid-column: 1 / span 4; }
  .about-main > .faq-box { grid-column: 1 / -1; }
  .about-sidebar { position: sticky; top: 12px; }
}

.profile-hero-box {
  position: relative;
  overflow: visible;
  border-width: 3px;
  background: linear-gradient(135deg, #fff9fd 0%, #fff0f8 68%, #e8d9f2 100%);
}
.profile-hero-box::before {
  content: "♡ 01 / PROFILE ♡";
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 5px 9px;
  border: 2px solid #c8759e;
  background: #f7b0d1;
  color: #7d4762;
  font: 700 10px var(--pixel);
  transform: rotate(3deg);
  z-index: 2;
}
.profile-hero-content { padding: 14px 10px 10px; }
.profile-avatar-large { transform: rotate(-2deg); box-shadow: 7px 7px 0 rgba(184,101,145,.18), inset 0 0 0 8px rgba(255,255,255,.28); }
.profile-intro { padding: 5px 8px; }
.profile-intro h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-shadow: 2px 2px 0 #fff, 4px 4px 0 #f4a9cb; }

.about-info-grid > .info-panel { border-radius: 2px; }
.about-info-grid > .identity-panel { transform: rotate(-1deg); }
.about-info-grid > .currently-panel { transform: translateY(7px) rotate(.8deg); }
.about-info-grid > .fun-facts-panel { transform: rotate(-.5deg); }
.info-panel-title { background: rgba(255,255,255,.28); }

.story-box { background: linear-gradient(90deg, #fff9fd, #fff6fb 70%, #f1e5f5); }
.story-box::after {
  content: "✦ ✦ ✦";
  display: block;
  margin-top: 13px;
  color: #e18ab5;
  font-size: 15px;
  letter-spacing: 9px;
  text-align: center;
}
.characters-box { min-height: 100%; background: linear-gradient(135deg, #eadcf3, #f8d8e8); }
.character-cloud { font-size: 14px; }
.character-stickers span:nth-child(odd) { transform: rotate(-3deg); }
.character-stickers span:nth-child(even) { transform: rotate(2deg); }

.collection-history-grid { gap: 13px; }
.collection-box-about, .history-box-about { min-height: 195px; }
.collection-box-about { transform: rotate(-.7deg); }
.history-box-about { transform: rotate(.7deg); }
.faq-box { background: #f0e6f4; }

.about-side-box { border-radius: 2px; }
.about-sidebar .mini-id-box { transform: rotate(1deg); }
.about-sidebar .currently-box { transform: rotate(-.8deg); }
.about-sidebar .meter-box { transform: rotate(.6deg); }
.about-sidebar .find-me-box { transform: rotate(-.5deg); }
.about-sidebar .guest-note-box { transform: rotate(1deg); }
.about-side-title { background: rgba(255,255,255,.28); }

@media (max-width: 780px) {
  .about-main { display: block; }
  .about-main > * { margin-top: 13px !important; }
  .about-main > .profile-hero-box { margin-top: 0 !important; }
  .about-sidebar { margin-top: 13px; }
  .profile-hero-box::before { right: 10px; }
}

body.night .profile-hero-box { background: linear-gradient(135deg, #3c2f49 0%, #493653 68%, #514269 100%); }
body.night .profile-hero-box::before { background: #68445f; color: #ffe0f2; border-color: #a577b1; }
body.night .story-box { background: linear-gradient(90deg, #3c2f49, #493653 70%, #514269); }
body.night .characters-box { background: linear-gradient(135deg, #514269, #684254); }
body.night .faq-box { background: #3c2f49; }


/* Compact webmaster profile box */
@media (min-width: 781px) {
  .about-main > .profile-hero-box {
    min-height: 0;
  }

  .about-main > .profile-hero-box .profile-hero-content {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 14px;
    padding: 7px 8px 4px;
    align-items: center;
  }

  .about-main > .profile-hero-box .profile-avatar-large {
    min-height: 155px;
    font-size: 72px;
  }

  .about-main > .profile-hero-box .profile-intro p {
    margin: 7px 0;
    line-height: 1.4;
  }

  .about-main > .profile-hero-box .profile-intro h2 {
    margin: 2px 0;
    font-size: 2.6rem;
  }
}

@media (max-width: 780px) {
  .about-main > .profile-hero-box .profile-avatar-large {
    min-height: 150px;
  }
}


/* Dense stamp-and-pixel collage for about.html */
.about-stamp-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 62px;
  margin: 11px 0 14px;
  padding: 7px 10px;
  border: 2px dashed #d18bad;
  background: rgba(255,248,253,.78);
  background-image: radial-gradient(rgba(222,117,174,.12) 1px, transparent 1px);
  background-size: 7px 7px;
  box-shadow: 4px 4px 0 rgba(184,101,145,.14);
}
.about-stamp-strip img { display: block; max-height: 42px; width: auto; object-fit: contain; image-rendering: pixelated; }
.about-stamp-strip img:nth-of-type(1) { max-width: 62px; transform: rotate(-4deg); }
.about-stamp-strip img:nth-of-type(2) { max-width: 125px; transform: rotate(2deg); }
.about-stamp-strip img:nth-of-type(3) { max-width: 54px; transform: rotate(-2deg); }
.stamp-label, .stamp-chip { padding: 5px 7px; border: 1px solid #c9799f; background: #f8c0da; color: #804965; font: 700 9px var(--pixel); text-transform: uppercase; }
.stamp-label { transform: rotate(-3deg); }
.stamp-chip { background: #fff0aa; transform: rotate(2deg); }
.stamp-chip:last-child { background: #cfeaf0; transform: rotate(-2deg); }
.profile-avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.avatar-caption { color: #a05279; font: 9px var(--pixel); letter-spacing: .03em; }

@media (max-width: 500px) {
  .about-stamp-strip { justify-content: flex-start; }
  .about-stamp-strip img:nth-of-type(2) { max-width: 105px; }
  .stamp-chip { display: none; }
}

body.night .about-stamp-strip { background: #3c2f49; border-color: #a577b1; }
body.night .stamp-label, body.night .stamp-chip { background: #68445f; color: #ffe0f2; border-color: #a577b1; }
body.night .stamp-chip:last-child { background: #345d67; }
body.night .avatar-caption { color: #ffd1ed; }


/* Personalized collage layer for about.html */
.about-collage-rail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 88px;
  margin: 9px 10px 15px;
  padding: 7px 24px;
  border: 2px dotted #d18bad;
  background: #fff8fc;
  background-image: radial-gradient(rgba(222,117,174,.14) 1px, transparent 1px);
  background-size: 8px 8px;
  box-shadow: 5px 5px 0 rgba(184,101,145,.13);
}
.collage-note {
  position: relative;
  z-index: 2;
  padding: 8px 10px;
  color: #7f5068;
  font: italic 700 13px/1.05 Georgia, serif;
  text-align: center;
  box-shadow: 3px 3px 0 rgba(111,72,91,.15);
}
.collage-note-one { background: #ffefad; transform: rotate(-5deg); }
.collage-note-two { background: #cbeaf0; transform: rotate(4deg); }
.collage-stamp { position: relative; z-index: 1; width: 99px; height: 55px; object-fit: contain; image-rendering: pixelated; border: 2px solid rgba(255,255,255,.8); box-shadow: 3px 3px 0 rgba(111,72,91,.18); }
.collage-stamp-one { transform: rotate(3deg) translateY(-5px); }
.collage-stamp-two { transform: rotate(-3deg) translateY(5px); }
.collage-wing { width: 20px; height: 20px; image-rendering: pixelated; transform: rotate(-12deg); }
.collage-caption { align-self: flex-end; margin-bottom: 4px; color: #ad6c8c; font: 9px var(--pixel); transform: rotate(-2deg); }

.stamp-wall-box { background: #f7dceb !important; border-color: #d27daa !important; }
.mini-stamp-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; align-items: center; }
.mini-stamp-wall img { width: 100%; max-height: 36px; object-fit: contain; image-rendering: pixelated; border: 1px solid rgba(169,93,132,.35); background: rgba(255,255,255,.55); }
.mini-stamp-wall img:nth-child(3) { padding: 3px; }

@media (max-width: 600px) {
  .about-collage-rail { gap: 6px; margin-left: 0; margin-right: 0; padding: 6px; }
  .collage-stamp { width: 75px; height: 44px; }
  .collage-note { font-size: 10px; padding: 6px; }
  .collage-caption { display: none; }
}

body.night .about-collage-rail { background: #3c2f49; border-color: #a577b1; }
body.night .collage-note-one { background: #66583d; color: #fff0c4; }
body.night .collage-note-two { background: #345d67; color: #e6f8f7; }
body.night .collage-caption { color: #ffd1ed; }
body.night .stamp-wall-box { background: #684254 !important; border-color: #a577b1 !important; }


/* Scrollable stamp tray and less-uniform collage positioning */
.mini-stamp-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 185px;
  padding: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 2px inset #d9a1bd;
  background: rgba(255,255,255,.62);
  scrollbar-color: #d681aa #f8deea;
  scrollbar-width: thin;
}
.mini-stamp-wall:focus { outline: 2px dotted #c5538f; outline-offset: 2px; }
.mini-stamp-wall img {
  width: 100%;
  max-height: 44px;
  padding: 2px;
  object-fit: contain;
  image-rendering: pixelated;
  border: 1px solid rgba(169,93,132,.35);
  background: rgba(255,255,255,.68);
}
.mini-stamp-wall img:nth-child(3n) { transform: rotate(-2deg); }
.mini-stamp-wall img:nth-child(4n) { transform: rotate(2deg); }
.mini-stamp-wall img:nth-child(5n) { background: #fff0aa; }

.about-collage-rail { justify-content: space-around; }
.collage-note-one { margin-top: 9px; }
.collage-note-two { margin-bottom: 8px; }
.collage-stamp-one { margin-top: 10px; }
.collage-stamp-two { margin-bottom: 10px; }
.collage-wing { margin: 7px 0 0 3px; }
.collage-caption { position: absolute; right: 13px; bottom: -9px; padding: 3px 6px; background: #fff0aa; border: 1px solid #d6a66c; }

@media (max-width: 600px) {
  .mini-stamp-wall { max-height: 150px; }
  .about-collage-rail { justify-content: center; }
  .collage-caption { display: none; }
}

body.night .mini-stamp-wall { background: #261d31; border-color: #a577b1; scrollbar-color: #a577b1 #493653; }
body.night .mini-stamp-wall img { background: #3c2f49; border-color: #a577b1; }


/* Complete about-page rebuild: collage dossier layout */
.about-v2-page { --v2-pink: #ef9fc7; --v2-deep: #994a77; --v2-ink: #674257; --v2-paper: #fffafd; }
.about-v2-shell { position: relative; max-width: 1100px; }
.about-v2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 160px;
  padding: 25px 32px;
  border: 3px solid #cf79a5;
  background: linear-gradient(130deg, #f8b6d5, #f9d8e9 55%, #d7c7ee);
  box-shadow: 7px 7px 0 rgba(184,101,145,.2);
  overflow: visible;
}
.about-v2-title-wrap { position: relative; }
.about-v2-title-wrap h1 { margin: 10px 0 3px; color: #c95390; font: italic 700 clamp(38px, 7vw, 78px)/.9 Georgia, serif; text-shadow: 3px 3px #fff, 6px 6px #ef9fc7; }
.about-v2-title-wrap p { margin: 10px 0 0; color: #80506b; font: 13px var(--pixel); }
.tiny-ribbon { display: inline-block; padding: 5px 9px; border: 2px solid #c5759d; background: #fff8fb; color: #a2527b; font: 10px var(--pixel); transform: rotate(-2deg); }
.header-sticker { display: grid; place-items: center; width: 105px; height: 75px; border: 3px double #c4769e; background: #ffefae; color: #9a5877; font: italic 700 20px Georgia, serif; text-align: center; transform: rotate(6deg); box-shadow: 4px 4px 0 rgba(141,82,113,.15); }
.header-sticker small { font: 9px var(--pixel); }
.about-v2-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 15px; padding: 8px 10px; border: 2px dashed #d181a7; background: #fff9fd; box-shadow: 4px 4px 0 rgba(184,101,145,.12); }
.about-v2-nav a { padding: 5px 9px; border: 1px solid #d27ca5; background: #f8c0da; color: #864966; font: 10px var(--pixel); text-decoration: none; }
.about-v2-nav a:nth-child(2n) { background: #cbe9ee; }
.about-v2-nav a:nth-child(3n) { background: #ffefad; }
.about-v2-nav a:hover { transform: translateY(-2px) rotate(-2deg); }

.about-v2-collage { display: grid; grid-template-columns: 190px minmax(0, 1fr) 215px; gap: 14px; align-items: start; }
.about-v2-left, .about-v2-right { display: grid; gap: 13px; align-content: start; }
.about-v2-center { display: grid; gap: 14px; min-width: 0; }
.window-bar-v2 { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-bottom: 2px solid #d27ca5; background: #f3a8ce; color: #7f4663; font: 10px var(--pixel); }
.id-card-v2, .stamp-box-v2 { border: 2px solid #cd7ba4; background: #fff9fd; box-shadow: 5px 5px 0 rgba(184,101,145,.17); }
.id-card-inner { padding: 12px; text-align: center; }
.id-photo-v2 { display: grid; place-items: center; width: 105px; height: 105px; margin: 0 auto 8px; border: 3px solid #d27ca5; background: linear-gradient(135deg,#f6b4d3,#d7c9ef 55%,#c8e8e9); color: white; font: 55px Georgia,serif; text-shadow: 2px 2px #ad6b9a; box-shadow: inset 0 0 0 7px rgba(255,255,255,.3); transform: rotate(-3deg); }
.id-card-v2 h2 { margin: 7px 0 2px; color: #c5538f; font: italic 700 27px Georgia, serif; }
.id-subtitle { margin: 0 0 11px; color: #9a5f7d; font: 9px var(--pixel); }
.id-lines { border-top: 1px dashed #d998b8; text-align: left; }
.id-lines p { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0; color: #70485d; font-size: 11px; }
.id-lines b { color: #b24f83; font: 10px var(--pixel); }
.id-sticker-row { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 5px; border-top: 2px dotted #d27ca5; color: #a25378; font: 9px var(--pixel); }
.id-sticker-row img { width: 16px; image-rendering: pixelated; }
.small-paper { position: relative; padding: 18px 13px 13px; border: 1px solid rgba(111,72,91,.28); color: #70485d; box-shadow: 4px 4px 0 rgba(111,72,91,.13); }
.small-paper h3 { margin: 0 0 8px; color: #8c4e6c; font: italic 700 17px Georgia,serif; }
.small-paper p { margin: 0; font-size: 12px; line-height: 1.5; }
.pink-paper { background: #f8c2dd; transform: rotate(-2deg); }
.yellow-paper { background: #fff0ac; transform: rotate(2deg); }
.paper-pin { position: absolute; top: 4px; right: 8px; color: #c5558d; }
.contact-card-v2 { display: grid; gap: 6px; padding: 11px; border: 2px solid #8ebac5; background: #d7eff2; box-shadow: 4px 4px 0 rgba(106,139,172,.15); transform: rotate(-1deg); }
.contact-card-v2 a { color: #6d5472; font: 10px var(--pixel); text-decoration: none; }
.contact-card-v2 a:hover { color: #d14d92; }
.mini-label { margin-bottom: 7px; color: #9b4d78; font: 10px var(--pixel); text-transform: uppercase; }

.bio-letter { position: relative; padding: 24px 27px 22px; border: 2px solid #d17da5; background: #fffdfd; background-image: repeating-linear-gradient(0deg, transparent 0 25px, rgba(224,144,183,.12) 26px); box-shadow: 6px 6px 0 rgba(184,101,145,.15); transform: rotate(.4deg); }
.letter-tape { position: absolute; top: -12px; left: 35%; padding: 5px 14px; border: 1px solid #d39b9d; background: rgba(255,236,190,.9); color: #9c6170; font: 10px var(--pixel); transform: rotate(-3deg); }
.letter-content { max-width: 690px; color: #684657; font: 14px/1.65 Georgia, serif; }
.letter-content p { margin: 0 0 13px; }
.letter-greeting { color: #c5538f; font: italic 700 22px Georgia, serif; }
.letter-signoff { margin-top: 14px; color: #ad5c83; font: italic 17px Georgia, serif; text-align: right; }
.letter-signoff small { font: 9px var(--pixel); }
.letter-deco { position: absolute; image-rendering: pixelated; }
.bow-deco { width: 58px; right: 14px; top: 27px; transform: rotate(8deg); }
.heart-deco { width: 48px; right: 15px; bottom: 17px; transform: rotate(-7deg); }
.currently-v2, .likes-v2, .favorite-cloud-v2 { border: 2px solid #d07ba4; background: #fff8fc; box-shadow: 5px 5px 0 rgba(184,101,145,.13); }
.section-ribbon { margin: -2px -2px 10px; padding: 7px; background: #f0a6cc; color: #824760; font: 700 12px var(--pixel); text-align: center; }
.blue-ribbon { background: #a9d9e4; }
.current-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; padding: 0 12px 12px; }
.current-grid p { margin: 0; padding: 8px; border: 1px dashed #ce8eb0; background: #fff0f6; }
.current-grid b { display: block; color: #b34c82; font: 9px var(--pixel); text-transform: uppercase; }
.current-grid span { display: block; margin-top: 5px; color: #6e4b5d; font-size: 11px; line-height: 1.25; }
.likes-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; padding: 0 12px 12px; }
.likes-columns > div { padding: 10px; border: 1px dotted #c989a7; background: #f9e6ef; }
.likes-columns h3 { margin: 0 0 6px; color: #c5538f; font: italic 700 18px Georgia,serif; }
.likes-columns p { margin: 0; color: #754e62; font-size: 12px; line-height: 1.5; }
.favorite-cloud-v2 { padding: 12px 15px; background: #e8d8f0; border-color: #b493c3; transform: rotate(-.5deg); }
.favorite-cloud-v2 p { margin: 0; color: #73537c; line-height: 1.7; }
.favorite-cloud-v2 b { color: #9d4f83; }

.photo-note-v2 { padding: 10px; border: 2px solid #d388ad; background: #f8c3dd; box-shadow: 5px 5px 0 rgba(184,101,145,.17); transform: rotate(2deg); text-align: center; }
.photo-placeholder { display: grid; place-items: center; min-height: 128px; border: 2px dashed #c5769f; background: linear-gradient(135deg,#f6b5d4,#d8c8ec,#c9e9e9); color: white; font: 55px Georgia,serif; text-shadow: 2px 2px #ac6a9c; }
.photo-note-v2 p { margin: 9px 0; color: #784d64; font: italic 700 14px Georgia,serif; line-height: 1.15; }
.photo-note-v2 span { color: #a7527b; font: 9px var(--pixel); }
.stamp-box-v2 { overflow: hidden; background: #fff8fd; }
.stamp-help { margin: 8px 10px; color: #a15679; font: 9px var(--pixel); }
.stamp-scroll-v2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; max-height: 240px; margin: 0 9px 10px; padding: 7px; overflow-y: auto; border: 2px inset #d7a2bb; background: #f4dfeb; scrollbar-color: #d681aa #f8deea; scrollbar-width: thin; }
.stamp-scroll-v2:focus { outline: 2px dotted #c5538f; outline-offset: 2px; }
.stamp-scroll-v2 img { width: 100%; max-height: 47px; padding: 2px; object-fit: contain; image-rendering: pixelated; border: 1px solid rgba(169,93,132,.35); background: rgba(255,255,255,.72); }
.stamp-scroll-v2 img:nth-child(3n) { transform: rotate(-2deg); }
.stamp-scroll-v2 img:nth-child(4n) { transform: rotate(2deg); }
.status-v2 { padding: 12px; border: 2px solid #8bb6bd; background: #d7eff1; box-shadow: 4px 4px 0 rgba(106,139,172,.15); }
.status-v2 p { margin: 0 0 8px; color: #65757a; font-size: 11px; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #71c77d; box-shadow: 0 0 0 2px #b9e8bd; }
.status-meter { height: 10px; margin: 7px 0; border: 2px solid #8bb6bd; background: #fff; }
.status-meter span { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg,#ef9fc7 0 6px,#f7c1dd 6px 12px); }
.status-v2 small { color: #6c7980; font: 9px var(--pixel); }
.button-note-v2 { display: flex; align-items: center; gap: 8px; padding: 9px; border: 2px dashed #d2a06a; background: #fff0ae; transform: rotate(-2deg); }
.button-note-v2 img { width: 66px; height: auto; image-rendering: pixelated; }
.button-note-v2 p { margin: 0; color: #856349; font: italic 700 13px Georgia,serif; }
.about-v2-bottom { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 15px; }
.bottom-note { padding: 14px; border: 2px solid #d481a9; background: #f8c3dd; box-shadow: 4px 4px 0 rgba(184,101,145,.15); transform: rotate(-1deg); }
.bottom-note:nth-child(2) { transform: rotate(1deg); }
.bottom-note:nth-child(3) { transform: rotate(-.5deg); }
.mint-bottom { background: #d4ecda; border-color: #8caf95; }
.lavender-bottom { background: #e5d8f0; border-color: #ad91bd; }
.bottom-note b { color: #914b6d; font: 11px var(--pixel); }
.bottom-note p { margin: 7px 0 0; color: #745167; font-size: 12px; line-height: 1.4; }
.bottom-note a { color: #be4f87; }

@media (max-width: 900px) {
  .about-v2-collage { grid-template-columns: 175px minmax(0,1fr); }
  .about-v2-right { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); align-items: start; }
  .stamp-box-v2 { grid-column: span 1; }
}
@media (max-width: 650px) {
  .about-v2-header { min-height: 130px; padding: 20px 16px; }
  .header-sticker { width: 78px; height: 58px; font-size: 15px; }
  .about-v2-collage { grid-template-columns: 1fr; }
  .about-v2-left, .about-v2-right { grid-column: auto; grid-template-columns: repeat(2,1fr); }
  .id-card-v2 { grid-column: 1 / -1; }
  .about-v2-center { order: -1; }
  .current-grid { grid-template-columns: repeat(2,1fr); }
  .likes-columns, .about-v2-bottom { grid-template-columns: 1fr; }
  .about-v2-right { grid-template-columns: 1fr 1fr; }
  .photo-note-v2 { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .about-v2-title-wrap h1 { font-size: 43px; }
  .about-v2-left, .about-v2-right, .current-grid { grid-template-columns: 1fr; }
  .about-v2-right { grid-column: auto; }
  .stamp-box-v2 { grid-column: auto; }
  .bio-letter { padding: 23px 16px 18px; }
  .letter-deco { opacity: .75; }
}

body.night .about-v2-header { background: linear-gradient(130deg,#5d426d,#75486f 55%,#4c507f); }
body.night .about-v2-nav, body.night .bio-letter, body.night .currently-v2, body.night .likes-v2, body.night .stamp-box-v2 { background: #3c2f49; border-color: #a577b1; }
body.night .about-v2-nav a { background: #68445f; color: #ffe0f2; border-color: #a577b1; }
body.night .id-card-v2, body.night .small-paper, body.night .contact-card-v2, body.night .photo-note-v2, body.night .status-v2, body.night .button-note-v2, body.night .bottom-note { color: #f3e8f2; border-color: #a577b1; }
body.night .id-card-v2 { background: #3c2f49; }
body.night .pink-paper, body.night .photo-note-v2, body.night .bottom-note { background: #684254; }
body.night .yellow-paper, body.night .button-note-v2 { background: #66583d; }
body.night .contact-card-v2, body.night .status-v2, body.night .mint-bottom { background: #345d67; }
body.night .favorite-cloud-v2, body.night .lavender-bottom { background: #514269; border-color: #a577b1; }
body.night .stamp-scroll-v2 { background: #261d31; border-color: #a577b1; scrollbar-color: #a577b1 #493653; }
body.night .stamp-scroll-v2 img { background: #3c2f49; border-color: #a577b1; }
body.night .letter-content, body.night .current-grid span, body.night .likes-columns p, body.night .favorite-cloud-v2 p, body.night .photo-note-v2 p { color: #f3e8f2; }
body.night .section-ribbon { background: #68445f; color: #ffe0f2; }
body.night .blue-ribbon { background: #38666d; }
