
/* =========================================================
   Static utility layer
   Replaces the Tailwind CDN utilities used by the mature homepage.
   ========================================================= */
.fixed{position:fixed}.top-0{top:0}.left-0{left:0}.right-0{right:0}.z-50{z-index:50}
.mx-auto{margin-left:auto;margin-right:auto}.m-0{margin:0}.mb-0{margin-bottom:0}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}
.mb-2{margin-bottom:.5rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}
.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}
.pt-4{padding-top:1rem}.pt-7{padding-top:1.75rem}.pt-10{padding-top:2.5rem}.pt-28{padding-top:7rem}
.pb-8{padding-bottom:2rem}.pb-16{padding-bottom:4rem}.pb-24{padding-bottom:6rem}
.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.min-h-\[88vh\]{min-height:88vh}.h-14{height:3.5rem}.w-1\.5{width:.375rem}.h-1\.5{height:.375rem}
.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}
.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.space-y-5>:not([hidden])~:not([hidden]){margin-top:1.25rem}
.rounded-full{border-radius:9999px}.border-t{border-top-width:1px;border-top-style:solid}.border-white\/\[0\.10\]{border-color:rgba(255,255,255,.10)}
.text-center{text-align:center}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.text-\[15px\]{font-size:15px}.text-\[16px\]{font-size:16px}.text-\[4rem\]{font-size:4rem}
.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-relaxed{line-height:1.625}.leading-\[\.88\]{line-height:.88}
.tracking-\[-\.015em\]{letter-spacing:-.015em}.tracking-\[-\.025em\]{letter-spacing:-.025em}.tracking-\[-\.03em\]{letter-spacing:-.03em}
.text-white\/25{color:rgba(255,255,255,.25)}.text-white\/27{color:rgba(255,255,255,.27)}.text-white\/30{color:rgba(255,255,255,.30)}.text-white\/38{color:rgba(255,255,255,.38)}.text-white\/45{color:rgba(255,255,255,.45)}.text-white\/48{color:rgba(255,255,255,.48)}.text-white\/55{color:rgba(255,255,255,.55)}.text-white\/70{color:rgba(255,255,255,.70)}.text-white\/90{color:rgba(255,255,255,.90)}
.bg-green-400{background-color:rgb(74,222,128)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s}
.hover\:text-white:hover{color:#fff}.scroll-mt-28{scroll-margin-top:7rem}
@media(min-width:640px){.sm\:text-\[5\.4rem\]{font-size:5.4rem}}
@media(min-width:768px){.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:pb-28{padding-bottom:7rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-\[15px\]{font-size:15px}.md\:text-\[7rem\]{font-size:7rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}}
@media(min-width:1024px){.lg\:text-\[8rem\]{font-size:8rem}}

:root{
      color-scheme:dark;
      --seek-progress:0%;
    }

    *{box-sizing:border-box}
    html{
      scroll-behavior:smooth;
      background:#101319;
      overflow-x:clip;
      scrollbar-color:rgba(255,255,255,.16) transparent;
    }
    body{
      margin:0;
      width:100%;
      min-height:100vh;
      overflow-x:clip;
      color:rgba(255,255,255,.94);
      background:#101319;
      font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei",sans-serif;
    }
    body::-webkit-scrollbar{width:8px}
    body::-webkit-scrollbar-track{background:transparent}
    body::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15);border-radius:999px}
    a{color:inherit;text-decoration:none}
    button,input,textarea{font:inherit}
    button{color:inherit}
    ::selection{background:rgba(255,255,255,.22)}

    .scene{
      position:fixed;
      inset:0;
      z-index:0;
      overflow:hidden;
      pointer-events:none;
      background:#101319;
      contain:paint;
    }

    .scene-photo{
      position:absolute;
      inset:-18vmax;
      background-image:url("/images/landscape.jpg");
      background-repeat:no-repeat;
      background-position:center center;
      background-size:cover;
      transform:translate3d(0,0,0) scale(1.02);
      transform-origin:center center;
      will-change:transform;
      backface-visibility:hidden;
    }

    .scene-base{
      position:absolute;
      inset:0;
      background:
        linear-gradient(
          to bottom,
          rgba(5,7,10,.10) 0%,
          rgba(7,8,10,.18) 50%,
          rgba(8,9,11,.50) 100%
        );
    }

    .scene-darken{
      position:absolute;
      inset:0;
      opacity:0;
      background:
        linear-gradient(
          to bottom,
          rgba(6,8,11,.05) 0%,
          rgba(7,9,12,.18) 52%,
          rgba(8,9,11,.48) 100%
        );
      will-change:opacity;
    }

    .scene-glow{
      position:absolute;
      inset:0;
      opacity:.86;
      background:
        radial-gradient(circle at 18% 20%,rgba(105,150,255,.16),transparent 38%),
        radial-gradient(circle at 85% 35%,rgba(176,120,255,.10),transparent 38%),
        radial-gradient(circle at 50% 100%,rgba(70,190,180,.065),transparent 42%);
      mix-blend-mode:screen;
      pointer-events:none;
    }

    .scene-texture{
      position:absolute;
      inset:0;
      opacity:.11;
      background-image:
        linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);
      background-size:60px 60px;
      mask-image:linear-gradient(to bottom,black,transparent 82%);
      -webkit-mask-image:linear-gradient(to bottom,black,transparent 82%);
      pointer-events:none;
    }

    main,footer{position:relative;z-index:1}

    .glass{
      background:rgba(18,20,24,.43);
      border:1px solid rgba(255,255,255,.13);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 55px rgba(0,0,0,.14);
      backdrop-filter:blur(28px) saturate(150%);
      -webkit-backdrop-filter:blur(28px) saturate(150%);
    }
    .glass-soft{
      background:rgba(255,255,255,.075);
      border:1px solid rgba(255,255,255,.12);
      backdrop-filter:blur(22px) saturate(145%);
      -webkit-backdrop-filter:blur(22px) saturate(145%);
    }
    .nav-glass{
      background:rgba(16,17,20,.46);
      border:1px solid rgba(255,255,255,.12);
      box-shadow:0 12px 40px rgba(0,0,0,.12);
      backdrop-filter:blur(28px) saturate(160%);
      -webkit-backdrop-filter:blur(28px) saturate(160%);
    }

    .hero-inner{
      opacity:1;
      transform:translate3d(0,0,0) scale(1);
      transform-origin:left center;
      will-change:opacity,transform;
    }
    .hero-title{
      letter-spacing:-.062em;
      text-shadow:0 5px 35px rgba(0,0,0,.18);
    }
    .primary-button,.secondary-button{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding:12px 20px;
      border-radius:999px;
      font-size:14px;
      transition:transform .3s cubic-bezier(.2,.8,.2,1),background .3s ease,color .3s ease;
    }
    .primary-button{background:rgba(255,255,255,.94);color:#151618;font-weight:600}
    .primary-button:hover{transform:translateY(-2px);background:#fff}
    .secondary-button{
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.13);
      color:rgba(255,255,255,.74);
      font-weight:500;
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
    }
    .secondary-button:hover{transform:translateY(-2px);background:rgba(255,255,255,.13);color:white}

    .eyebrow{
      margin:0 0 14px;
      font-size:10px;
      font-weight:600;
      letter-spacing:.2em;
      text-transform:uppercase;
      color:rgba(255,255,255,.40);
    }
    .section-title{margin:0;letter-spacing:-.05em;line-height:1;font-weight:600}

    .music-shell{
      position:relative;
      overflow:hidden;
      border-radius:40px;
      min-height:570px;
      background:linear-gradient(135deg,rgba(255,255,255,.105),rgba(255,255,255,.035));
      border:1px solid rgba(255,255,255,.15);
      box-shadow:0 38px 105px rgba(0,0,0,.33),inset 0 1px 0 rgba(255,255,255,.09);
      backdrop-filter:blur(42px) saturate(175%);
      -webkit-backdrop-filter:blur(42px) saturate(175%);
    }
    .music-shell::before{
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(circle at 12% 12%,rgba(255,255,255,.14),transparent 30%),
        radial-gradient(circle at 82% 78%,rgba(110,145,255,.11),transparent 34%);
      pointer-events:none;
    }
    .album-ambient{
      position:absolute;
      inset:-90px;
      background:url("/images/cover.jpg") center/cover no-repeat;
      filter:blur(80px) saturate(145%);
      opacity:.18;
      transform:scale(1.15);
      transition:opacity .8s ease,transform 1.1s cubic-bezier(.2,.8,.2,1);
      pointer-events:none;
    }
    .music-shell.is-playing .album-ambient{opacity:.29;transform:scale(1.2)}
    .music-inner{position:relative;z-index:2;padding:30px}

    .music-main{
      display:grid;
      grid-template-columns:minmax(270px,.88fr) minmax(0,1.32fr);
      gap:38px;
      min-height:420px;
      align-items:stretch;
    }

    .cover-side{
      display:flex;
      flex-direction:column;
      justify-content:center;
      min-width:0;
    }
    .cover-wrap{
      position:relative;
      width:100%;
      max-width:365px;
      aspect-ratio:1/1;
      margin:auto;
      border-radius:34px;
      overflow:hidden;
      box-shadow:0 34px 85px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.08);
      transition:transform .7s cubic-bezier(.2,.8,.2,1),box-shadow .7s ease;
    }
    .music-shell.is-playing .cover-wrap{
      transform:scale(1.016);
      box-shadow:0 42px 100px rgba(0,0,0,.43),inset 0 1px 0 rgba(255,255,255,.08);
    }
    .cover-wrap::after{
      content:"";
      position:absolute;
      inset:0;
      border-radius:inherit;
      border:1px solid rgba(255,255,255,.14);
      pointer-events:none;
    }
    .album-cover{display:block;width:100%;height:100%;object-fit:cover}

    .cover-meta{
      width:100%;
      max-width:365px;
      margin:18px auto 0;
      padding:0 3px;
    }
    .cover-meta-head{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:14px;
    }
    .cover-title{
      margin:6px 0 0;
      font-size:clamp(27px,3vw,40px);
      line-height:.98;
      letter-spacing:-.05em;
      font-weight:650;
      color:rgba(255,255,255,.96);
    }
    .cover-artist{
      margin:7px 0 0;
      font-size:14px;
      color:rgba(255,255,255,.43);
    }

    .lyrics-side{
      position:relative;
      min-width:0;
      display:flex;
      flex-direction:column;
      overflow:hidden;
      padding-top:4px;
    }
    .track-meta{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:20px;
      padding:7px 10px 18px 6px;
      flex-shrink:0;
    }
    .meta-label{
      font-size:10px;
      font-weight:700;
      letter-spacing:.19em;
      text-transform:uppercase;
      color:rgba(255,255,255,.35);
    }
    .song-title{
      margin:9px 0 0;
      font-size:clamp(32px,4vw,52px);
      line-height:.96;
      letter-spacing:-.055em;
      font-weight:650;
      color:rgba(255,255,255,.96);
    }
    .artist-name{margin:9px 0 0;font-size:15px;color:rgba(255,255,255,.43)}
    .playing-chip{
      display:inline-flex;
      align-items:center;
      gap:7px;
      flex-shrink:0;
      padding:7px 10px;
      border-radius:999px;
      background:rgba(255,255,255,.07);
      border:1px solid rgba(255,255,255,.10);
      color:rgba(255,255,255,.38);
      font-size:10px;
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
    }
    .playing-dot{
      width:6px;height:6px;border-radius:50%;
      background:rgba(255,255,255,.30);
      transition:background .3s ease,box-shadow .3s ease;
    }
    .music-shell.is-playing .playing-dot{
      background:#6ee7a8;
      box-shadow:0 0 13px rgba(110,231,168,.62);
    }

    .lyrics-window{
      position:relative;
      flex:1;
      min-height:365px;
      overflow:hidden;
      border-radius:28px;
      background:rgba(8,9,12,.13);
      border:1px solid rgba(255,255,255,.045);
      mask-image:linear-gradient(to bottom,transparent 0%,black 14%,black 84%,transparent 100%);
      -webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 14%,black 84%,transparent 100%);
    }
    .lyrics-track{
      position:absolute;
      left:0;right:0;top:0;
      padding:150px 20px;
      transform:translate3d(0,0,0);
      transition:transform .68s cubic-bezier(.22,.8,.22,1);
      will-change:transform;
    }
    .lyric-line{
      display:block;
      width:100%;
      margin:0;
      padding:12px 10px;
      border:0;
      border-radius:18px;
      background:transparent;
      text-align:left;
      cursor:pointer;
      font-size:clamp(18px,2.35vw,27px);
      line-height:1.28;
      letter-spacing:-.025em;
      font-weight:590;
      color:rgba(255,255,255,.23);
      transform:scale(.96);
      transform-origin:left center;
      transition:color .45s ease,transform .52s cubic-bezier(.2,.8,.2,1),background .25s ease;
    }
    .lyric-line:hover{background:rgba(255,255,255,.045);color:rgba(255,255,255,.48)}
    .lyric-line.is-near{color:rgba(255,255,255,.39);transform:scale(.985)}
    .lyric-line.is-active{
      color:rgba(255,255,255,.98);
      transform:scale(1.02);
      font-weight:650;
      text-shadow:0 4px 28px rgba(0,0,0,.16);
    }
    .lyrics-placeholder{
      position:absolute;
      inset:0;
      display:grid;
      place-items:center;
      padding:30px;
      color:rgba(255,255,255,.30);
      font-size:13px;
      text-align:center;
      line-height:1.8;
    }

    .player-bottom{
      position:relative;
      z-index:3;
      margin-top:24px;
      padding:15px 20px 14px;
      border-radius:28px;
      background:rgba(18,20,24,.43);
      border:1px solid rgba(255,255,255,.115);
      box-shadow:0 18px 55px rgba(0,0,0,.20);
      backdrop-filter:blur(30px) saturate(175%);
      -webkit-backdrop-filter:blur(30px) saturate(175%);
    }
    .spectrum-row{
      display:grid;
      grid-template-columns:42px 1fr 42px;
      gap:12px;
      align-items:end;
    }
    .time{
      padding-bottom:6px;
      font-size:10px;
      color:rgba(255,255,255,.30);
      font-variant-numeric:tabular-nums;
    }
    .time:last-child{text-align:right}

    .spectrum-seek{
      position:relative;
      height:94px;
      min-width:0;
      user-select:none;
      -webkit-user-select:none;
      touch-action:none;
      outline:none;
    }
    #spectrumCanvas{
      position:absolute;
      left:0;right:0;top:0;
      width:100%;
      height:78px;
      pointer-events:none;
    }
    .seek-interaction{
      position:absolute;
      inset:0;
      z-index:5;
      cursor:pointer;
      touch-action:none;
    }
    .seek-line{
      position:absolute;
      left:0;right:0;bottom:5px;
      height:4px;
      border-radius:999px;
      overflow:hidden;
      background:rgba(255,255,255,.15);
      pointer-events:none;
    }
    .seek-fill{
      width:var(--seek-progress);
      height:100%;
      border-radius:inherit;
      background:rgba(255,255,255,.96);
    }
    .seek-thumb{
      position:absolute;
      left:var(--seek-progress);
      bottom:0;
      width:14px;height:14px;
      border-radius:50%;
      background:white;
      box-shadow:0 4px 14px rgba(0,0,0,.30);
      transform:translateX(-50%);
      opacity:.18;
      pointer-events:none;
      transition:opacity .18s ease,transform .18s ease;
    }
    .spectrum-seek:hover .seek-thumb,
    .spectrum-seek.is-seeking .seek-thumb{
      opacity:1;
      transform:translateX(-50%) scale(1.06);
    }
    .seek-bubble{
      position:absolute;
      bottom:23px;
      left:var(--seek-progress);
      transform:translateX(-50%) translateY(5px);
      padding:5px 8px;
      border-radius:999px;
      background:rgba(15,16,20,.86);
      border:1px solid rgba(255,255,255,.12);
      color:rgba(255,255,255,.78);
      font-size:9px;
      font-variant-numeric:tabular-nums;
      opacity:0;
      pointer-events:none;
      backdrop-filter:blur(14px);
      -webkit-backdrop-filter:blur(14px);
      transition:opacity .16s ease,transform .16s ease;
    }
    .spectrum-seek.is-seeking .seek-bubble{
      opacity:1;
      transform:translateX(-50%) translateY(0);
    }

    .controls-row{
      display:grid;
      grid-template-columns:1fr auto 1fr;
      align-items:center;
      gap:18px;
      margin-top:10px;
    }
    .controls-center{display:flex;align-items:center;justify-content:center;gap:13px}
    .control-button{
      border:0;padding:0;cursor:pointer;background:transparent;
      display:grid;place-items:center;
      color:rgba(255,255,255,.58);
      transition:color .22s ease,transform .22s ease,background .22s ease;
    }
    .control-button:hover{color:white;transform:scale(1.05)}
    .minor-control{width:38px;height:38px;border-radius:50%}
    .minor-control:hover{background:rgba(255,255,255,.07)}
    .play-control{
      width:56px;height:56px;border-radius:50%;
      background:rgba(255,255,255,.94);
      color:#151618;
      box-shadow:0 12px 34px rgba(0,0,0,.24);
    }
    .play-control:hover{color:#151618;background:white;transform:scale(1.045)}
    #playIcon{display:grid;place-items:center;line-height:0}
    #playIcon svg{width:30px;height:30px}
    .control-caption{
      justify-self:start;
      color:rgba(255,255,255,.24);
      font-size:9px;
      letter-spacing:.05em;
      text-transform:uppercase;
    }
    .volume-wrap{justify-self:end;display:flex;align-items:center}

    .guestbook-shell{border-radius:34px;overflow:hidden}
    .guestbook-grid{
      display:grid;
      grid-template-columns:.86fr 1.14fr;
      gap:1px;
      background:rgba(255,255,255,.10);
    }
    .guestbook-panel{
      background:rgba(15,16,19,.56);
      padding:30px;
      backdrop-filter:blur(32px) saturate(145%);
      -webkit-backdrop-filter:blur(32px) saturate(145%);
    }
    .glass-input{
      width:100%;
      padding:14px 15px;
      border:1px solid rgba(255,255,255,.11);
      border-radius:17px;
      outline:none;
      background:rgba(255,255,255,.07);
      color:rgba(255,255,255,.92);
      transition:border-color .25s ease,background .25s ease,box-shadow .25s ease;
    }
    .glass-input::placeholder{color:rgba(255,255,255,.25)}
    .glass-input:hover{background:rgba(255,255,255,.09)}
    .glass-input:focus{
      background:rgba(255,255,255,.11);
      border-color:rgba(255,255,255,.23);
      box-shadow:0 0 0 4px rgba(255,255,255,.04);
    }
    textarea.glass-input{resize:none;min-height:170px;line-height:1.65}
    .post-button{
      width:100%;
      padding:13px 18px;
      border:0;
      border-radius:999px;
      background:rgba(255,255,255,.94);
      color:#151618;
      cursor:pointer;
      font-size:14px;
      font-weight:600;
      transition:transform .3s ease,background .3s ease,opacity .3s ease;
    }
    .post-button:hover{transform:translateY(-2px);background:white}
    .post-button:active{transform:scale(.985)}
    .post-button:disabled{opacity:.42;cursor:not-allowed;transform:none}

    #messagesList{max-height:510px;overflow-y:auto;padding-right:5px}
    #messagesList::-webkit-scrollbar{width:5px}
    #messagesList::-webkit-scrollbar-thumb{background:rgba(255,255,255,.13);border-radius:999px}
    .message-item{padding:19px 0;border-bottom:1px solid rgba(255,255,255,.08)}
    .message-item:first-child{padding-top:3px}
    .message-item:last-child{border-bottom:0}
    .message-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
    .message-user{display:flex;align-items:center;gap:10px}
    .avatar{
      width:33px;height:33px;border-radius:999px;
      display:flex;align-items:center;justify-content:center;
      background:rgba(255,255,255,.09);
      border:1px solid rgba(255,255,255,.07);
      font-size:11px;font-weight:600;color:rgba(255,255,255,.62);
      flex-shrink:0;
    }
    .message-name{font-size:13px;font-weight:600;color:rgba(255,255,255,.77)}
    .message-time{font-size:10px;color:rgba(255,255,255,.27)}
    .message-content{
      margin:10px 0 0 43px;
      font-size:14px;
      line-height:1.7;
      color:rgba(255,255,255,.52);
      white-space:pre-wrap;
      overflow-wrap:anywhere;
    }

    .footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
    .footer-link{
      display:inline-flex;align-items:center;gap:5px;
      min-height:29px;padding:0 11px;border-radius:999px;
      background:rgba(255,255,255,.055);
      border:1px solid rgba(255,255,255,.09);
      color:rgba(255,255,255,.34);
      font-size:10px;font-weight:500;
      backdrop-filter:blur(15px);
      -webkit-backdrop-filter:blur(15px);
      transition:color .25s ease,background .25s ease,transform .25s ease,border-color .25s ease;
    }
    .footer-link:hover{
      transform:translateY(-1px);
      color:rgba(255,255,255,.80);
      background:rgba(255,255,255,.09);
      border-color:rgba(255,255,255,.14);
    }
    .footer-link.placeholder{cursor:default;opacity:.55}

    .reveal{
      opacity:1;
      transform:translateY(0) scale(1);
      transition:opacity .75s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1);
    }
    .reveal.reveal-prep{opacity:0;transform:translateY(22px) scale(.99)}
    .reveal.reveal-prep.visible{opacity:1;transform:translateY(0) scale(1)}

    @media(max-width:900px){
      .music-main{
        grid-template-columns:minmax(200px,.82fr) minmax(0,1.18fr);
        gap:24px;
      }
      .guestbook-grid{grid-template-columns:1fr}
    }

    @media(max-width:700px){
      .scene-photo{
        inset:-26vmax;
      }

      .scene-glow{
        opacity:.50;
        mix-blend-mode:normal;
      }

      .scene-texture{
        opacity:.055;
      }

      .nav-glass{
        background:
          linear-gradient(
            180deg,
            rgba(28,30,35,.88),
            rgba(17,19,23,.76)
          );
        border-color:rgba(255,255,255,.11);
        box-shadow:
          inset 0 1px 0 rgba(255,255,255,.07),
          0 10px 28px rgba(0,0,0,.16);
        backdrop-filter:blur(18px) saturate(140%);
        -webkit-backdrop-filter:blur(18px) saturate(140%);
      }

      .glass-soft{
        background:rgba(20,22,27,.68);
        backdrop-filter:blur(18px) saturate(140%);
        -webkit-backdrop-filter:blur(18px) saturate(140%);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
      }

      .music-shell{
        min-height:0;
        border-radius:27px;
        background:rgba(21,23,28,.66);
        backdrop-filter:blur(14px) saturate(135%);
        -webkit-backdrop-filter:blur(14px) saturate(135%);
        box-shadow:
          0 22px 60px rgba(0,0,0,.27),
          inset 0 1px rgba(255,255,255,.07);
      }

      .album-ambient{display:none}

      .music-inner{padding:13px}

      .music-main{
        grid-template-columns:minmax(0,42%) minmax(0,58%);
        gap:11px;
        min-height:0;
        align-items:start;
      }

      .cover-side{
        justify-content:flex-start;
        padding-top:2px;
      }

      .cover-wrap{
        width:100%;
        max-width:none;
        margin:0;
        border-radius:18px;
        box-shadow:0 16px 38px rgba(0,0,0,.31);
      }

      .music-shell.is-playing .cover-wrap{
        transform:none;
      }

      .cover-meta{
        max-width:none;
        margin:10px 0 0;
        padding:0 1px;
      }

      .cover-meta-head{
        display:block;
      }

      .meta-label{
        font-size:7px;
        letter-spacing:.14em;
      }

      .cover-title{
        margin-top:4px;
        font-size:clamp(19px,6vw,25px);
        line-height:1;
      }

      .cover-artist{
        margin-top:4px;
        font-size:10px;
      }

      .playing-chip{
        display:none;
      }

      .lyrics-side{
        padding-top:0;
      }

      .lyrics-window{
        flex:none;
        height:190px;
        min-height:190px;
        border-radius:17px;
        background:rgba(8,9,12,.09);
      }

      .lyrics-track{
        padding:78px 5px;
      }

      .lyric-line{
        padding:6px 4px;
        border-radius:11px;
        font-size:clamp(12px,3.55vw,15px);
        line-height:1.23;
      }

      .player-bottom{
        margin-top:10px;
        padding:9px 9px 8px;
        border-radius:19px;
        background:
          linear-gradient(
            180deg,
            rgba(31,33,39,.68),
            rgba(17,19,23,.54)
          );
        border-color:rgba(255,255,255,.10);
        box-shadow:
          inset 0 1px 0 rgba(255,255,255,.055),
          0 10px 25px rgba(0,0,0,.12);
        backdrop-filter:blur(18px) saturate(140%);
        -webkit-backdrop-filter:blur(18px) saturate(140%);
      }

      .spectrum-row{
        grid-template-columns:30px 1fr 30px;
        gap:5px;
      }

      .time{
        font-size:8px;
        padding-bottom:5px;
      }

      .spectrum-seek{
        height:58px;
      }

      #spectrumCanvas{
        height:45px;
      }

      .seek-thumb{
        opacity:.62;
        width:13px;
        height:13px;
      }

      .seek-bubble{
        bottom:19px;
      }

      .controls-row{
        grid-template-columns:34px 1fr 34px;
        gap:5px;
        margin-top:4px;
      }

      .control-caption{
        font-size:0;
      }

      .control-caption::after{
        content:"♪";
        font-size:12px;
        color:rgba(255,255,255,.28);
      }

      .minor-control{
        width:33px;
        height:33px;
      }

      .play-control{
        width:48px;
        height:48px;
      }

      #playIcon svg{
        width:27px;
        height:27px;
      }

      .guestbook-shell{
        background:rgba(18,20,24,.64);
        backdrop-filter:blur(14px);
        -webkit-backdrop-filter:blur(14px);
      }

      .guestbook-panel{
        padding:21px;
        background:rgba(15,16,19,.38);
        backdrop-filter:blur(18px) saturate(140%);
        -webkit-backdrop-filter:blur(18px) saturate(140%);
      }

      .footer-link{
        backdrop-filter:blur(18px) saturate(140%);
        -webkit-backdrop-filter:blur(18px) saturate(140%);
      }

      .reveal.reveal-prep{
        opacity:0;
        transform:translateY(12px);
      }

      .message-content{
        margin-left:0;
        padding-left:43px;
      }

      .footer-links{
        justify-content:flex-start;
      }
    }

    @media(max-width:390px){
      .music-main{
        grid-template-columns:minmax(0,41%) minmax(0,59%);
        gap:8px;
      }

      .lyrics-window{
        height:176px;
        min-height:176px;
      }

      .lyrics-track{
        padding:72px 4px;
      }

      .cover-title{
        font-size:19px;
      }

      .lyric-line{
        font-size:12px;
      }
    }

    @media(prefers-reduced-motion:reduce){
      html{scroll-behavior:auto}
      *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
      .reveal,.reveal.reveal-prep{opacity:1;transform:none}
    }
  
    .hero-title,
    .section-title{
      background:
        linear-gradient(
          180deg,
          rgba(255,255,255,.99) 0%,
          rgba(255,255,255,.90) 34%,
          rgba(255,255,255,.58) 68%,
          rgba(255,255,255,.16) 100%
        );
      -webkit-background-clip:text;
      background-clip:text;
      -webkit-text-fill-color:transparent;
      color:transparent;
      text-shadow:none;
      filter:drop-shadow(0 12px 28px rgba(0,0,0,.14));
    }

    .section-title{
      letter-spacing:-.052em;
    }

    @media(max-width:700px){
      .hero-title,
      .section-title{
        filter:drop-shadow(0 8px 20px rgba(0,0,0,.12));
      }
    }

    html,
    body{
      overscroll-behavior-y:none;
      background-color:#151a22;
      min-height:100%;
    }

    .scene{
      top:-32vh;
      bottom:-32vh;
      left:0;
      right:0;
      height:auto;
    }

    footer{
      padding-bottom:calc(2rem + env(safe-area-inset-bottom)) !important;
    }

    .spectrum-seek.seek-disabled{
      opacity:.56;
      cursor:wait;
    }

    .spectrum-seek.seek-disabled .seek-interaction{
      cursor:wait;
    }

    .message-actions{
      margin:11px 0 0 43px;
      display:flex;
      align-items:center;
      gap:8px;
      flex-wrap:wrap;
    }

    .message-action{
      display:inline-flex;
      align-items:center;
      gap:6px;
      min-height:30px;
      padding:0 11px;
      border:1px solid rgba(255,255,255,.085);
      border-radius:999px;
      background:rgba(255,255,255,.045);
      color:rgba(255,255,255,.40);
      font-size:11px;
      cursor:pointer;
      transition:
        transform .2s ease,
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
    }

    .message-action:hover{
      transform:translateY(-1px);
      color:rgba(255,255,255,.82);
      background:rgba(255,255,255,.075);
      border-color:rgba(255,255,255,.13);
    }

    .message-action.liked{
      color:rgba(255,205,218,.94);
      background:rgba(255,145,175,.09);
      border-color:rgba(255,180,200,.18);
    }

    .like-heart{
      font-size:14px;
      line-height:1;
    }

    .reply-thread{
      margin:14px 0 0 43px;
      padding-left:15px;
      border-left:1px solid rgba(255,255,255,.085);
    }

    .reply-item{
      padding:10px 0 11px;
      border-bottom:1px solid rgba(255,255,255,.055);
    }

    .reply-item:last-child{
      border-bottom:0;
    }

    .reply-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
    }

    .reply-name{
      font-size:11px;
      font-weight:600;
      color:rgba(255,255,255,.60);
    }

    .reply-time{
      font-size:9px;
      color:rgba(255,255,255,.22);
    }

    .reply-content{
      margin:5px 0 0;
      font-size:12px;
      line-height:1.62;
      color:rgba(255,255,255,.43);
      white-space:pre-wrap;
      overflow-wrap:anywhere;
    }

    .reply-form{
      display:none;
      margin:12px 0 0 43px;
      padding:13px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.09);
      background:rgba(255,255,255,.045);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
    }

    .reply-form.open{
      display:grid;
      gap:9px;
    }

    .reply-form-row{
      display:grid;
      grid-template-columns:minmax(110px,.34fr) minmax(0,1fr);
      gap:9px;
    }

    .reply-field{
      width:100%;
      border:1px solid rgba(255,255,255,.085);
      border-radius:13px;
      outline:none;
      background:rgba(8,10,14,.20);
      color:rgba(255,255,255,.80);
      padding:10px 11px;
      font-size:11px;
      transition:border-color .2s ease,background .2s ease;
    }

    .reply-field:focus{
      border-color:rgba(255,255,255,.18);
      background:rgba(255,255,255,.055);
    }

    textarea.reply-field{
      min-height:70px;
      resize:none;
      line-height:1.5;
    }

    .reply-status{
      min-height:13px;
      font-size:9px;
      color:rgba(255,255,255,.32);
    }

    .reply-submit{
      justify-self:end;
      border:0;
      border-radius:999px;
      padding:8px 14px;
      background:rgba(255,255,255,.90);
      color:#17191d;
      font-size:11px;
      font-weight:650;
      cursor:pointer;
      transition:transform .2s ease,opacity .2s ease;
    }

    .reply-submit:hover{
      transform:translateY(-1px);
    }

    .reply-submit:disabled{
      opacity:.45;
      cursor:not-allowed;
      transform:none;
    }

    .poll-shell{
      position:relative;
      overflow:hidden;
      border-radius:36px;
      padding:26px;
      background:
        linear-gradient(
          135deg,
          rgba(255,255,255,.095),
          rgba(255,255,255,.032)
        );
      border:1px solid rgba(255,255,255,.13);
      box-shadow:
        0 28px 80px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.06);
      backdrop-filter:blur(30px) saturate(155%);
      -webkit-backdrop-filter:blur(30px) saturate(155%);
    }

    .poll-shell::before{
      content:"";
      position:absolute;
      inset:-25%;
      background:
        radial-gradient(circle at 18% 16%,rgba(145,170,255,.12),transparent 35%),
        radial-gradient(circle at 84% 78%,rgba(205,145,255,.08),transparent 34%);
      pointer-events:none;
    }

    .poll-content{
      position:relative;
      z-index:1;
    }

    .poll-top{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:18px;
      margin-bottom:20px;
    }

    .poll-copy{
      max-width:650px;
    }

    .poll-title{
      margin:0;
      font-size:clamp(24px,3vw,36px);
      line-height:1.05;
      letter-spacing:-.045em;
      font-weight:650;
      color:rgba(255,255,255,.90);
    }

    .poll-description{
      margin:9px 0 0;
      font-size:12px;
      line-height:1.7;
      color:rgba(255,255,255,.36);
    }

    .poll-live{
      display:inline-flex;
      align-items:center;
      gap:7px;
      flex-shrink:0;
      padding:7px 10px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.09);
      background:rgba(255,255,255,.045);
      color:rgba(255,255,255,.34);
      font-size:10px;
    }

    .poll-live-dot{
      width:6px;
      height:6px;
      border-radius:50%;
      background:#76e8ae;
      box-shadow:0 0 11px rgba(118,232,174,.45);
    }

    .poll-options{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:10px;
    }

    .poll-option{
      position:relative;
      min-width:0;
      padding:13px 13px 12px;
      border:1px solid rgba(255,255,255,.085);
      border-radius:18px;
      background:rgba(255,255,255,.04);
      color:rgba(255,255,255,.60);
      text-align:left;
      cursor:pointer;
      overflow:hidden;
      transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease,
        color .22s ease;
    }

    .poll-option:hover{
      transform:translateY(-2px);
      background:rgba(255,255,255,.065);
      border-color:rgba(255,255,255,.14);
      color:rgba(255,255,255,.82);
    }

    .poll-option.selected{
      background:rgba(255,255,255,.10);
      border-color:rgba(255,255,255,.25);
      color:rgba(255,255,255,.96);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 10px 28px rgba(0,0,0,.10);
    }

    .poll-option-name{
      display:block;
      position:relative;
      z-index:2;
      font-size:12px;
      font-weight:600;
      letter-spacing:-.01em;
    }

    .poll-option-meta{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:8px;
      position:relative;
      z-index:2;
      margin-top:10px;
      font-size:9px;
      color:rgba(255,255,255,.26);
    }

    .poll-meter{
      position:absolute;
      left:0;
      right:0;
      bottom:0;
      height:3px;
      background:rgba(255,255,255,.035);
    }

    .poll-meter-fill{
      height:100%;
      width:0;
      border-radius:999px;
      background:rgba(255,255,255,.58);
      transition:width .55s cubic-bezier(.2,.8,.2,1);
    }

    .poll-other{
      display:none;
      margin-top:11px;
    }

    .poll-other.visible{
      display:block;
    }

    .poll-other-input{
      width:100%;
      padding:12px 14px;
      border:1px solid rgba(255,255,255,.10);
      border-radius:15px;
      outline:none;
      background:rgba(8,10,14,.20);
      color:rgba(255,255,255,.82);
      font-size:12px;
      transition:border-color .2s ease,background .2s ease;
    }

    .poll-other-input:focus{
      border-color:rgba(255,255,255,.20);
      background:rgba(255,255,255,.055);
    }

    .poll-bottom{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      margin-top:18px;
    }

    .poll-note{
      margin:0;
      font-size:10px;
      line-height:1.55;
      color:rgba(255,255,255,.26);
    }

    .poll-submit{
      flex-shrink:0;
      border:0;
      border-radius:999px;
      padding:10px 17px;
      background:rgba(255,255,255,.92);
      color:#17191d;
      font-size:11px;
      font-weight:650;
      cursor:pointer;
      transition:transform .22s ease,opacity .22s ease;
    }

    .poll-submit:hover{
      transform:translateY(-1px);
    }

    .poll-submit:disabled{
      opacity:.42;
      cursor:not-allowed;
      transform:none;
    }

    .poll-message{
      min-height:16px;
      margin-top:10px;
      font-size:10px;
      color:rgba(255,255,255,.36);
    }

    @media(max-width:900px){
      .poll-options{
        grid-template-columns:repeat(3,minmax(0,1fr));
      }
    }

    @media(max-width:700px){
      .scene{
        top:-40vh;
        bottom:-40vh;
      }

      .message-actions,
      .reply-thread,
      .reply-form{
        margin-left:43px;
      }

      .reply-form-row{
        grid-template-columns:1fr;
      }

      .poll-shell{
        border-radius:27px;
        padding:18px;
        backdrop-filter:blur(18px) saturate(140%);
        -webkit-backdrop-filter:blur(18px) saturate(140%);
      }

      .poll-top{
        display:block;
        margin-bottom:15px;
      }

      .poll-live{
        margin-top:12px;
      }

      .poll-options{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
      }

      .poll-option{
        border-radius:15px;
        padding:11px 10px 10px;
      }

      .poll-bottom{
        align-items:flex-end;
      }

      .poll-note{
        max-width:70%;
      }
    }

  
    .poll-option.selected{
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 10px 32px rgba(0,0,0,.12),
        0 0 0 1px rgba(255,255,255,.07);
    }

    .poll-option.selected .poll-option-name::after{
      content:"✓";
      display:inline-grid;
      place-items:center;
      width:17px;
      height:17px;
      margin-left:7px;
      border-radius:999px;
      background:rgba(255,255,255,.92);
      color:#17191d;
      font-size:10px;
      font-weight:800;
      vertical-align:1px;
    }

/* =========================================================
   WeChat in-app browser notice
   ========================================================= */
.wechat-notice{
  position:fixed;inset:0;z-index:200;display:grid;place-items:center;
  padding:22px;background:rgba(7,9,12,.34);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.wechat-notice[hidden]{display:none}
.wechat-notice-card{
  width:min(440px,100%);padding:24px;border-radius:28px;
  background:linear-gradient(145deg,rgba(35,38,45,.78),rgba(14,16,20,.66));
  border:1px solid rgba(255,255,255,.14);box-shadow:0 28px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(34px) saturate(165%);-webkit-backdrop-filter:blur(34px) saturate(165%);
}
.wechat-notice-kicker{margin:0 0 10px;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.36)}
.wechat-notice-title{margin:0;font-size:23px;letter-spacing:-.035em;color:rgba(255,255,255,.94)}
.wechat-notice-copy{margin:12px 0 0;font-size:13px;line-height:1.75;color:rgba(255,255,255,.52)}
.wechat-notice-actions{display:flex;justify-content:flex-end;margin-top:20px}
.wechat-continue{border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:10px 16px;background:rgba(255,255,255,.09);color:rgba(255,255,255,.82);cursor:pointer}
.wechat-continue:hover{background:rgba(255,255,255,.14);color:#fff}

/* =========================================================
   Inner pages / About / Echo / Admin
   ========================================================= */
.inner-body{min-height:100vh;color:rgba(255,255,255,.93)}
.inner-frame{position:relative;z-index:1;width:min(760px,calc(100% - 32px));margin:0 auto;padding:34px 0 70px}
.inner-glass{
  background:linear-gradient(180deg,rgba(24,27,32,.56),rgba(12,14,18,.48));
  border:1px solid rgba(255,255,255,.13);border-radius:34px;
  box-shadow:0 38px 110px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(34px) saturate(155%);-webkit-backdrop-filter:blur(34px) saturate(155%);
}
.inner-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:0 4px}
.inner-back,.subtle-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:rgba(255,255,255,.46);transition:.2s ease}
.inner-back:hover,.subtle-link:hover{color:rgba(255,255,255,.88);transform:translateY(-1px)}
.profile-card{padding:26px 28px;display:flex;align-items:center;gap:18px;position:relative;overflow:hidden}
.profile-card::after{content:"";position:absolute;inset:auto -15% -70% 15%;height:180px;background:radial-gradient(circle,rgba(125,154,210,.12),transparent 68%);pointer-events:none}
.profile-avatar{width:76px;height:76px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.15);box-shadow:0 14px 32px rgba(0,0,0,.25);flex:0 0 auto}
.profile-main{min-width:0;flex:1;position:relative;z-index:1}
.profile-name{margin:0;font-size:28px;line-height:1;letter-spacing:-.045em;font-weight:650}
.profile-signature{margin:8px 0 0;font-size:13px;color:rgba(255,255,255,.45)}
.profile-echo{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);font-size:11px;color:rgba(255,255,255,.42);white-space:nowrap;transition:.2s ease}
.profile-echo:hover{background:rgba(255,255,255,.08);color:rgba(255,255,255,.78)}
.feed-section{margin-top:16px;padding:8px 0}
.feed-empty{padding:55px 24px;text-align:center;color:rgba(255,255,255,.35);font-size:13px}
.moment-card{padding:24px 26px;border-bottom:1px solid rgba(255,255,255,.075)}
.moment-card:last-child{border-bottom:0}
.moment-head{display:flex;align-items:center;gap:11px}
.moment-avatar{width:39px;height:39px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.11)}
.moment-author{font-size:13px;font-weight:620;color:rgba(255,255,255,.86)}
.moment-time{margin-top:2px;font-size:10px;color:rgba(255,255,255,.28)}
.moment-copy{margin:16px 0 0;font-size:14px;line-height:1.85;color:rgba(255,255,255,.73);white-space:pre-wrap;overflow-wrap:anywhere}
.moment-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:16px}
.moment-images.one{grid-template-columns:1fr}
.moment-images.three{grid-template-columns:repeat(2,minmax(0,1fr))}
.moment-images img{width:100%;height:100%;max-height:520px;aspect-ratio:1/1;object-fit:cover;border-radius:17px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);cursor:zoom-in}
.moment-images.one img{aspect-ratio:auto;max-height:620px;object-fit:contain;background:rgba(0,0,0,.12)}
.feed-actions{display:flex;align-items:center;gap:8px;margin-top:14px}
.icon-action{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 10px;border:1px solid transparent;border-radius:999px;background:transparent;color:rgba(255,255,255,.38);font-size:11px;cursor:pointer;transition:.2s ease}
.icon-action:hover{background:rgba(255,255,255,.055);color:rgba(255,255,255,.75)}
.icon-action.liked{color:rgba(255,198,214,.92)}
.icon-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.icon-action.liked .heart-icon{fill:currentColor}
.comment-panel{margin-top:13px;padding:13px 14px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.065)}
.comment-list{display:grid;gap:9px}
.comment-item{font-size:12px;line-height:1.6;color:rgba(255,255,255,.52)}
.comment-item strong{color:rgba(255,255,255,.72);font-weight:600;margin-right:6px}
.comment-time{font-size:9px;color:rgba(255,255,255,.22);margin-left:6px}
.comment-form{display:grid;grid-template-columns:120px 1fr auto;gap:7px;margin-top:11px}
.mini-input{width:100%;min-width:0;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.05);color:rgba(255,255,255,.86);outline:none;padding:9px 10px;font-size:11px}
.mini-input::placeholder{color:rgba(255,255,255,.22)}
.mini-button,.glass-button{border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.68);cursor:pointer;transition:.2s ease}
.mini-button{padding:8px 11px;font-size:10px}
.mini-button:hover,.glass-button:hover{background:rgba(255,255,255,.13);color:#fff;transform:translateY(-1px)}
.lightbox{position:fixed;inset:0;z-index:300;background:rgba(4,6,9,.82);display:grid;place-items:center;padding:20px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.lightbox[hidden]{display:none}.lightbox img{max-width:min(1080px,95vw);max-height:90vh;object-fit:contain;border-radius:18px;box-shadow:0 30px 100px rgba(0,0,0,.55)}

/* Echo */
.echo-header{padding:30px 28px 24px}
.echo-kicker{margin:0 0 10px;font-size:10px;text-transform:uppercase;letter-spacing:.18em;font-weight:700;color:rgba(255,255,255,.32)}
.echo-title{margin:0;font-size:clamp(38px,7vw,66px);line-height:.92;letter-spacing:-.055em;font-weight:650;background:linear-gradient(180deg,#fff,rgba(255,255,255,.35));-webkit-background-clip:text;background-clip:text;color:transparent}
.echo-intro{margin:15px 0 0;max-width:560px;font-size:13px;line-height:1.8;color:rgba(255,255,255,.43)}
.echo-block{margin-top:16px;padding:25px 26px}
.block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px}
.block-title{margin:0;font-size:22px;letter-spacing:-.035em}.block-note{margin:5px 0 0;font-size:11px;color:rgba(255,255,255,.30)}
.glass-button{padding:10px 15px;font-size:11px}
.glass-button.primary{background:rgba(255,255,255,.92);color:#17191d;border-color:rgba(255,255,255,.8);font-weight:650}
.glass-button.primary:hover{background:#fff;color:#111}
.question-list{display:grid;gap:12px}
.question-card{padding:18px;border-radius:23px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.075)}
.question-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.question-name{font-size:11px;font-weight:620;color:rgba(255,255,255,.56)}
.question-text{margin:12px 0 0;font-size:16px;line-height:1.72;color:rgba(255,255,255,.85);white-space:pre-wrap;overflow-wrap:anywhere}
.answer-card{margin-top:14px;padding:15px 16px;border-radius:18px;background:linear-gradient(135deg,rgba(134,160,205,.11),rgba(255,255,255,.045));border:1px solid rgba(170,196,235,.10)}
.answer-name{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650;color:rgba(213,225,245,.72)}
.answer-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover}.answer-text{margin:8px 0 0;font-size:14px;line-height:1.75;color:rgba(255,255,255,.76);white-space:pre-wrap}
.waiting-answer{margin-top:12px;font-size:10px;color:rgba(255,255,255,.25)}
.echo-form{display:grid;gap:10px;margin-top:15px}.echo-form[hidden]{display:none}
.echo-form textarea{min-height:120px;resize:vertical}
.private-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.dialog-layer{position:fixed;inset:0;z-index:250;display:grid;place-items:center;padding:20px;background:rgba(6,8,11,.56);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.dialog-layer[hidden]{display:none}.dialog-card{width:min(520px,100%);padding:24px;border-radius:28px;background:linear-gradient(145deg,rgba(32,35,42,.90),rgba(14,16,20,.82));border:1px solid rgba(255,255,255,.13);box-shadow:0 28px 80px rgba(0,0,0,.42)}
.dialog-title{margin:0;font-size:23px;letter-spacing:-.035em}.dialog-copy{margin:8px 0 16px;font-size:12px;line-height:1.7;color:rgba(255,255,255,.38)}
.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.form-stack{display:grid;gap:9px}
.form-error{min-height:16px;margin-top:8px;font-size:11px;color:rgba(255,180,190,.78)}
.chat-shell{margin-top:14px;border-radius:24px;border:1px solid rgba(255,255,255,.075);background:rgba(7,9,12,.16);overflow:hidden}
.chat-top{padding:14px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(255,255,255,.07)}
.chat-title{font-size:12px;color:rgba(255,255,255,.62)}.chat-status{font-size:9px;color:rgba(255,255,255,.26)}
.chat-messages{height:min(520px,60vh);overflow:auto;padding:18px;display:flex;flex-direction:column;gap:12px}
.chat-row{display:flex;gap:9px;align-items:flex-end}.chat-row.philo{flex-direction:row-reverse}.chat-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);font-size:11px;color:rgba(255,255,255,.62);overflow:hidden}.chat-avatar img{width:100%;height:100%;object-fit:cover}
.chat-bubble{max-width:min(76%,480px);padding:10px 12px;border-radius:17px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.075);font-size:13px;line-height:1.65;color:rgba(255,255,255,.70);white-space:pre-wrap;overflow-wrap:anywhere}.chat-row.philo .chat-bubble{background:rgba(125,151,190,.12);border-color:rgba(155,181,220,.11);color:rgba(235,241,250,.80)}
.chat-compose{display:grid;grid-template-columns:1fr auto;gap:8px;padding:13px;border-top:1px solid rgba(255,255,255,.07)}

/* Admin */
.admin-frame{position:relative;z-index:1;width:min(1180px,calc(100% - 28px));margin:0 auto;padding:26px 0 60px}
.admin-login-wrap{min-height:calc(100vh - 52px);display:grid;place-items:center}.admin-login-wrap[hidden]{display:none!important}.admin-login-card{width:min(430px,100%);padding:30px}.admin-brand{font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:rgba(255,255,255,.28)}.admin-login-title{margin:10px 0 0;font-size:34px;letter-spacing:-.05em}.admin-login-copy{margin:9px 0 20px;font-size:12px;color:rgba(255,255,255,.35)}
.admin-shell{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px}.admin-shell[hidden]{display:none}
.admin-sidebar{position:sticky;top:18px;height:max-content;padding:18px;border-radius:28px}.admin-profile{display:flex;align-items:center;gap:10px;padding:4px 3px 17px}.admin-profile img{width:38px;height:38px;border-radius:50%;object-fit:cover}.admin-profile-name{font-size:13px;font-weight:620}.admin-profile-note{font-size:9px;color:rgba(255,255,255,.25);margin-top:2px}
.admin-nav{display:grid;gap:5px}.admin-nav button{width:100%;text-align:left;border:0;border-radius:13px;padding:10px 11px;background:transparent;color:rgba(255,255,255,.38);cursor:pointer;font-size:12px;transition:.2s ease}.admin-nav button:hover{background:rgba(255,255,255,.055);color:rgba(255,255,255,.74)}.admin-nav button.active{background:rgba(255,255,255,.09);color:rgba(255,255,255,.9)}
.admin-logout{margin-top:16px;width:100%}.admin-content{min-width:0}.admin-pane{display:none}.admin-pane.active{display:block}.admin-section{padding:24px;border-radius:30px}.admin-section + .admin-section{margin-top:14px}.admin-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.admin-title{margin:0;font-size:27px;letter-spacing:-.045em}.admin-subtitle{margin:6px 0 0;font-size:11px;color:rgba(255,255,255,.29)}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.stat-card{padding:15px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07)}.stat-label{font-size:9px;color:rgba(255,255,255,.27);text-transform:uppercase;letter-spacing:.08em}.stat-value{margin-top:7px;font-size:24px;font-weight:640;letter-spacing:-.04em}.trend{display:flex;align-items:flex-end;gap:5px;height:110px;margin-top:18px;padding:12px;border-radius:18px;background:rgba(255,255,255,.03)}.trend-bar{flex:1;min-width:5px;border-radius:999px 999px 3px 3px;background:rgba(255,255,255,.18);position:relative}.trend-bar:hover{background:rgba(255,255,255,.34)}
.admin-form{display:grid;gap:10px}.admin-form-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.admin-textarea{min-height:130px;resize:vertical}.file-input{padding:12px;border-radius:16px;border:1px dashed rgba(255,255,255,.12);background:rgba(255,255,255,.03);font-size:11px;color:rgba(255,255,255,.46)}.preview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.preview-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:11px}
.admin-list{display:grid;gap:10px}.admin-item{padding:16px;border-radius:20px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.065)}.admin-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-item-title{font-size:12px;font-weight:620;color:rgba(255,255,255,.70)}.admin-item-meta{font-size:9px;color:rgba(255,255,255,.24);margin-top:3px}.admin-item-copy{margin-top:10px;font-size:12px;line-height:1.7;color:rgba(255,255,255,.50);white-space:pre-wrap;overflow-wrap:anywhere}.admin-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.danger-button{border-color:rgba(255,130,145,.12);color:rgba(255,180,190,.58)}.danger-button:hover{background:rgba(255,90,110,.10);color:rgba(255,205,212,.9)}
.admin-thumb-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:10px}.admin-thumb-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px}.admin-comments{margin-top:11px;padding-top:10px;border-top:1px solid rgba(255,255,255,.06);display:grid;gap:7px}.admin-comment{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;font-size:10px;color:rgba(255,255,255,.42)}
.echo-admin-tabs{display:flex;gap:7px;margin-bottom:12px}.echo-admin-tabs button{padding:8px 12px}.secret-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;padding:3px 7px;border-radius:7px;background:rgba(255,255,255,.06);color:rgba(255,255,255,.58)}
.admin-chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:10px}.admin-chat-list{max-height:620px;overflow:auto;display:grid;gap:6px}.admin-chat-row{padding:11px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid transparent;cursor:pointer}.admin-chat-row.active{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.09)}.unread-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a9c7f6;margin-left:5px;box-shadow:0 0 12px rgba(169,199,246,.5)}
.link-grid{display:grid;grid-template-columns:1fr 2fr 90px 90px auto;gap:8px;align-items:center}.link-row{display:contents}.link-head{font-size:9px;color:rgba(255,255,255,.24);padding-bottom:3px}.switch-label{font-size:10px;color:rgba(255,255,255,.46)}
.status-message{min-height:17px;font-size:10px;color:rgba(255,255,255,.34)}

@media(min-width:900px){
  .inner-body::before,.inner-body::after{content:"";position:fixed;z-index:0;top:-8%;bottom:-8%;width:max(18vw,180px);background:url('/images/landscape.jpg') center/cover no-repeat;filter:blur(28px) brightness(.42) saturate(.85);transform:scale(1.12);opacity:.82;pointer-events:none}
  .inner-body::before{left:-4vw}.inner-body::after{right:-4vw}
}
@media(max-width:900px){
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:relative;top:0}.admin-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.admin-nav button{text-align:center;padding:9px 5px;font-size:10px}.admin-logout{display:none}.admin-chat-layout{grid-template-columns:1fr}.admin-chat-list{max-height:240px}.link-grid{grid-template-columns:1fr}.link-row{display:grid;grid-template-columns:1fr;gap:6px;padding:12px;border-radius:16px;background:rgba(255,255,255,.03)}.link-head{display:none}}
@media(max-width:700px){
  .inner-frame{width:min(100% - 20px,760px);padding:18px 0 46px}.inner-glass{border-radius:27px;backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%)}
  .profile-card{padding:20px;gap:13px}.profile-avatar{width:62px;height:62px}.profile-name{font-size:24px}.profile-echo{padding:8px 10px;font-size:10px}.moment-card{padding:20px}.moment-images{gap:5px}.comment-form{grid-template-columns:1fr}.echo-header,.echo-block{padding:21px 20px}.block-head{align-items:flex-start}.question-card{padding:16px}.chat-messages{height:52vh;padding:14px}.chat-bubble{max-width:82%}
  .admin-frame{width:calc(100% - 18px);padding:12px 0 40px}.admin-section{padding:18px;border-radius:24px}.admin-sidebar{padding:12px;border-radius:22px}.admin-profile{display:none}.admin-nav{overflow-x:auto;grid-template-columns:repeat(5,minmax(82px,1fr))}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.admin-form-row{grid-template-columns:1fr}.preview-grid,.admin-thumb-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* Guestbook shortcuts to Echo */
.guestbook-echo-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:2px;
}

.guestbook-echo-button{
  min-height:43px;
  padding:0 14px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:1px solid rgba(255,255,255,.105);
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.045));
  color:rgba(255,255,255,.57);
  font-size:12px;
  font-weight:560;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  transition:transform .22s ease,background .22s ease,border-color .22s ease,color .22s ease;
}

.guestbook-echo-button:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,rgba(255,255,255,.115),rgba(255,255,255,.07));
  border-color:rgba(255,255,255,.17);
  color:rgba(255,255,255,.91);
}

.guestbook-echo-button span:last-child{
  color:rgba(255,255,255,.34);
  transition:transform .22s ease,color .22s ease;
}

.guestbook-echo-button:hover span:last-child{
  transform:translateX(2px);
  color:rgba(255,255,255,.72);
}

#questions,#private{
  scroll-margin-top:28px;
}

@media(max-width:390px){
  .guestbook-echo-actions{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   Phase 10 refinements
   ========================================================= */

a,
button,
[role="button"]{
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible{
  outline:2px solid rgba(210,225,255,.55);
  outline-offset:3px;
}

/* Home navigation */
.home-nav-links{white-space:nowrap}

/* Compact poll */
.poll-options{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.poll-option{
  padding:10px 11px 9px;
  border-radius:15px;
}
.poll-option-meta{margin-top:7px}
.poll-top{margin-bottom:16px}

/* Home Echo preview */
.home-echo-shell{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr);
  gap:1px;
  border-radius:34px;
  overflow:hidden;
  background:rgba(255,255,255,.09);
}
.home-echo-preview,
.home-echo-actions{
  background:rgba(15,16,19,.52);
  backdrop-filter:blur(30px) saturate(150%);
  -webkit-backdrop-filter:blur(30px) saturate(150%);
}
.home-echo-preview{padding:24px 26px}
.home-echo-preview-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:rgba(255,255,255,.30);
}
.home-echo-dot{
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  background:#76e8ae;
  box-shadow:0 0 12px rgba(118,232,174,.46);
}
.home-echo-preview-body{margin-top:17px;min-height:78px}
.home-echo-question-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:10px;
  color:rgba(255,255,255,.35);
}
.home-echo-question-meta span{font-weight:620;color:rgba(255,255,255,.58)}
.home-echo-question-text{
  margin-top:9px;
  font-size:15px;
  line-height:1.72;
  color:rgba(255,255,255,.78);
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.home-echo-empty{font-size:12px;color:rgba(255,255,255,.30);padding:16px 0}
.home-echo-actions{
  display:grid;
  align-content:center;
  gap:9px;
  padding:22px;
}
.home-echo-button{
  min-height:44px;
  padding:0 15px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.58);
  font-size:12px;
  font-weight:580;
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}
.home-echo-button:hover{transform:translateY(-1px);background:rgba(255,255,255,.095);color:#fff;border-color:rgba(255,255,255,.16)}
.home-echo-button.primary{background:rgba(255,255,255,.92);color:#17191d;border-color:rgba(255,255,255,.72)}
.home-echo-button.primary:hover{background:#fff;color:#111}

/* Guestbook: existing messages first, composer second */
.guestbook-grid{grid-template-columns:1.14fr .86fr}
.guestbook-form-panel textarea.glass-input{min-height:150px}

/* Footer alignment */
.home-footer-row{flex-direction:row!important}
.home-footer-row .footer-links{margin-left:auto;justify-content:flex-end}
.inner-footer-simple,
.inner-footer-nav{
  padding:22px 4px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:10px;
  color:rgba(255,255,255,.22);
}

/* Echo details */
.echo-title{
  line-height:1.02;
  padding-bottom:.08em;
}
.ask-toggle-button{
  min-width:92px;
  white-space:nowrap;
  flex-shrink:0;
}

/* Chat layout: avatar aligns with the bubble, time sits below it */
.chat-row{
  align-items:flex-start;
  max-width:100%;
}
.chat-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  max-width:min(78%,520px);
}
.chat-row.philo .chat-stack{align-items:flex-end}
.chat-bubble{
  display:inline-block;
  width:fit-content;
  max-width:100%;
  white-space:pre-wrap;
  overflow-wrap:break-word;
  word-break:normal;
  line-break:auto;
}
.chat-message-time{
  margin-top:4px;
  padding:0 3px;
  font-size:9px;
  line-height:1.25;
  color:rgba(255,255,255,.24);
  white-space:nowrap;
}
.chat-row.philo .chat-message-time{text-align:right}

/* Rendering cost: Chromium can skip off-screen feed cards without changing appearance. */
.message-item,
.moment-card,
.question-card{
  content-visibility:auto;
  contain-intrinsic-size:1px 220px;
}

/* Admin resilience */
.admin-shell,
.admin-content,
.admin-pane,
.admin-section,
.admin-list,
.admin-item,
.admin-chat-layout,
.admin-chat-list,
#chatAdminDetail{min-width:0;max-width:100%}
.admin-item-title,
.admin-item-meta,
.admin-item-copy,
.admin-comment,
.secret-code{overflow-wrap:anywhere;word-break:break-word}
.file-input{max-width:100%;min-width:0;overflow:hidden}
.admin-item-head,.admin-heading{min-width:0}

@media(max-width:900px){
  .poll-options{grid-template-columns:repeat(4,minmax(0,1fr))}
  .admin-nav{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}
}

@media(max-width:700px){
  .home-nav-links{
    gap:10px!important;
    font-size:10.5px!important;
    letter-spacing:-.01em;
  }
  .home-nav-links a{padding:8px 0}

  .poll-shell{padding:15px}
  .poll-options{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
  }
  .poll-option{
    min-height:58px;
    padding:9px 8px 8px;
    border-radius:13px;
  }
  .poll-option-name{font-size:10.5px;line-height:1.22}
  .poll-option-meta{margin-top:6px;font-size:8px}
  .poll-meter{height:2px}
  .poll-top{margin-bottom:12px}
  .poll-title{font-size:24px}
  .poll-description{margin-top:6px;font-size:10px}
  .poll-live{margin-top:9px;padding:6px 9px;font-size:9px}

  .home-echo-shell{grid-template-columns:1fr;border-radius:27px}
  .home-echo-preview{padding:20px}
  .home-echo-actions{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 16px 16px}
  .home-echo-button{min-height:42px;padding:0 12px;font-size:11px}

  .guestbook-grid{grid-template-columns:1fr}
  .guestbook-messages-panel{order:1}
  .guestbook-form-panel{order:2}

  .home-footer-row{
    gap:12px!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  .home-footer-row .footer-links{justify-content:flex-end!important;margin-left:auto}

  .block-head{align-items:flex-start}
  .ask-toggle-button{min-width:96px;padding-left:15px;padding-right:15px}

  .chat-messages{padding:13px;gap:11px}
  .chat-stack{max-width:calc(100% - 39px)}
  .chat-bubble{max-width:100%;font-size:12.5px;line-height:1.58;padding:9px 11px}
  .chat-avatar{width:29px;height:29px}

  .admin-frame{width:calc(100% - 12px);padding:8px 0 30px}
  .admin-shell{gap:8px}
  .admin-sidebar{padding:8px;border-radius:19px;overflow:hidden}
  .admin-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .admin-nav button{min-width:0;padding:8px 4px;font-size:9.5px;white-space:nowrap}
  .admin-section{padding:13px;border-radius:20px}
  .admin-section + .admin-section{margin-top:8px}
  .admin-heading{gap:8px;margin-bottom:13px;flex-wrap:wrap}
  .admin-title{font-size:23px}
  .admin-subtitle{font-size:10px;line-height:1.45}
  .stats-grid{gap:6px}
  .stat-card{padding:11px;border-radius:15px}
  .stat-value{font-size:20px}
  .admin-item{padding:12px;border-radius:16px}
  .admin-item-head{gap:8px;flex-wrap:wrap}
  .admin-item-head > :first-child{min-width:0;flex:1 1 170px}
  .admin-actions{gap:5px;margin-top:9px}
  .admin-comment{flex-wrap:wrap}
  .admin-comment > span{min-width:0;flex:1 1 170px}
  .preview-grid,.admin-thumb-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .admin-chat-layout{grid-template-columns:minmax(0,1fr);gap:8px}
  .admin-chat-list{max-height:210px;width:100%}
  .admin-chat-row{padding:9px}
  #chatAdminDetail{overflow:hidden}
  #chatAdminDetail .chat-messages{height:min(390px,48vh)!important;padding:10px!important}
  .echo-admin-tabs{overflow-x:auto;padding-bottom:2px}
  .echo-admin-tabs .mini-button{white-space:nowrap}
  .admin-logout{display:block;margin-top:7px;padding:7px 10px;font-size:9px}
  .mini-input,.glass-input,textarea{max-width:100%}

  .control-caption{
    display:flex;
    align-items:center;
    gap:5px;
    min-width:34px;
  }
  .control-caption::before{
    content:"";
    width:6px;
    height:6px;
    flex:0 0 auto;
    border-radius:50%;
    background:#ff7f86;
    box-shadow:0 0 10px rgba(255,127,134,.42);
    transition:background .22s ease,box-shadow .22s ease;
  }
  .music-shell.is-playing .control-caption::before{
    background:#6ee7a8;
    box-shadow:0 0 11px rgba(110,231,168,.55);
  }
}

@media(max-width:390px){
  .home-nav-links{gap:8px!important;font-size:9.5px!important}
  .home-echo-actions{gap:7px}
  .poll-option{padding-left:6px;padding-right:6px}
  .poll-option-name{font-size:10px}
}

@media(max-width:700px){
  /* Keep the glass appearance while avoiding a second nested backdrop pass. */
  .home-echo-preview,
  .home-echo-actions{
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
}

/* =========================================================
   Phase 12 refinements
   ========================================================= */

/* Android Chromium: keep the seek surface free of long-press/tap paint. */
.spectrum-seek,
.seek-interaction,
#spectrumCanvas{
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  user-select:none;
}
.spectrum-seek{outline:none}
.spectrum-seek:focus-visible{
  outline:1px solid rgba(210,225,255,.42);
  outline-offset:5px;
  border-radius:16px;
}

/* The active home section is indicated without widening the mobile nav. */
.home-nav-links a{
  position:relative;
  color:rgba(255,255,255,.45);
  transition:color .22s ease,text-shadow .22s ease;
}
.home-nav-links a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:2px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(255,255,255,.88);
  box-shadow:0 0 10px rgba(205,224,255,.42);
  opacity:0;
  transform:translate(-50%,3px) scale(.7);
  transition:opacity .2s ease,transform .2s ease;
}
.home-nav-links a.is-active{
  color:rgba(255,255,255,.96)!important;
  text-shadow:0 0 18px rgba(210,225,255,.20);
}
.home-nav-links a.is-active::after{
  opacity:1;
  transform:translate(-50%,0) scale(1);
}

/* Guestbook default visitor identity. */
.avatar.is-mystery{
  background:linear-gradient(145deg,rgba(202,216,238,.13),rgba(255,255,255,.055));
  border-color:rgba(211,225,247,.12);
  color:rgba(222,232,247,.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055);
}
.guest-avatar-icon{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Three-item Echo preview with compact answer-state bubbles. */
.home-echo-preview-body{
  display:grid;
  gap:0;
  min-height:78px;
}
.home-echo-question{
  padding:13px 0 14px;
  min-width:0;
}
.home-echo-question:first-child{padding-top:3px}
.home-echo-question + .home-echo-question{
  border-top:1px solid rgba(255,255,255,.065);
}
.home-echo-question-side{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
.home-echo-status{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.085);
  background:rgba(255,255,255,.045);
  color:rgba(255,255,255,.37)!important;
  font-size:8.5px!important;
  font-weight:600!important;
  line-height:1;
  white-space:nowrap;
}
.home-echo-status.answered{
  border-color:rgba(128,210,171,.12);
  background:rgba(110,231,168,.065);
  color:rgba(163,231,196,.58)!important;
}
.home-echo-status.waiting{
  border-color:rgba(255,255,255,.07);
  color:rgba(255,255,255,.28)!important;
}
.home-echo-question-text{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

/* Existing Moment comments stay visible; the comment composer is still opt-in. */
.comment-form[hidden]{display:none!important}
.comment-panel.has-comments .comment-list{display:grid}

@media(max-width:700px){
  .home-echo-question-meta{
    align-items:flex-start;
    gap:8px;
  }
  .home-echo-question-side{
    gap:6px;
    flex:0 0 auto;
  }
  .home-echo-status{
    min-height:18px;
    padding:0 6px;
    font-size:8px!important;
  }
  .home-echo-question-text{
    margin-top:7px;
    font-size:13px;
    line-height:1.58;
  }
}

/* =========================================================
   Phase 13 — tighter poll + visible community “Other” tags
   ========================================================= */

.poll-options{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:7px;
}

.poll-option{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
  padding:8px 9px 7px;
  border-radius:13px;
}

.poll-option-name{
  min-width:0;
  font-size:13.5px;
  line-height:1.18;
  font-weight:620;
}

.poll-option-meta{
  flex:0 0 auto;
  justify-content:flex-end;
  gap:3px;
  margin-top:0;
  font-size:8.5px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.poll-meter{height:2px}

.poll-option.selected .poll-option-name::after{
  width:14px;
  height:14px;
  margin-left:5px;
  font-size:8px;
  vertical-align:1px;
}

.poll-other-card{
  position:relative;
  margin-top:10px;
  padding:14px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}

.poll-other-card.selected{
  border-color:rgba(255,255,255,.18);
  background:
    linear-gradient(135deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 30px rgba(0,0,0,.08);
}

.poll-other-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.poll-other-copy{min-width:0}

.poll-other-title-row{
  display:flex;
  align-items:baseline;
  gap:9px;
  min-width:0;
}

.poll-other-title{
  font-size:13.5px;
  line-height:1.2;
  font-weight:650;
  color:rgba(255,255,255,.82);
}

.poll-other-count{
  font-size:8.5px;
  color:rgba(255,255,255,.27);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.poll-other-description{
  margin:4px 0 0;
  font-size:9px;
  color:rgba(255,255,255,.27);
}

.poll-other-toggle{
  flex:0 0 auto;
  min-height:31px;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.58);
  font-size:9.5px;
  font-weight:600;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}

.poll-other-toggle:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.085);
  color:rgba(255,255,255,.86);
  border-color:rgba(255,255,255,.16);
}

.poll-other-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:11px;
}

.poll-community-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:29px;
  max-width:100%;
  padding:0 9px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:999px;
  background:rgba(255,255,255,.038);
  color:rgba(255,255,255,.52);
  font-size:10.5px;
  line-height:1;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}

.poll-community-tag > span:first-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.poll-community-tag:hover,
.poll-community-tag.selected{
  transform:translateY(-1px);
  background:rgba(255,255,255,.085);
  border-color:rgba(255,255,255,.16);
  color:rgba(255,255,255,.88);
}

.poll-community-count{
  flex:0 0 auto;
  min-width:18px;
  height:18px;
  display:inline-grid;
  place-items:center;
  padding:0 5px;
  border-radius:999px;
  background:rgba(255,255,255,.065);
  color:rgba(255,255,255,.34);
  font-size:8px;
  font-variant-numeric:tabular-nums;
}

.poll-community-tag.selected .poll-community-count{
  background:rgba(255,255,255,.13);
  color:rgba(255,255,255,.68);
}

.poll-other-empty{
  display:inline-flex;
  min-height:29px;
  align-items:center;
  color:rgba(255,255,255,.25);
  font-size:9.5px;
}

.poll-other-composer{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.065);
}

.poll-other-composer[hidden]{display:none}

.poll-other-input{
  min-height:39px;
  padding:9px 12px;
  border-radius:12px;
  font-size:11.5px;
}

@media(max-width:900px){
  .poll-options{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}

@media(max-width:700px){
  .poll-options{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
  }

  .poll-option{
    min-height:40px;
    gap:4px;
    padding:6px 7px 6px;
    border-radius:11px;
  }

  .poll-option-name{
    font-size:12px;
    line-height:1.15;
  }

  .poll-option-meta{
    gap:2px;
    font-size:7.5px;
  }

  .poll-option.selected .poll-option-name::after{
    width:12px;
    height:12px;
    margin-left:3px;
    font-size:7px;
  }

  .poll-other-card{
    margin-top:7px;
    padding:11px;
    border-radius:14px;
  }

  .poll-other-head{
    align-items:flex-start;
    gap:8px;
  }

  .poll-other-title{font-size:12px}
  .poll-other-count{font-size:7.5px}
  .poll-other-description{font-size:8.5px}

  .poll-other-toggle{
    min-height:29px;
    padding:0 9px;
    font-size:8.5px;
  }

  .poll-other-tags{
    gap:5px;
    margin-top:9px;
  }

  .poll-community-tag{
    min-height:27px;
    padding:0 8px;
    gap:5px;
    font-size:10px;
  }

  .poll-community-count{
    min-width:17px;
    height:17px;
    font-size:7.5px;
  }

  .poll-other-composer{
    margin-top:8px;
    padding-top:8px;
  }

  .poll-other-input{
    min-height:37px;
    padding:8px 10px;
    font-size:11px;
  }
}

@media(max-width:390px){
  .poll-option{
    min-height:39px;
    padding-left:6px;
    padding-right:6px;
  }

  .poll-option-name{font-size:11.5px}
  .poll-option-meta{font-size:7px}
}

.poll-other-action-row{
  display:flex;
  justify-content:flex-start;
  margin-top:9px;
}

@media(max-width:700px){
  .poll-other-action-row{margin-top:8px}
}
