:root {
  --paper:#f6f2e9;
  --ink:#383c31;
  --muted:#7e8173;
  --green:#666f4b;
  --line:#d7d7c9;
  --bg:#ede8de
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  font-size:14px;
  transition:background 1.2s
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  font:inherit;
  color:inherit;
  cursor:pointer
}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible {
  outline:2px solid #8a6244;
  outline-offset:5px
}
button {
  border:0;
  background:none
}
a {
  color:inherit;
  text-decoration:none
}
.topbar {
  height:100px;
  margin:0 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.brand {
  display:flex;
  align-items:center;
  gap:14px;
  font-family:Georgia,serif;
  font-size:22px;
  letter-spacing:.03em
}

.top-actions {
  display:flex;
  align-items:center;
  gap:32px
}

i {
  font-style:normal
}

.outline-button {
  border:1px solid #a5aa93;
  border-radius:5px;
  padding:11px 16px;
  font-size:12px;
  display:flex;
  gap:10px;
  align-items:center
}

.world-section {
  min-width:0;
  position:relative;
  margin-top:0
}

.live-time {
  font:11px monospace;
  display:flex;
  align-items:center;
  gap:7px
}
.live-time i {
  height:5px;
  width:5px;
  background:#8e9670;
  border-radius:50%
}
.house {
  position:absolute;
  width:100%;
  height:auto;
  left:0;
  top:-26.7857%;
  mix-blend-mode:normal;
  pointer-events:none;
  transition:filter 1.2s;
  user-select:none
}
.hotspot {
  position:absolute;
  z-index:5;
  transform:translate(-50%,-50%)
}
.table {
  left:69%;
  top:39.5%
}
.pond {
  left:76.5%;
  top:59%
}
.gate {
  left:73%;
  top:81%
}

.scene-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 15px 16px;
  margin-top:-18px;
  position:relative;
  font-size:10px;
  color:var(--muted)
}

.light-options {
  display:flex;
  border:1px solid #c9ccb9;
  padding:4px;
  border-radius:7px;
  gap:4px
}
.light-options button {
  display:flex;
  gap:8px;
  align-items:center;
  padding:8px 15px;
  border-radius:4px;
  color:#7d826e;
  font-size:19px;
  transition:background .25s
}
.light-options button span {
  font-size:11px;
  text-align:left
}
.light-options small {
  font-size:7px;
  display:block;
  letter-spacing:.1em;
  margin-top:3px
}
.light-options button.active {
  background:#596344;
  color:#f4f0e4;
  box-shadow:0 2px 4px #3b45251a
}
.backdrop {
  position:fixed;
  inset:0;
  background:#1f271e5c;
  backdrop-filter:blur(4px);
  z-index:50;
  display:grid;
  place-items:center;
  padding:24px
}
.backdrop[hidden] {
  display:none
}
.paper-panel {
  background:var(--paper);
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23978e70' opacity='.035' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  width:min(640px,100%);
  height:min(700px,85dvh);
  border:1px solid #d3cbb9;
  border-radius:8px;
  box-shadow:0 25px 80px #18201540;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  animation:enter .25s ease-out
}
.panel-header {
  padding:24px 24px 20px;
  display:flex;
  align-items:center;
  gap:16px;
  border-bottom:1px solid #dcd7c8;
  flex-shrink:0
}
.panel-header>div {
  flex:1
}
.panel-header span {
  font-size:8px;
  letter-spacing:.2em;
  color:#81846e
}
.panel-header h2 {
  font-family:"Noto Serif TC","Songti TC",serif;
  font-weight:400;
  font-size:23px;
  letter-spacing:.1em;
  margin:7px 0 0
}
.close,.back {
  height:36px;
  width:36px;
  border:1px solid #d0d1c0;
  border-radius:50%;
  font-size:22px;
  flex-shrink:0
}
.back {
  font-size:20px
}
.back:disabled {
  visibility:hidden
}
.panel-body {
  padding:25px 30px;
  overflow-y:scroll;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  flex:1;
  min-height:0;
  line-height:1.95;
  font-size:14px;
  scrollbar-width:auto;
  scrollbar-color:#919879 #e4e2d7
}
.panel-body::-webkit-scrollbar {
  width:12px
}
.panel-body::-webkit-scrollbar-track {
  background:#e4e2d7
}
.panel-body::-webkit-scrollbar-thumb {
  background:#919879;
  border:3px solid #e4e2d7;
  border-radius:9px
}
.panel-body p {
  margin:0 0 20px
}
.panel-body h3 {
  font-size:17px;
  font-weight:500;
  margin:26px 0 10px;
  letter-spacing:.04em
}

.panel-body ul,.panel-body ol {
  padding-left:22px
}
.panel-body li {
  padding:3px 0
}
.panel-body blockquote {
  margin:10px 0 26px;
  padding:12px 0 12px 20px;
  border-left:2px solid #8f9870;
  font-family:"Songti TC",serif;
  font-size:18px;
  line-height:1.9
}
.panel-lead {
  color:#737b62;
  font-size:13px
}
.topic-list {
  display:grid;
  gap:0;
  margin-top:18px
}
.topic-row {
  display:flex;
  align-items:center;
  gap:17px;
  text-align:left;
  width:100%;
  border-bottom:1px solid #dedccc;
  padding:19px 3px
}
.topic-row:hover {
  background:#e7e9dc88
}
.topic-num {
  font:italic 18px Georgia,serif;
  color:#9ca288;
  align-self:flex-start
}
.topic-row>span:nth-child(2) {
  flex:1
}
.topic-row strong {
  display:block;
  font-weight:500;
  font-size:16px;
  letter-spacing:.04em
}
.topic-row small {
  display:block;
  font:10px/1.6 Georgia,serif;
  letter-spacing:.07em;
  color:#8b8e7b;
  margin:3px 0 7px
}
.topic-row em {
  font-size:12px;
  font-style:normal;
  color:#818574;
  display:block;
  line-height:1.7
}
.reading-list {
  display:grid;
  margin-top:8px
}
.reading-row {
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:14px;
  padding:18px 3px 19px;
  border-bottom:1px solid #dedccc
}
.reading-row .topic-num {
  padding-top:2px
}
.reading-row h3 {
  margin:0 0 2px!important;
  font-size:16px!important
}
.reading-row small {
  display:block;
  font:10px/1.6 Georgia,serif;
  letter-spacing:.07em;
  color:#8b8e7b;
  margin:3px 0 8px
}
.reading-row p {
  margin:0!important;
  font-size:12px;
  color:#818574;
  line-height:1.8
}
.topic-arrow {
  font-size:19px;
  color:#90977a
}
.panel-footer {
  flex-shrink:0;
  border-top:1px solid #dedbcc;
  padding:13px 25px;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:#8b8e7b;
  letter-spacing:.06em
}
.info-box {
  padding:16px 18px;
  background:#e7eadd;
  border:1px solid #d5dac4;
  border-radius:4px;
  margin:20px 0
}
.info-box small {
  color:#727b5e
}
.cycle {
  border:1px solid #d2d8c0;
  border-radius:4px;
  padding:18px;
  margin:14px 0 22px
}
.cycle strong {
  font-size:12px;
  color:#637146
}
.cycle p {
  margin:8px 0 0;
  font-size:17px;
  letter-spacing:.05em
}
.cycle small {
  font-size:10px;
  color:#828973
}
.inline-button {
  border:1px solid #a6ae91;
  border-radius:4px;
  padding:10px 14px;
  background:#e9ecdf;
  font-size:12px
}

#visitor {
  position:absolute;
  width:6.5%;
  left:72%;
  top:83%;
  transform:translate(-50%,-100%);
  z-index:8;
  pointer-events:auto;
  will-change:left,top;
  filter:drop-shadow(1px 3px 2px #38321c20)
}
#visitor>img {
  width:100%;
  display:block;
  position:relative
}
#visitor.walking>img {
  animation:bob .32s infinite alternate
}
.visitor-shadow {
  position:absolute;
  bottom:-3%;
  left:25%;
  width:60%;
  height:10%;
  border-radius:50%;
  background:#303c3440;
  filter:blur(2px)
}
.visitor-fallback {
  display:none
}
.visitor-fallback i {
  display:block;
  width:70%;
  aspect-ratio:1;
  background:#e6d9c1;
  border-radius:50%;
  margin:auto
}
.visitor-fallback b {
  display:block;
  width:50%;
  height:30px;
  background:#7b826c;
  border-radius:10px;
  margin:-4px auto 0
}
#destination {
  display:none;
  position:absolute;
  z-index:6;
  width:18px;
  height:9px;
  border:1px solid #f8f6d8;
  border-radius:50%;
  background:#a0b07566;
  transform:translate(-50%,-50%);
  box-shadow:0 0 0 4px #e8edc933
}
#destination.visible {
  display:block;
  animation:pulse 1s infinite
}
body[data-light=dusk] {
  --bg:#e6d8ce
}
body[data-light=dusk] .house {
  filter:brightness(.91) sepia(.16) saturate(1.06)
}
body[data-light=night] {
  --bg:#b5b5bc
}
body[data-light=night] .house {
  filter:brightness(.72) saturate(.8) contrast(1.08)
}
body[data-light=night] .stage {
  filter:drop-shadow(0 8px 15px #38334218)
}
@keyframes bob {
  from {
    transform:translateY(0) rotate(-3deg)
  }
  to {
    transform:translateY(-3px) rotate(3deg)
  }
}
@keyframes pulse {
  50% {
    opacity:.5
  }
}
@keyframes enter {
  from {
    opacity:0;
    transform:translateY(12px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}
@media(min-width:1600px) {
  main {
    padding-top:35px
  }
  .world-section {
    max-width:740px
  }
}
@media(max-width:850px) {
  .topbar {
    height:78px;
    margin:0 6vw
  }
  .brand {
    font-size:19px
  }

  main {
    grid-template-columns:1fr;
    padding:30px 4vw 0;
    max-width:620px
  }

  .world-section {
    margin-top:25px
  }

  .stage {
    margin-top:0
  }

  .hotspot {
    gap:3px
  }
  .table {
    left:68%
  }
  .pond {
    left:75%
  }
  .gate {
    left:72%
  }
  .scene-bottom {
    padding:0 5px 16px;
    margin-top:-17px;
    font-size:9px
  }

  .atmosphere {
    margin:5px 3vw 10px;
    gap:12px;
    flex-wrap:wrap;
    justify-content:space-between;
    padding-top:16px
  }
  .atmosphere p {
    font-size:13px
  }
  .light-options button {
    padding:7px 9px;
    font-size:17px;
    gap:5px
  }
  .light-options button span {
    font-size:10px
  }
  .light-options small {
    font-size:6px
  }
  .backdrop {
    padding:0 12px 18px;
    align-items:end
  }
  .paper-panel {
    height:min(76dvh,680px);
    border-radius:10px;
    width:100%;
    margin:0
  }
  .panel-header {
    padding:18px 16px 16px;
    gap:12px
  }
  .panel-header h2 {
    font-size:20px
  }
  .panel-body {
    padding:21px 20px;
    font-size:14px
  }
  .panel-footer {
    padding:12px 18px;
    font-size:8px
  }
  .topic-row {
    gap:13px;
    padding:17px 0
  }
  .topic-row strong {
    font-size:15px
  }
  #visitor {
    width:7.2%
  }
}
@media(max-width:370px) {

  .light-options button {
    padding:6px 7px
  }

  .atmosphere {
    gap:8px
  }

}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
/* Preserve the quiet composition while avoiding a rectangular image edge. */
@media(max-width:850px) {
  .topbar {
    margin:0 5vw
  }
  .brand {
    gap:9px;
    font-size:18px
  }
  .outline-button {
    flex-shrink:0;
    padding:10px 12px;
    gap:8px;
    white-space:nowrap
  }

  #visitor {
    width:9%
  }
}
/* Full-screen residence: the scene is the entrance, not a section of a page. */
html,body {
  width:100%;
  height:100%;
  overflow:hidden;
  overscroll-behavior:none
}
body {
  touch-action:none
}
.topbar {
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:84px;
  margin:0;
  padding:18px 28px;
  border:0;
  z-index:12;
  pointer-events:none;
  background:linear-gradient(var(--bg),transparent)
}
.topbar>* {
  pointer-events:auto
}
.top-actions {
  gap:20px
}
.brand {
  font-size:19px
}

.outline-button {
  width:38px;
  height:38px;
  justify-content:center;
  padding:0;
  background:#f7f3e7b3;
  backdrop-filter:blur(12px)
}
main {
  display:block;
  position:fixed;
  inset:0;
  padding:0;
  margin:0;
  max-width:none
}
.world-section {
  position:relative;
  margin:0!important;
  width:100%;
  height:100%;
  max-width:none!important
}
.map-viewport {
  position:absolute;
  inset:0;
  overflow:hidden;
  cursor:default;
  touch-action:none
}
.stage {
  position:absolute;
  left:50%;
  top:50%;
  width:min(98vw,calc((100dvh - 60px)*.94));
  aspect-ratio:941/1120;
  transform:translate(-50%,-50%);
  transform-origin:center;
  overflow:visible;
  margin:0;
  touch-action:none;
  will-change:transform;
  isolation:isolate
}
.hotspot {
  justify-content:center;
  min-width:44px;
  min-height:44px;
  width:44px;
  height:44px;
  padding:0;
  cursor:pointer
}

.scene-bottom {
  position:fixed;
  left:24px;
  right:24px;
  bottom:27px;
  padding:0;
  margin:0;
  z-index:11;
  pointer-events:none;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.scene-bottom .walk-hint {
  font-size:10px;
  letter-spacing:.06em;
  line-height:1.7;
  max-width:250px;
  color:#626e56;
  background:#f4f0e6a6;
  padding:8px 12px;
  border-radius:5px;
  backdrop-filter:blur(10px)
}
.map-tools {
  display:flex;
  pointer-events:auto;
  border:1px solid #afb69e;
  background:#f6f2e8c9;
  backdrop-filter:blur(12px);
  border-radius:6px;
  padding:3px;
  gap:3px
}
.map-tools button {
  width:34px;
  height:34px;
  font-size:20px;
  border-radius:3px
}
.map-tools button:hover {
  background:#dce2cf
}

.atmosphere {
  position:fixed;
  left:50%;
  bottom:23px;
  transform:translateX(-50%);
  display:block;
  z-index:12;
  border:0;
  margin:0;
  padding:0
}
.light-options {
  background:#f3f0e6d6;
  backdrop-filter:blur(12px);
  border-color:#b8bfa7;
  padding:3px;
  gap:2px
}
.light-options button {
  padding:7px 12px;
  font-size:17px;
  gap:6px
}
.light-options button span {
  font-size:10px
}
.light-options small {
  font-size:6px
}
#visitor {
  cursor:grab;
  touch-action:none;
  width:6.7%;
  z-index:9;
  outline-offset:0
}
#visitor.dragging {
  cursor:grabbing
}
#visitor:focus-visible {
  outline:1px solid #87976a;
  border-radius:50%
}
#visitor img {
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none
}
.backdrop {
  touch-action:auto
}
.panel-body {
  touch-action:pan-y
}
.backdrop[hidden] {
  display:none
}
.topbar .live-time {
  font-size:10px
}

@media(max-width:850px) {
  .topbar {
    height:72px;
    padding:14px 17px;
    margin:0
  }
  .brand {
    font-size:16px;
    gap:9px
  }

  .top-actions {
    gap:12px
  }
  .outline-button {
    width:34px;
    height:34px
  }
  .stage {
    width:min(100vw,calc((100dvh - 130px)*1.04));
    top:48%
  }
  .scene-bottom {
    left:16px;
    right:16px;
    bottom:82px;
    align-items:flex-end
  }
  .scene-bottom .walk-hint {
    max-width:190px;
    font-size:9px;
    padding:7px 9px
  }
  .map-tools button {
    height:29px;
    width:29px;
    font-size:18px
  }
  .atmosphere {
    bottom:calc(18px + env(safe-area-inset-bottom));
    margin:0;
    max-width:95vw
  }
  .light-options button {
    padding:8px 13px;
    gap:7px;
    font-size:16px
  }
  .light-options button span {
    font-size:10px
  }
  .light-options small {
    font-size:6px
  }
  .light-options {
    border-radius:6px
  }

  #visitor {
    width:9%
  }
  .backdrop {
    padding:0 12px calc(14px + env(safe-area-inset-bottom))
  }
  .paper-panel {
    height:76dvh
  }
  .walk-hint {
    white-space:normal
  }
}
@media(max-height:560px) and (min-width:600px) {
  .topbar {
    height:62px;
    padding:10px 22px
  }
  .stage {
    width:min(75vw,calc((100dvh - 30px)*1.05))
  }
  .scene-bottom {
    bottom:12px
  }
  .atmosphere {
    bottom:12px
  }
  .scene-bottom .walk-hint {
    max-width:155px;
    font-size:9px
  }
}
.atmosphere {
  width:max-content
}
.light-options,.light-options button,.light-options button span {
  white-space:nowrap
}
.light-options button {
  flex-shrink:0
}
@media(max-width:850px) {
  .scene-bottom .walk-hint {
    font-size:9px;
    max-width:185px
  }
  .light-options button {
    padding:8px 13px
  }
}
/* Abstract atmospheric backdrop; topic objects stay unmarked. */
body::before {
  content:"";
  position:fixed;
  inset:-3%;
  z-index:0;
  pointer-events:none;
  background:url('assets/mist-forest.png') center/cover no-repeat;
  opacity:.76;
  transition:filter 1.2s,opacity 1.2s
}
main {
  z-index:1
}
.hotspot {
  border:0;
  background:transparent;
  box-shadow:none
}
.hotspot:focus-visible {
  outline:1px solid #e9ecd5;
  outline-offset:2px;
  border-radius:50%
}

.contact-section {
  margin:34px 0 8px;
  padding-top:12px;
  border-top:1px solid #d6d8c6
}
.contact-section h3 {
  margin-top:12px
}
.contact-section h3 small {
  font:11px Georgia,serif;
  letter-spacing:.1em;
  color:#81876f;
  margin-left:10px
}
.contact-link {
  display:flex;
  align-items:center;
  gap:15px;
  padding:15px 0;
  border-bottom:1px solid #dedfce;
  line-height:1.6
}
.contact-link>span {
  font-size:11px;
  color:#81866f;
  width:38px;
  flex-shrink:0
}
.contact-link strong {
  font-size:13px;
  font-weight:400;
  overflow-wrap:anywhere;
  flex:1;
  color:#596749
}
.contact-link i {
  font-size:16px;
  color:#7b8569
}
.contact-link:hover strong {
  text-decoration:underline;
  text-underline-offset:4px
}
.ambient-fog {
  position:fixed;
  inset:-12%;
  z-index:0;
  pointer-events:none;
  overflow:hidden
}
.ambient-fog>span {
  position:absolute;
  width:92%;
  height:43%;
  left:-15%;
  top:45%;
  background:radial-gradient(ellipse at 38% 50%,#dfe3d4a8 0%,#dfe3d45c 29%,#dfe3d400 68%);
  opacity:.58;
  animation:mist-drift 31s ease-in-out infinite alternate;
  will-change:transform
}
.ambient-fog>span:nth-child(2) {
  width:85%;
  height:37%;
  left:37%;
  top:8%;
  background:radial-gradient(ellipse at 50% 50%,#e4e6d9a8 0%,#e4e6d94a 34%,#eeeee500 70%);
  opacity:.48;
  animation:mist-drift-back 39s ease-in-out infinite alternate;
  animation-delay:-15s
}
.ambient-fog>span:nth-child(3) {
  width:80%;
  height:34%;
  left:17%;
  top:67%;
  background:radial-gradient(ellipse at 48% 50%,#d9dfd0a0 0%,#d9dfd04d 33%,#eeeee500 69%);
  opacity:.42;
  animation:mist-drift 44s ease-in-out infinite alternate;
  animation-delay:-26s
}
@keyframes mist-drift {
  from {
    transform:translate(-8%,7%) scale(.94)
  }
  to {
    transform:translate(17%,-9%) scale(1.06)
  }
}
@keyframes mist-drift-back {
  from {
    transform:translate(9%,-7%) scale(1.04)
  }
  to {
    transform:translate(-16%,10%) scale(.93)
  }
}
body[data-light=night] .ambient-fog {
  opacity:.6
}
body[data-light=dusk] .ambient-fog {
  opacity:.8
}
@media(prefers-reduced-motion:reduce) {
  .ambient-fog>span {
    animation:none!important;
    will-change:auto
  }
}
.hotspot.rack {
  left:28.5%;
  top:32%
}
body::before {
  filter:brightness(.86) saturate(.88)
}
body[data-light=dusk]::before {
  filter:sepia(.15) brightness(.82) saturate(.85)
}
body[data-light=night]::before {
  filter:brightness(.66) saturate(.65)
}
@media(max-width:850px) {
  .brand .wordmark {
    font-size:24px;
    letter-spacing:.01em;
    padding-top:4px
  }
  .brand {
    gap:8px
  }
  .top-actions {
    gap:10px
  }
}
@media(max-width:370px) {
  .brand .wordmark {
    font-size:21px
  }
  .top-actions .live-time {
    font-size:9px
  }

}
@media(min-width:371px) and (max-width:850px) {
  .brand .wordmark {
    font-size:22px
  }
}
/* Sword at the marked position, folded uniform in front toward the visitor. */
.hotspot.iaido {
  left:41.2%;
  top:45.3%;
  width:18%;
  height:8%;
  --glow-w:110px;
  --glow-h:65px
}
@font-face {
  font-family:ShuinAllura;
  src:url('assets/allura-title.ttf') format('truetype');
  font-style:normal;
  font-weight:400;
  font-display:swap
}
.brand {
  gap:13px
}
.brand-logo {
  display:block;
  position:relative;
  overflow:hidden;
  flex-shrink:0;
  width:50px;
  height:50px;
  border-radius:50%;
  border:1px solid #a3a38d;
  background:#f1ece2;
  box-shadow:0 2px 8px #333a2112
}
.brand-logo img {
  position:absolute;
  left:50%;
  top:50%;
  width:155%;
  max-width:none;
  height:auto;
  transform:translate(-50%,-50%);
  display:block
}
.brand .wordmark {
  font-family:Forte,Lobster,ShuinAllura,'Segoe Script',cursive;
  display:inline-flex;
  align-items:center;
  gap:.5em;
  letter-spacing:.035em;
  font-size:34px;
  line-height:1.1;
  padding-top:4px;
  font-weight:400;
  white-space:nowrap
}
#raccoonCameo {
  position:absolute;
  left:50%;
  top:50%;
  z-index:8;
  width:clamp(34px,7%,76px);
  height:auto;
  transform:translate(-50%,-100%);
  opacity:0;
  pointer-events:none;
  filter:drop-shadow(1px 3px 2px #38321c32);
  transition:opacity .55s ease
}
#raccoonSmoke {
  position:absolute;
  left:50%;
  top:50%;
  z-index:10;
  width:clamp(34px,7%,76px);
  aspect-ratio:1275 / 1234;
  transform:translate(-50%,-100%);
  opacity:0;
  pointer-events:none
}
#raccoonSmoke.burst {
  opacity:1
}
#raccoonSmoke i {
  position:absolute;
  width:60%;
  height:62%;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(255,254,248,1) 0%,rgba(242,242,232,.98) 38%,rgba(220,224,215,.86) 64%,rgba(199,207,198,.35) 82%,rgba(197,205,196,0) 97%);
  filter:blur(2px) drop-shadow(0 1px 3px rgba(50,45,35,.18));
  opacity:0
}
#raccoonSmoke i:nth-child(1) { left:3%; top:21%; --dx:-5%; --dy:-4% }
#raccoonSmoke i:nth-child(2) { left:23%; top:1%; --dx:0; --dy:-6% }
#raccoonSmoke i:nth-child(3) { right:2%; top:21%; --dx:6%; --dy:-3% }
#raccoonSmoke i:nth-child(4) { left:8%; top:38%; --dx:-4%; --dy:5% }
#raccoonSmoke i:nth-child(5) { right:7%; top:38%; --dx:5%; --dy:5% }
#raccoonSmoke.burst i { animation:ninja-smoke 1.55s cubic-bezier(.18,.7,.3,1) both }
#raccoonSmoke.burst i:nth-child(2) { animation-delay:.03s }
#raccoonSmoke.burst i:nth-child(3) { animation-delay:.06s }
#raccoonSmoke.burst i:nth-child(4) { animation-delay:.1s }
#raccoonSmoke.burst i:nth-child(5) { animation-delay:.13s }
@keyframes ninja-smoke {
  0% { opacity:0; transform:translate(0,8%) scale(.12) }
  16% { opacity:1; transform:translate(0,0) scale(.75) }
  42% { opacity:1; transform:translate(0,-1%) scale(1) }
  72% { opacity:.8; transform:translate(var(--dx),var(--dy)) scale(1.08) }
  100% { opacity:0; transform:translate(var(--dx),var(--dy)) scale(1.12) }
}
@media(prefers-reduced-motion:reduce) {
  #raccoonSmoke.burst i { animation-duration:.75s }
}

/* Keep the residence cutout above the background atmosphere and lamp effects. */
.house { z-index:1 }
.lamp-glows,.pond-flow {
  position:absolute;
  inset:0;
  pointer-events:none
}
.lamp-glows {
  z-index:3
}
.lamp-glows i {
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:clamp(26px,6%,64px);
  aspect-ratio:1;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(255,231,163,.96) 0%,rgba(255,204,116,.48) 34%,rgba(255,190,99,0) 72%);
  filter:blur(2.5px);
  opacity:.58;
  mix-blend-mode:screen;
  animation:lantern-breathe 3.2s ease-in-out infinite
}
.lamp-glows i:nth-child(2) { animation-delay:-.7s }
.lamp-glows i:nth-child(3) { animation-delay:-1.4s }
.lamp-glows i:nth-child(4) { animation-delay:-2.1s }
@keyframes lantern-breathe {
  0%,100% { opacity:.28; scale:.84 }
  50% { opacity:.76; scale:1.18 }
}
.pond-flow {
  z-index:3;
  inset:62% auto auto 76%;
  width:5.5%;
  height:3%;
  overflow:hidden;
  border-radius:50%;
  clip-path:ellipse(48% 43% at 50% 52%)
}
.pond-flow i {
  position:absolute;
  left:-26%;
  width:70%;
  height:2px;
  border-radius:50%;
  background:linear-gradient(90deg,transparent,rgba(248,243,213,.98) 34%,rgba(255,255,231,.98) 58%,transparent);
  filter:blur(.25px);
  opacity:0;
  animation:water-glide 3.4s ease-in-out infinite
}
.pond-flow i:nth-child(1) { top:22%; width:60% }
.pond-flow i:nth-child(2) { top:42%; animation-delay:-.85s }
.pond-flow i:nth-child(3) { top:61%; width:56%; animation-delay:-1.7s }
.pond-flow i:nth-child(4) { top:78%; animation-delay:-2.55s }
@keyframes water-glide {
  0% { transform:translateX(-12%); opacity:0 }
  32% { opacity:.82 }
  100% { transform:translateX(58%); opacity:0 }
}
@keyframes light-gentle {
  0%,100% { opacity:.48; scale:.96 }
  50% { opacity:.68; scale:1.04 }
}
@keyframes water-gentle {
  0% { transform:translateX(0); opacity:.12 }
  50% { transform:translateX(35%); opacity:.28 }
  100% { transform:translateX(60%); opacity:.12 }
}
@media(prefers-reduced-motion:reduce) {
  .ambient-fog>span { animation:none!important; will-change:auto }
  .lamp-glows i { animation-name:light-gentle; animation-duration:7s }
  .pond-flow i { animation-name:water-gentle; animation-duration:8s }
}
#raccoonCameo.visible {
  opacity:1
}
@media(max-width:850px) {
  .brand {
    gap:9px
  }
  .brand-logo {
    width:40px;
    height:40px
  }
  .brand .wordmark {
    font-size:24px;
    gap:.4em;
    letter-spacing:.02em
  }
  .top-actions {
    gap:9px
  }
  .topbar {
    padding:12px 15px
  }
}
@media(max-width:390px) {
  .brand .wordmark {
    font-size:22px;
    gap:.4em
  }
  .top-actions .live-time {
    font-size:9px
  }
}
@media(max-width:360px) {
  .brand .wordmark {
    font-size:20px
  }
  .brand-logo {
    width:35px;
    height:35px
  }
  .top-actions {
    gap:7px
  }
  .topbar {
    padding-left:12px;
    padding-right:12px
  }
}
@media(max-width:850px) {
  .brand .wordmark {
    font-family:Lobster,Forte,ShuinAllura,'Segoe Script',cursive!important;
    font-size:24px;
    line-height:1.05;
    font-weight:400
  }
}
.brand .wordmark {
  gap:.7em
}
@media(max-width:850px) {
  .brand .wordmark {
    gap:.65em
  }
}
@media(max-width:390px) {
  .brand .wordmark {
    font-size:21px
  }
}
@media(max-width:360px) {
  .brand .wordmark {
    font-size:19px;
    gap:.6em
  }
}
