
:root {
  --blue: #cf452f;
  --deep: #f2f5ed;
  --lime: #cf452f;
  --paper: #0c151a;
  --ink: #e8eee9;
  --muted: #91a4a7;
  --line: #ffffff18;
  --pink: #f6b6a4;
  --white: #152228;
  --orange: #ff825b;
  --radius: 16px;
  --shadow: 0 18px 60px #29354315;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 85% 12%, #fffefa28, transparent 55%),
    radial-gradient(ellipse at 4% 65%, #fffefa16, transparent 50%);
}
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
a { color: inherit; text-decoration: none; }
svg { vertical-align: middle; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
::selection { background: #cf452f; color: #536170; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.shell { max-width: 1320px; margin: auto; padding: 0 48px; position: relative; }
#app, .footer, .topline { position: relative; z-index: 1; }
#ambient-sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55; }
.pointer-light { position: fixed; width: 450px; height: 450px; top: 0; left: 0; background: radial-gradient(circle, #cf452f0b, transparent 65%); pointer-events: none; z-index: 0; opacity: 0; }

/* Thin identity strip and a quiet, compact masthead. */
.topline { border-bottom: 1px solid var(--line); color: #5f6e7b; font-size: 10px; letter-spacing: 1px; }
.topline .shell { height: 30px; display: flex; justify-content: space-between; align-items: center; }
.topline .dot { width: 5px; height: 5px; background: var(--orange); display: inline-block; margin-right: 8px; border-radius: 50%; box-shadow: 0 0 9px #ff825b99; }
.header { position: sticky; top: 0; z-index: 30; background: #fffefaf7; border-bottom: 1px solid #5264770d; }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: var(--orange); position: relative; }
.brand-mark::before { content: ""; position: absolute; inset: 1px; border: 1px solid #ff825b70; border-radius: 12px; transform: rotate(-12deg); }
.brand-mark .icon { width: 30px; height: 30px; }
.brand strong { display: block; font-size: 18px; font-weight: 650; letter-spacing: 1px; }
.brand small { display: block; font-size: 8px; color: #5f6e7b; letter-spacing: 2.9px; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 5px; }
.nav button { background: transparent; color: #5f6e7b; font-size: 13px; padding: 12px 14px; position: relative; transition: color .25s; white-space: nowrap; }
.nav button:hover, .nav button.active { color: var(--lime); }
.nav button.active::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); bottom: 1px; left: calc(50% - 2px); box-shadow: 0 0 10px var(--lime); }
.profile-btn { display: flex; align-items: center; gap: 8px; background: #ffffff05; border: 1px solid #52647724; border-radius: 24px; padding: 5px 12px 5px 5px; font-size: 12px; white-space: nowrap; }
.profile-btn > .icon { width: 12px; height: 12px; color: #536170; }
.avatar { background: #cf452f1a; color: var(--lime); border: 1px solid #cf452f40; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; }

.page { min-height: calc(100vh - 250px); padding: 42px 0 64px; animation: page-arrive .7s var(--ease) both; }
.page:has(.hero) { padding-top: 0; }
.eyebrow { font-size: 11px; letter-spacing: 1.5px; color: var(--lime); display: flex; align-items: center; gap: 10px; }
.mini-line { width: 20px; height: 1px; background: currentColor; display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--lime); color: #536170; border: 1px solid var(--lime); min-height: 48px; padding: 12px 21px; font-size: 13px; font-weight: 700; border-radius: 8px; transition: transform .25s var(--ease), box-shadow .25s, background .25s; position: relative; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px #cf452f30; background: #d3ffe6; }
.btn.secondary { color: #5f6e7b; border-color: #cf452f3d; background: #cf452f07; }
.btn.secondary:hover { background: #cf452f12; box-shadow: 0 8px 30px #2935430b; }
.btn.lime { background: var(--lime); border-color: var(--lime); color: #536170; }
.btn.small { padding: 8px 13px; min-height: 36px; font-size: 12px; }
.btn.danger { background: #ff825b12; color: #5f6e7b; border-color: #ff825b55; }
.btn.wide { width: 100%; }
.text-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--lime); background: none; padding: 5px 0; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 5px; }

/* The home scene is an actual layered CSS object, surrounded by orbital paths. */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 615px; position: relative; align-items: center; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, #cf452f40, #cf452f10 70%, transparent); }
.hero-copy { padding: 38px 0 40px; position: relative; z-index: 3; }
.hero-copy .eyebrow { animation: line-arrive .8s var(--ease) .1s both; }
.hero h1 { font-size: clamp(49px, 5.35vw, 73px); letter-spacing: -3.5px; line-height: 1.28; font-weight: 800; margin: 26px 0 24px; color: #5f6e7b; }
.hero h1 .headline-line { display: block; overflow: hidden; }
.hero h1 .headline-line > span { display: block; animation: title-arrive 1.05s var(--ease) both; }
.hero h1 .headline-line:nth-child(2) > span { animation-delay: .13s; }
.hero h1 .headline-line:nth-child(3) > span { animation-delay: .23s; }
.hero h1 .headline-line:first-child { font-size: .68em; line-height: 1.6; letter-spacing: -1.2px; }
.hero h1 em { font-style: normal; color: var(--lime); position: relative; text-shadow: 0 0 40px #cf452f1d; }
.hero h1 .small-spark { display: inline-block; color: var(--orange); font-size: .6em; vertical-align: top; margin: 8px 0 0 13px; transform: rotate(12deg); }
.hero-copy > p { color: #5f6e7b; font-size: 13px; line-height: 2; max-width: 350px; animation: line-arrive .8s var(--ease) .35s both; }
.hero-actions { display: flex; gap: 13px; margin-top: 28px; animation: line-arrive .8s var(--ease) .45s both; }
.hero-actions .btn { min-height: 50px; padding: 13px 22px; }
.hero-actions .btn:first-child { box-shadow: 0 0 35px #cf452f15; }
.hero-actions .btn.secondary { border-color: #52647720; color: #5f6e7b; }
.hero-footnote { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #536170; margin-top: 22px; animation: line-arrive .8s var(--ease) .55s both; }
.hero-footnote .icon { width: 14px; height: 14px; }
.hero-scene { min-width: 0; height: 560px; position: relative; align-self: center; cursor: pointer; isolation: isolate; perspective: 1000px; }
.hero-scene:focus-visible { outline-offset: -5px; outline: 1px solid #cf452f66; border-radius: 50%; }
.scene-glow { position: absolute; width: 490px; height: 490px; left: 50%; top: 47%; transform: translate(-50%,-50%); background: radial-gradient(circle, #70e5b52e, #70e5b50d 45%, transparent 70%); border-radius: 50%; filter: blur(6px); }
.stage-tilt { position: absolute; inset: 0; perspective: none; transform: rotateX(calc(var(--my, 0) * -5deg)) rotateY(calc(var(--mx, 0) * 7deg)); transition: transform .8s var(--ease); transform-style: flat; }
.orbit-circle { position: absolute; width: 450px; height: 450px; border: 1px solid #cf452f38; border-radius: 50%; left: 50%; top: 48%; transform: translate(-50%,-50%) rotateX(53deg) rotateZ(-20deg); box-shadow: inset 0 0 30px #cf452f03; }
.orbit-circle.second { width: 420px; height: 420px; transform: translate(-50%,-50%) rotateY(65deg) rotateZ(23deg); border-color: #cf452f30; }
.orbit-circle.third { width: 495px; height: 495px; border-style: dashed; border-color: #cf452f12; transform: translate(-50%,-50%) rotate(-30deg); animation: orbit-spin 70s linear infinite; }
.orbit-circle::before { content: ""; position: absolute; width: 7px; height: 7px; left: 16%; top: 13%; border-radius: 50%; background: #c1fce0; box-shadow: 0 0 18px 4px #cf452f55; }
.orbit-circle.second::before { background: var(--orange); box-shadow: 0 0 18px #ff825b99; top: 90%; left: 74%; }
.orbit-circle.third::before { display: none; }
.star-map { position: absolute; width: 100%; height: 100%; inset: 0; color: var(--lime); opacity: .5; overflow: visible; }
.star-map .map-path { fill: none; stroke: #cf452f4a; stroke-width: .7; stroke-dasharray: 3 8; }
.star-map .map-light { fill: none; stroke: #d0ffe8; stroke-width: 1.3; stroke-dasharray: 13 650; animation: map-travel 10s linear infinite; }
.star-map circle { fill: #e4ffe8; }
.envelope-float { position: absolute; width: 300px; height: 225px; left: 50%; top: 52%; margin: -95px 0 0 -150px; animation: envelope-hover 6s ease-in-out infinite; transform-style: flat; z-index: 3; }
.envelope-object { width: 100%; height: 100%; position: relative; transform: rotate(-12deg) rotateY(-15deg) rotateX(5deg); transform-style: flat; filter: drop-shadow(0 30px 23px #29354322); }
.envelope-back { position: absolute; inset: 15px 0 0; border-radius: 7px; background: linear-gradient(140deg, #c8d6b9, #e6eccd 50%, #becfac); border: 1px solid #52647744; box-shadow: inset 0 0 0 3px #faffed22; }
.envelope-flap { position: absolute; width: 100%; height: 115px; top: -95px; left: 0; clip-path: polygon(0 100%,50% 0,100% 100%); background: linear-gradient(0deg,#b8c8a0,#edf4d8); transform-origin: bottom center; z-index: 0; }
.letter-insert { position: absolute; width: 258px; height: 230px; left: 21px; top: -101px; background: linear-gradient(120deg,#f7f8e9,#e9ebd4); box-shadow: 0 -5px 25px #e5f5c524; border-radius: 4px; border: 1px solid #52647788; z-index: 1; padding: 20px 23px; }
.letter-insert::before { content: ""; position: absolute; inset: 9px; border: 1px solid #667a581a; }
.letter-insert small { font-size: 8px; color: #536170; letter-spacing: 1px; display: block; margin-bottom: 13px; }
.letter-insert strong { color: #536170; font-family: "KaiTi", "STKaiti", serif; font-size: 24px; font-weight: 500; line-height: 1.6; display: block; transform: rotate(-1deg); }
.letter-insert .letter-rule { display: block; width: 80px; height: 1px; margin-top: 13px; background: #a4b29c; box-shadow: 0 8px 0 #a4b29c55; }
.envelope-front { position: absolute; inset: 15px 0 0; clip-path: polygon(0 0,50% 48%,100% 0,100% 100%,0 100%); background: linear-gradient(150deg,#f0f4d6 15%,#d9e3bd 60%,#e5edca); border-radius: 5px; z-index: 2; }
.envelope-fold { position: absolute; left: 0; bottom: 0; width: 100%; height: 148px; clip-path: polygon(0 100%,50% 0,100% 100%); background: linear-gradient(165deg,#edf2d5,#d0deaf); z-index: 3; }
.envelope-seams { position: absolute; inset: 15px 0 0; width: 100%; height: calc(100% - 15px); z-index: 4; fill: none; stroke: #78916e60; stroke-width: .8; }
.envelope-address { position: absolute; z-index: 5; bottom: 28px; left: 22px; color: #536170; font-size: 10px; letter-spacing: 1px; transform: rotate(1deg); }
.envelope-address small { font-size: 7px; display: block; letter-spacing: 1.3px; margin-top: 3px; opacity: .6; }
.wax-seal { position: absolute; z-index: 6; width: 57px; height: 57px; top: 99px; left: 125px; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%,#ffa57d,#d45e42 70%); border: 3px solid #e37752; border-radius: 46% 53% 45% 54% / 54% 48% 55% 43%; box-shadow: 1px 5px 6px #4c39264d, inset 0 0 0 2px #e996724d; color: #536170; }
.wax-seal .icon { width: 29px; height: 29px; filter: drop-shadow(1px 1px 0 #ffc39a99); stroke-width: 1.4; }
.envelope-stamp { position: absolute; right: 18px; bottom: 24px; z-index: 5; width: 36px; height: 43px; background: #fffefa; color: #5f6e7b; outline: 2px dotted #65816c; outline-offset: 3px; display: grid; place-items: center; transform: rotate(5deg); }
.envelope-stamp .icon { width: 22px; height: 22px; }
.orbit-note { position: absolute; background: #fffefacc; border: 1px solid #a4dfbd44; color: #5f6e7b; backdrop-filter: blur(8px); padding: 10px 15px; border-radius: 6px; font-size: 11px; box-shadow: 0 10px 25px #2935430b; z-index: 4; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.orbit-note .icon { width: 15px; height: 15px; color: var(--lime); }
.orbit-note.note-a { top: 16%; right: 3%; transform: rotate(9deg); animation: note-hover 7s ease-in-out infinite; }
.orbit-note.note-b { left: -1%; top: 65%; background: #fffefacc; border-color: #ff825b4d; color: #5f6e7b; transform: rotate(-8deg); animation: note-hover 6s ease-in-out -2s infinite; }
.orbit-note.note-b .icon { color: var(--orange); }
.orbit-note.note-c { right: 2%; bottom: 17%; padding: 8px 12px; font-size: 10px; transform: rotate(6deg); animation: note-hover 8s ease-in-out -3s infinite; }
.scene-tiny-star { position: absolute; color: var(--orange); font-size: 26px; left: 9%; top: 18%; animation: star-breathe 3s ease-in-out infinite; }
.scene-tiny-star.two { left: auto; right: 10%; top: 53%; font-size: 17px; color: var(--lime); animation-delay: 1s; }
.scene-floor { position: absolute; width: 300px; height: 35px; left: 50%; bottom: 17%; transform: translateX(-50%) rotate(-8deg); background: radial-gradient(ellipse,#81c6a522,transparent 70%); filter: blur(10px); }
.scene-label { position: absolute; bottom: 20px; width: 100%; text-align: center; color: #536170; font-size: 9px; letter-spacing: 2px; }
.scene-label span { display: block; color: #5f6e7b; font-size: 10px; margin-bottom: 5px; letter-spacing: 1px; }
.scene-label .touch-hint { display: inline-block; width: 3px; height: 3px; vertical-align: middle; border-radius: 50%; background: var(--orange); box-shadow: 0 0 9px var(--orange); margin-right: 7px; }
.hero-scene.sparked .scene-glow { animation: scene-flash 1.1s var(--ease); }
.hero-scene.sparked .letter-insert { animation: paper-rise 1.1s var(--ease); }
.hero-scene.sparked .wax-seal { box-shadow: 0 0 50px #ff825b99; }
.hero-margin-note { position: absolute; right: -30px; top: 50%; writing-mode: vertical-rl; color: #536170; font-size: 8px; letter-spacing: 3px; }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 0 0 23px; gap: 20px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat { display: flex; align-items: baseline; gap: 8px; }
.hero-stat strong { font-size: 21px; line-height: 1; font-family: Georgia, serif; color: #5f6e7b; font-weight: 400; }
.hero-stat span { color: #536170; font-size: 10px; }
.scroll-cue { display: flex; align-items: center; gap: 10px; color: #536170; font-size: 9px; letter-spacing: 1px; }
.scroll-cue .mouse-line { width: 17px; height: 27px; border: 1px solid #8bac9266; border-radius: 12px; position: relative; }
.scroll-cue .mouse-line::after { content: ""; position: absolute; width: 2px; height: 5px; background: var(--lime); top: 6px; left: 6px; border-radius: 3px; animation: scroll-mark 2s ease-in-out infinite; }

/* A moving dispatch tape links the scene to the real, local wish queue. */
.dispatch-tape { margin: 31px -48px 48px; border-top: 1px solid #c6dfb222; border-bottom: 1px solid #c6dfb222; height: 45px; overflow: hidden; transform: rotate(-1.3deg); background: #fffefae6; display: flex; align-items: center; }
.tape-track { display: flex; width: max-content; animation: tape-roll 34s linear infinite; }
.tape-group { display: flex; align-items: center; flex-shrink: 0; gap: 37px; padding-right: 37px; white-space: nowrap; }
.tape-group span { font-size: 11px; letter-spacing: 2px; color: #5f6e7b; }
.tape-group b { font-size: 19px; color: var(--orange); font-weight: 400; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-head h2 { font-size: 26px; font-weight: 600; letter-spacing: -1px; }
.section-head p { font-size: 12px; color: var(--muted); margin-top: 7px; }
.section-head .side-note { display: flex; align-items: center; gap: 7px; color: #5f6e7b; font-size: 10px; }
.section-head .side-note .icon { width: 14px; height: 14px; }
.wish-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; padding-top: 12px; }
.wish-preview { padding: 24px; min-height: 262px; position: relative; color: #536170; background: #e4e8cf; border-radius: 2px; transform: rotate(-1.6deg); transition: transform .5s var(--ease), box-shadow .5s; display: flex; flex-direction: column; }
.wish-preview:nth-child(2) { background: #bcd8c6; transform: rotate(1.8deg); margin-top: 13px; }
.wish-preview:nth-child(3) { background: #e1b39c; transform: rotate(-.6deg); }
.wish-preview::before { content: ""; position: absolute; width: 63px; height: 18px; background: #adc6b666; left: calc(50% - 31px); top: -9px; transform: rotate(-5deg); border-left: 2px solid #c5d5c566; border-right: 2px solid #c5d5c566; backdrop-filter: blur(2px); }
.wish-preview:hover { transform: translateY(-8px) rotate(0); box-shadow: 0 25px 40px #29354315; }
.wish-preview .preview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #233c2e22; padding-bottom: 15px; margin-bottom: 17px; }
.wish-preview .tag { color: #536170; }
.wish-preview .preview-top small { font-size: 8px; letter-spacing: 1px; opacity: .65; }
.wish-preview p { font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; flex: 1; }
.wish-preview .preview-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 13px; border-top: 1px dashed #233c2e33; }
.wish-preview .preview-bottom span { font-size: 10px; color: #536170; }
.wish-preview .quiet-report { color: #536170; }
.preview-explain { display: flex; align-items: center; justify-content: center; gap: 8px; color: #536170; font-size: 10px; margin-top: 27px; }
.preview-explain .icon { width: 13px; height: 13px; }
.workshop-invite { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; border: 1px solid #cf452f2b; padding: 29px 35px; border-radius: 15px; margin-top: 42px; position: relative; overflow: hidden; background: linear-gradient(105deg,#fffefa88,#fffefa88 70%); }
.workshop-invite::after { content: "✳"; position: absolute; right: 185px; bottom: -58px; font-size: 195px; color: #5f6e7b0b; line-height: 1; transform: rotate(15deg); pointer-events: none; }
.workshop-invite h3 { font-size: 23px; font-weight: 500; color: #5f6e7b; margin-bottom: 7px; }
.workshop-invite p { font-size: 12px; color: #5f6e7b; }
.workshop-invite .btn { position: relative; z-index: 1; }
.home-bottom { margin-top: 39px; display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); padding-bottom: 34px; gap: 30px; }
.step { display: flex; gap: 15px; align-items: start; }
.step-no { font-size: 26px; line-height: 1.2; color: #536170; font-family: Georgia, serif; flex-shrink: 0; }
.step strong { font-size: 13px; font-weight: 500; color: #5f6e7b; }
.step p { font-size: 11px; color: #536170; margin-top: 5px; }
.community-strip { padding: 26px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.community-strip h3 { font-size: 15px; font-weight: 500; }
.community-strip p { font-size: 11px; color: #536170; margin-top: 5px; }
.community-strip .actions { display: flex; gap: 24px; flex-shrink: 0; }
.community-strip .text-btn { font-size: 11px; color: #5f6e7b; }
.community-strip .icon { width: 17px; height: 17px; }
.footer { border-top: 1px solid var(--line); color: #536170; padding: 24px 0 30px; font-size: 10px; }
.footer .shell { display: flex; justify-content: space-between; gap: 20px; }
.footer button { font-size: 10px; color: #5f6e7b; background: none; padding: 0; text-decoration: underline; text-underline-offset: 4px; }

/* Forms and the workshop share the same tactile, low-light materials. */
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.page-heading h1 { font-size: 36px; letter-spacing: -1px; font-weight: 600; margin: 9px 0 10px; }
.page-heading p { color: #5f6e7b; font-size: 13px; }
.layout-form { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(260px,1fr); gap: 32px; align-items: start; }
.panel { background: linear-gradient(145deg,#fffefa,#fffefa); border: 1px solid #52647715; padding: 30px; border-radius: 16px; box-shadow: 0 20px 60px #0001; }
.field { margin-bottom: 26px; }
.form-label { display: block; font-size: 13px; color: #5f6e7b; font-weight: 500; margin-bottom: 12px; }
.required { font-size: 10px; color: #5f6e7b; margin-left: 8px; }
.tag-options { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-choice { border: 1px solid #5264771f; color: #5f6e7b; background: #ffffff03; padding: 9px 12px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; transition: .2s; }
.tag-choice .icon { width: 16px; height: 16px; }
.tag-choice:hover { border-color: #cf452f70; }
.tag-choice.selected { background: #cf452f14; border-color: #cf452faa; color: var(--lime); box-shadow: 0 0 20px #cf452f08; }
.input, textarea { width: 100%; padding: 13px 14px; border: 1px solid #52647724; border-radius: 8px; color: #5f6e7b; background: #fffefa88; transition: border .25s, box-shadow .25s; resize: vertical; }
.input:focus, textarea:focus { outline: none; border-color: #cf452f8c; box-shadow: 0 0 0 3px #cf452f0a; }
.input::placeholder, textarea::placeholder { color: #536170; font-size: 12px; }
textarea { min-height: 180px; line-height: 1.95; }
.counter-row { display: flex; justify-content: space-between; gap: 12px; color: #536170; font-size: 11px; margin-top: 7px; }
.check-line { display: flex; align-items: start; gap: 10px; font-size: 12px; line-height: 1.9; color: #5f6e7b; cursor: pointer; }
.check-line strong { color: #5f6e7b; font-weight: 500; }
.check-line input { appearance: none; width: 17px; height: 17px; flex-shrink: 0; border: 1px solid #88aa9480; background: #fffefa; border-radius: 3px; margin: 3px 0 0; display: grid; place-items: center; }
.check-line input:checked { background: var(--lime); border-color: var(--lime); }
.check-line input:checked::after { content: "✓"; color: #536170; font-size: 13px; line-height: 1; }
.help { color: #536170; font-size: 11px; margin-top: 7px; line-height: 1.9; }
.identity-switch { display: flex; background: #fffefa; border: 1px solid #52647713; border-radius: 8px; padding: 4px; gap: 4px; }
.identity-switch button { flex: 1; background: none; border-radius: 5px; padding: 9px; font-size: 12px; color: #536170; }
.identity-switch button.selected { background: #cf452f13; color: var(--lime); box-shadow: inset 0 0 0 1px #cf452f26; }
.form-error { background: #ff825b0e; border: 1px solid #ff825b44; color: #5f6e7b; border-radius: 8px; padding: 11px 13px; margin-bottom: 18px; font-size: 12px; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 23px; border-top: 1px dashed #cf452f28; }
.form-bottom small { font-size: 11px; color: #536170; }
.form-bottom small .icon { width: 14px; height: 14px; }
.note-card { background: #c3d6b4; color: #536170; padding: 29px; transform: rotate(2deg); position: relative; border-radius: 2px; margin-top: 12px; box-shadow: 10px 15px 0 #cf452f05; }
.note-card::before { content: ""; position: absolute; width: 62px; height: 19px; background: #cdd8c966; top: -10px; left: 40%; transform: rotate(-8deg); backdrop-filter: blur(4px); }
.note-card .doodle { color: #536170; font-size: 48px; line-height: 1; }
.note-card h3 { font-size: 22px; margin: 15px 0 12px; font-weight: 500; }
.note-card p { color: #536170; font-size: 13px; line-height: 2; }
.aside-guide { padding: 28px 5px 20px; }
.aside-guide h3 { font-size: 13px; font-weight: 500; color: #5f6e7b; margin-bottom: 17px; }
.guide-item { display: flex; align-items: start; gap: 11px; color: #536170; font-size: 12px; margin: 16px 0; }
.guide-item .icon { width: 17px; height: 17px; color: #5f6e7b; margin-top: 2px; }
.paper-preview { background: #fffefa; border: 1px dashed #cf452f2a; padding: 21px; border-radius: 9px; }
.paper-preview small { color: #536170; font-size: 10px; }
.paper-preview p { color: #5f6e7b; margin-top: 12px; font-size: 12px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.workshop-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: 25px; }
.draw-stage { min-height: 465px; background: radial-gradient(ellipse at 50% 42%,#fffefa30,transparent 65%),linear-gradient(135deg,#fffefa,#fffefa); border: 1px solid #cf452f2b; border-radius: 18px; padding: 27px 25px 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; }
.draw-stage::before { content: ""; position: absolute; width: 320px; height: 320px; border: 1px dashed #cf452f12; border-radius: 50%; top: 38px; pointer-events: none; }
.draw-counter { display: inline-flex; gap: 7px; align-items: center; color: #5f6e7b; font-size: 11px; border: 1px solid #cf452f22; padding: 4px 11px; border-radius: 20px; position: relative; z-index: 2; }
.draw-counter .icon { width: 14px; height: 14px; }
.draw-box { width: 100%; height: 210px; display: grid; place-items: center; }
.blindbox-rig { width: 210px; height: 185px; position: relative; perspective: 650px; }
.blindbox-orbit { position: absolute; width: 250px; height: 250px; border-radius: 50%; border: 1px solid #cf452f2a; left: -20px; top: -36px; transform: rotateX(65deg) rotateZ(-25deg); }
.blindbox-orbit::after { content: ""; width: 6px; height: 6px; background: var(--orange); box-shadow: 0 0 20px var(--orange); border-radius: 50%; position: absolute; top: 20px; left: 50px; }
.blindbox-shadow { position: absolute; width: 170px; height: 26px; bottom: 8px; left: 20px; background: radial-gradient(ellipse,#cf452f1f,transparent 70%); filter: blur(7px); }
.blindbox-body { position: absolute; width: 132px; height: 105px; left: 40px; top: 62px; background: linear-gradient(130deg,#fffefa,#fffefa); border: 1px solid #a7d7a661; transform: rotate(-10deg) skewY(3deg); border-radius: 5px 5px 8px 8px; box-shadow: inset -16px 0 25px #091d1666, 8px 12px 25px #29354315; z-index: 2; }
.blindbox-body::after { content: ""; position: absolute; right: -14px; top: 1px; width: 14px; height: 103px; background: #fffefa; border: 1px solid #709e6d66; transform: skewY(-30deg); transform-origin: left top; border-radius: 0 4px 4px 0; }
.blindbox-lid { position: absolute; width: 145px; height: 27px; top: -14px; left: -5px; background: linear-gradient(110deg,#b7d4a2,#86b68b); border: 1px solid #d3edb766; border-radius: 4px; transform-origin: 0 0; box-shadow: 0 5px 10px #061d1b66; transition: transform .7s var(--ease); z-index: 4; }
.blindbox-seal { position: absolute; left: 42px; top: 30px; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #536170; box-shadow: inset 0 0 0 4px #cf674144,0 3px 10px #11251a; display: grid; place-items: center; }
.blindbox-seal .icon { width: 26px; height: 26px; }
.blindbox-paper { position: absolute; width: 89px; height: 105px; background: #edf3d5; border-radius: 3px; top: 67px; left: 62px; transform: rotate(-7deg); z-index: 1; padding: 16px; display: flex; align-items: center; flex-direction: column; gap: 9px; transition: transform .7s var(--ease); }
.blindbox-paper .icon { color: #536170; width: 28px; height: 28px; }
.blindbox-paper span { width: 45px; height: 1px; background: #5c795544; box-shadow: 0 6px 0 #5c795544,0 12px 0 #5c795522; }
.blindbox-rig { animation: envelope-hover 5s ease-in-out infinite; }
.draw-stage h2 { font-size: 25px; font-weight: 500; color: #5f6e7b; margin: 3px 0 9px; position: relative; z-index: 2; }
.draw-stage > p { font-size: 12px; color: #536170; line-height: 1.9; position: relative; z-index: 2; }
.draw-stage .btn { margin-top: 20px; min-width: 235px; z-index: 3; }
.pending-draft { color: #5f6e7b; font-size: 10px; margin-top: 8px; }
.drawing .blindbox-rig { animation: draw-charge .19s ease-in-out infinite; }
.drawing .blindbox-lid { transform: translateY(-29px) rotate(-18deg); }
.drawing .blindbox-paper { transform: translateY(-82px) rotate(5deg); box-shadow: 0 0 60px #cf452f4d; }
.drawing .draw-stage::before { animation: orbit-spin .6s linear infinite; }
.drawing::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle,#d8ffd442,transparent 65%); left: calc(50% - 130px); top: 15px; animation: scene-flash .7s ease-in-out infinite alternate; pointer-events: none; }
.principles { background: #fffefa88; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.principles h3 { font-size: 17px; font-weight: 500; margin-bottom: 25px; }
.principle { display: flex; align-items: start; gap: 14px; margin-top: 24px; }
.tag-icon { width: 35px; height: 35px; background: #cf452f0f; color: var(--lime); border: 1px solid #cf452f1a; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.tag-icon.pink { color: #5f6e7b; border-color: #efb4a622; background: #efb4a608; }
.tag-icon.green { color: #5f6e7b; border-color: #d2dc9a22; background: #d2dc9a08; }
.tag-icon.orange { color: #5f6e7b; border-color: #f6ba8522; background: #f6ba8508; }
.principle strong { font-size: 13px; color: #5f6e7b; font-weight: 500; }
.principle p { color: #536170; font-size: 11px; margin-top: 5px; line-height: 1.9; }
.safety-mini { display: flex; align-items: start; gap: 8px; font-size: 11px; line-height: 1.9; color: #536170; padding-top: 20px; margin-top: 26px; border-top: 1px dashed var(--line); }
.safety-mini .icon { width: 17px; height: 17px; color: #5f6e7b; margin-top: 2px; }
.subsection { margin-top: 35px; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.content-card { background: linear-gradient(150deg,#fffefa,#fffefa); border: 1px solid #cf452f1a; padding: 23px; border-radius: 12px; display: flex; flex-direction: column; min-width: 0; transition: transform .4s var(--ease), border .3s, box-shadow .4s; }
.content-card:hover { transform: translateY(-5px); border-color: #cf452f4d; box-shadow: 0 18px 40px #2935430e; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #5f6e7b; }
.tag .icon { width: 15px; height: 15px; }
.status { font-size: 10px; padding: 3px 8px; border-radius: 4px; color: #5f6e7b; background: #a8c9b00d; white-space: nowrap; border: 1px solid #a8c9b01a; }
.status.progress { background: #ffbc770d; color: #5f6e7b; border-color: #ffbc7722; }
.status.done { background: #cf452f0d; color: #5f6e7b; border-color: #cf452f22; }
.wish-text { font-size: 13px; line-height: 2; color: #5f6e7b; white-space: pre-wrap; overflow-wrap: anywhere; flex: 1; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 20px; }
.card-bottom small { font-size: 10px; color: #536170; }
.quiet-report { display: inline-flex; align-items: center; gap: 4px; padding: 5px; font-size: 10px; border-radius: 4px; color: #536170; background: none; }
.quiet-report:hover { background: #ff825b12; color: #5f6e7b; }
.quiet-report .icon { width: 12px; height: 12px; }
.empty { grid-column: 1/-1; padding: 45px 24px; border: 1px dashed #cf452f2b; border-radius: 12px; text-align: center; font-size: 12px; color: #536170; background: #fffefa55; }
.empty > .icon { display: block; width: 32px; height: 32px; color: #536170; margin: 0 auto 17px; }
.empty strong { display: block; font-size: 17px; color: #5f6e7b; font-weight: 500; margin-bottom: 8px; }
.empty .btn { margin-top: 20px; }

/* Story cards take the form of archived correspondence, without personal identities. */
.wall-banner { display: flex; align-items: center; gap: 15px; padding: 19px 22px; background: #cf452f07; border: 1px solid #cf452f1c; border-radius: 12px; margin-bottom: 26px; }
.wall-banner > .icon { width: 27px; height: 27px; color: #5f6e7b; }
.wall-banner strong { font-size: 13px; font-weight: 500; color: #5f6e7b; }
.wall-banner p { font-size: 11px; color: #536170; margin-top: 5px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; }
.filter { background: #ffffff03; border: 1px solid var(--line); padding: 7px 15px; color: #5f6e7b; border-radius: 22px; font-size: 11px; transition: .25s; }
.filter.active { background: var(--lime); color: #536170; border-color: var(--lime); }
.story-card { background: #e3e6cf; color: #536170; border: 1px solid #ecf0d2; border-radius: 2px; padding: 25px; display: flex; flex-direction: column; position: relative; transition: transform .45s var(--ease), box-shadow .4s; }
.story-card::before { content: ""; height: 5px; position: absolute; left: 0; right: 0; top: 0; background: repeating-linear-gradient(110deg,#53745a 0 16px,transparent 16px 31px,#bd8169 31px 47px,transparent 47px 62px); opacity: .55; }
.story-card:nth-child(3n+2) { background: #cbdcc9; border-color: #cbdcc9; }
.story-card:nth-child(3n) { background: #d9c2ad; border-color: #d9c2ad; }
.story-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 18px 40px #29354312; }
.story-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 9px 0 18px; }
.story-kicker .tag { color: #536170; }
.story-kicker small { font-size: 9px; color: #536170; letter-spacing: 1px; }
.story-card h3 { font-size: 14px; font-weight: 500; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; color: #536170; }
.echo-block { font-size: 12px; color: #536170; line-height: 1.95; border-top: 1px dashed #4f6b493b; padding-top: 17px; margin-top: 19px; margin-bottom: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.echo-label { font-size: 10px; color: #536170; display: flex; align-items: center; gap: 6px; margin-bottom: 9px; }
.echo-label .icon { width: 13px; height: 13px; }
.story-card .card-bottom { border: none; margin-top: auto; padding-top: 15px; }
.story-card .card-bottom small, .story-card .quiet-report { color: #536170; }
.profile-banner { padding: 30px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(115deg,#fffefa,#fffefa); border: 1px solid #cf452f2c; border-radius: 15px; position: relative; overflow: hidden; margin-bottom: 27px; }
.profile-banner::after { content: "✳"; color: #5f6e7b0c; position: absolute; font-size: 200px; line-height: 1; right: 260px; bottom: -80px; pointer-events: none; }
.profile-info { display: flex; gap: 17px; align-items: center; position: relative; z-index: 1; }
.profile-avatar { background: #cf452f1a; border: 1px solid #cf452f5c; color: var(--lime); border-radius: 50%; width: 59px; height: 59px; display: grid; place-items: center; font-size: 25px; box-shadow: 0 0 20px #cf452f0c; }
.profile-info h2 { font-size: 24px; font-weight: 500; }
.profile-info p { color: #5f6e7b; font-size: 11px; margin-top: 6px; }
.profile-numbers { display: flex; gap: 34px; position: relative; z-index: 1; }
.profile-number { text-align: center; }
.profile-number strong { display: block; color: #5f6e7b; font-family: Georgia,serif; font-size: 30px; font-weight: 400; line-height: 1.4; }
.profile-number span { font-size: 10px; color: #5f6e7b; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 25px; }
.tab { padding: 12px 0; background: none; color: #536170; border-bottom: 2px solid transparent; font-size: 13px; }
.tab.active { border-color: var(--lime); color: var(--lime); }
.memory-note { border: 1px solid #cf452f15; border-radius: 8px; background: #cf452f06; color: #536170; padding: 13px 17px; font-size: 11px; margin-bottom: 23px; }
.badge-card { border: 1px solid #cf452f28; background: radial-gradient(ellipse at 50% 35%,#cf452f0e,transparent 65%),#fffefa; border-radius: 14px; text-align: center; padding: 29px 22px; transition: .4s var(--ease); }
.badge-card:hover { transform: translateY(-5px); border-color: #cf452f6b; box-shadow: 0 0 40px #cf452f0c; }
.badge-art { width: 102px; height: 102px; margin: 0 auto 16px; }
.badge-art svg { width: 100%; height: 100%; filter: drop-shadow(0 0 19px #dfb7762b); }
.badge-card h3 { font-size: 15px; font-weight: 500; color: #5f6e7b; }
.badge-card p { font-size: 11px; color: #536170; margin-top: 9px; }
.badge-card small { display: block; font-size: 10px; color: #536170; margin-top: 16px; }
.backup-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 27px; color: #536170; font-size: 11px; }
.backup-actions .icon { width: 14px; height: 14px; }

/* The modal unfolds like correspondence. */
.overlay { position: fixed; inset: 0; z-index: 100; background: #fffefaba; backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .3s; overflow: auto; }
.overlay.visible { opacity: 1; }
.modal { width: 100%; max-width: 520px; max-height: calc(100dvh - 48px); background: linear-gradient(145deg,#fffefa,#fffefa); border: 1px solid #cf452f2e; border-radius: 19px; position: relative; overflow: auto; box-shadow: 0 40px 140px #29354322,0 0 70px #cf452f09; transform: translateY(30px) scale(.95); transition: transform .5s var(--ease); scrollbar-width: thin; scrollbar-color: #536170 #536170; overscroll-behavior: contain; }
.overlay.visible .modal { transform: translateY(0) scale(1); }
.modal.wide-modal { max-width: 690px; }
.modal-head { padding: 24px 27px 17px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: #fffefaf5; backdrop-filter: blur(12px); }
.modal-head h2 { font-size: 18px; font-weight: 500; }
.close-btn { width: 30px; height: 30px; border: 1px solid #cf452f22; background: #cf452f08; color: #5f6e7b; display: grid; place-items: center; border-radius: 50%; flex-shrink: 0; transition: transform .3s; }
.close-btn:hover { transform: rotate(90deg); }
.close-btn .icon { width: 16px; height: 16px; }
.modal-body { padding: 26px 27px 28px; }
.modal-body > p { color: #5f6e7b; font-size: 13px; line-height: 2; }
.modal-body .field:last-child { margin-bottom: 0; }
.modal-actions { display: flex; justify-content: end; gap: 10px; margin-top: 25px; }
.modal .notice { background: #cf452f09; border: 1px solid #cf452f22; color: #5f6e7b; padding: 13px 15px; border-radius: 9px; font-size: 11px; line-height: 1.9; display: flex; gap: 9px; align-items: start; margin: 18px 0; }
.modal .notice .icon { width: 17px; height: 17px; margin-top: 2px; }
.safety-seal { width: 80px; height: 80px; color: #5f6e7b; background: radial-gradient(circle,#cf452f1a,transparent); border: 1px solid #cf452f3b; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 0 40px #cf452f09; }
.safety-seal .icon { width: 36px; height: 36px; }
.safety-text { color: #5f6e7b !important; font-size: 15px !important; line-height: 2.1 !important; }
.safety-sub { color: #536170 !important; font-size: 12px !important; margin-top: 17px; }
.account-option { width: 100%; display: flex; gap: 13px; align-items: center; text-align: left; background: #fffefa77; border: 1px solid var(--line); padding: 14px; border-radius: 9px; margin-bottom: 10px; }
.account-option.active { background: #cf452f0a; border-color: #cf452f70; }
.account-option strong { font-size: 13px; font-weight: 500; display: block; color: #5f6e7b; }
.account-option small { font-size: 11px; color: #536170; }
.account-option .selected-mark { margin-left: auto; color: var(--lime); }
.modal-divider { display: flex; gap: 12px; align-items: center; font-size: 11px; color: #536170; margin: 24px 0 16px; }
.modal-divider::before, .modal-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.inline-input { display: flex; gap: 9px; }
.inline-input .input { min-width: 0; }
.native-notice { font-size: 11px !important; color: #5f6e7b !important; border: 1px solid #ff825b22; background: #ff825b07; border-radius: 8px; padding: 12px; margin-top: 16px; }
.report-options { display: grid; gap: 9px; margin: 20px 0; }
.report-options label { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: #5f6e7b; }
.report-options input { accent-color: var(--lime); }
.detail-wish { background: #d7e1c6; border: 1px solid #e1ebc7; border-radius: 3px; padding: 22px; margin-bottom: 21px; box-shadow: 0 8px 25px #2935430b; }
.detail-wish .tag { color: #536170; }
.detail-wish .wish-text { color: #536170; font-size: 14px; }
.detail-wish .card-bottom { border-color: #496e493b; }
.detail-wish .card-bottom small, .detail-wish .quiet-report { color: #536170; }
.detail-wish .status { background: #5b83501a; color: #536170; border-color: #4e764622; }
.detail-wish .fineprint { color: #536170; }
.detail-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.detail-meta small { font-size: 10px; color: #536170; }
.detail-echo { background: #fffefa; border: 1px solid #cf452f2b; border-radius: 11px; padding: 20px; margin: 20px 0; }
.detail-echo p { color: #5f6e7b; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 2; }
.echo-image { max-height: 300px; border-radius: 8px; border: 1px solid var(--line); margin-top: 14px; object-fit: contain; cursor: zoom-in; }
.upload { text-align: center; border: 1px dashed #cf452f3a; background: #fffefa88; padding: 19px; border-radius: 9px; }
.upload label { color: #5f6e7b; font-size: 12px; cursor: pointer; display: block; }
.upload .icon { width: 25px; height: 25px; margin: 0 auto 8px; display: block; }
.upload small { font-size: 10px; color: #536170; display: block; margin-top: 6px; }
.upload-preview { position: relative; margin-top: 14px; }
.upload-preview img { max-height: 210px; border-radius: 7px; margin: auto; }
.upload-preview button { position: absolute; right: 5px; top: 5px; background: #fffefa; }
.consent-row { margin-top: 13px; background: #fffefa88; border-radius: 7px; padding: 12px; display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #536170; }
.consent-yes { color: #5f6e7b; }
.consent-no { color: #5f6e7b; }
.section-rule { border: none; border-top: 1px dashed var(--line); margin: 25px 0; }
.drawn-top { text-align: center; margin-bottom: 24px; }
.drawn-top .eyebrow { justify-content: center; font-size: 10px; }
.drawn-top h3 { font-size: 25px; font-weight: 500; color: #5f6e7b; margin-top: 10px; }
.drawn-top p { font-size: 11px; color: #536170; margin-top: 9px; }
.modal:has(.drawn-top) .detail-wish { animation: card-unfold .85s var(--ease) .1s both; transform-origin: center top; }
.badge-celebration { text-align: center; padding: 8px 0 3px; }
.badge-celebration .badge-art { width: 140px; height: 140px; animation: badge-reveal 1.3s var(--ease) both; position: relative; }
.badge-celebration .badge-art::before { content: ""; position: absolute; inset: -45px; background: conic-gradient(from 0deg,transparent,#e3be7622,transparent 20%,#e3be7622,transparent 40%,#e3be7622,transparent 65%,#e3be7622,transparent); z-index: -1; border-radius: 50%; animation: halo-turn 20s linear infinite; filter: blur(12px); }
.badge-celebration h3 { font-size: 24px; font-weight: 500; color: #5f6e7b; margin: 8px 0 12px; }
.badge-celebration p { color: #5f6e7b; font-size: 12px; line-height: 2; }
.poster { padding: 33px 25px; background: radial-gradient(ellipse at 50% 10%,#fffefa55,transparent 65%),#fffefa; border: 1px solid #cf452f33; border-radius: 11px; color: #5f6e7b; position: relative; overflow: hidden; text-align: center; }
.poster::before { content: "✳"; position: absolute; font-size: 220px; line-height: 1; color: #5f6e7b0b; top: -60px; right: -50px; }
.poster h3 { font-size: 27px; font-weight: 500; line-height: 1.5; position: relative; }
.poster p { font-size: 11px; color: #536170; margin: 15px 0 22px; position: relative; }
.qr-frame { width: 155px; background: #fff; padding: 12px; border-radius: 6px; margin: 23px auto; position: relative; }
.qr-frame svg { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.poster .poster-note { color: #5f6e7b; font-size: 14px; }
.poster small { display: block; margin-top: 15px; font-size: 10px; color: #536170; position: relative; }
.fineprint { color: #536170; font-size: 11px; line-height: 1.9; }
.image-view { max-width: 900px; background: #fffefa; }
.image-view .modal-body { padding: 15px; }
.image-view img { max-height: 75vh; margin: auto; object-fit: contain; }
.toast-region { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 250; pointer-events: none; display: flex; align-items: center; flex-direction: column; gap: 10px; max-width: calc(100% - 30px); }
.toast { background: #c6e1bc; color: #536170; border: 1px solid #e3f3d2; border-radius: 9px; box-shadow: 0 12px 40px #29354312; padding: 12px 18px; font-size: 12px; display: flex; align-items: center; gap: 8px; max-width: 100%; overflow-wrap: anywhere; animation: toast-in .4s var(--ease) both; }
.toast .icon { color: #536170; width: 17px; height: 17px; }
.toast.out { opacity: 0; transform: translateY(8px); transition: .2s; }
.storage-banner { background: #fffefa; color: #5f6e7b; text-align: center; padding: 10px 20px; font-size: 11px; position: relative; z-index: 31; }

/* Motion stays attached to an action, an object or a reading transition. */
.visual-reveal { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.visual-reveal.in-view { opacity: 1; translate: 0 0; }
.motion-particle { position: fixed; width: var(--size, 4px); height: var(--size, 4px); background: var(--particle-color, #cf452f); left: var(--x); top: var(--y); z-index: 230; pointer-events: none; box-shadow: 0 0 7px var(--particle-color, #cf452f); animation: particle-flight var(--duration, 1.1s) var(--ease) forwards; border-radius: var(--particle-radius, 50%); }
.dispatch-flight { position: fixed; z-index: 220; left: calc(50% - 22px); top: 65%; width: 44px; height: 32px; background: #dbe8c0; border-radius: 3px; color: #536170; display: grid; place-items: center; pointer-events: none; box-shadow: 0 0 45px #cf452f6b; animation: dispatch-fly 1.2s cubic-bezier(.2,.5,.3,1) forwards; }
.dispatch-flight .icon { width: 30px; height: 23px; }
@keyframes page-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes title-arrive { from { transform: translateY(110%) rotate(3deg); opacity: 0; } to { transform: translateY(0) rotate(0); opacity: 1; } }
@keyframes line-arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes envelope-hover { 0%,100% { translate: 0 0; rotate: -1deg; } 50% { translate: 0 -12px; rotate: 1.5deg; } }
@keyframes note-hover { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes orbit-spin { from { transform: translate(-50%,-50%) rotate(-30deg); } to { transform: translate(-50%,-50%) rotate(330deg); } }
@keyframes halo-turn { to { transform: rotate(360deg); } }
@keyframes map-travel { to { stroke-dashoffset: -663; } }
@keyframes star-breathe { 0%,100% { opacity: .4; scale: .8; } 50% { opacity: 1; scale: 1.1; } }
@keyframes scroll-mark { 0%,100% { transform: translateY(0); opacity: .3; } 50% { transform: translateY(6px); opacity: 1; } }
@keyframes tape-roll { to { transform: translateX(-50%); } }
@keyframes scene-flash { 0%,100% { opacity: .5; scale: .9; } 40% { opacity: 1; scale: 1.4; } }
@keyframes paper-rise { 0%,100% { translate: 0 0; } 40% { translate: 0 -28px; } }
@keyframes draw-charge { 0%,100% { rotate: -3deg; } 50% { rotate: 3deg; } }
@keyframes card-unfold { from { opacity: 0; transform: perspective(600px) rotateX(-35deg) translateY(25px); } to { opacity: 1; transform: perspective(600px) rotateX(0) translateY(0); } }
@keyframes badge-reveal { 0% { opacity: 0; transform: scale(.25) rotateY(150deg) rotate(-20deg); filter: brightness(2); } 60% { opacity: 1; transform: scale(1.08) rotateY(0) rotate(4deg); } 100% { transform: scale(1) rotate(0); filter: brightness(1); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes particle-flight { 0% { opacity: 1; transform: translate(0,0) scale(1); } 75% { opacity: .8; } 100% { opacity: 0; transform: translate(var(--dx),var(--dy)) rotate(var(--spin,90deg)) scale(.1); } }
.modal[data-kind="sent"] .safety-seal { border: 2px dashed #ff825b88; background: #ff825b08; color: #5f6e7b; animation: stamp-imprint .85s var(--ease) both; }
@keyframes stamp-imprint { 0% { transform: scale(2.2) rotate(-35deg); opacity: 0; } 45% { transform: scale(.95) rotate(-12deg); opacity: 1; } 100% { transform: scale(1) rotate(-8deg); } }
@keyframes dispatch-fly { 0% { transform: translate(-70px,120px) rotate(-20deg) scale(.8); opacity: 0; } 20% { opacity: 1; } 60% { opacity: 1; transform: translate(40px,-110px) rotate(15deg) scale(1.3); } 100% { opacity: 0; transform: translate(180px,-370px) rotate(-10deg) scale(.1); } }

@media (min-width: 1500px) {
  .shell { max-width: 1400px; }
  .hero { min-height: 670px; }
  .hero h1 { font-size: 82px; }
  .hero-scene { height: 605px; }
}
@media (max-width: 1100px) {
  .shell { padding: 0 30px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 7px; letter-spacing: 2.5px; }
  .nav button { padding: 12px 10px; font-size: 12px; }
  .header-inner { gap: 12px; }
  .hero { min-height: 570px; }
  .hero h1 { font-size: 61px; }
  .hero-scene { height: 510px; }
  .stage-tilt { scale: .88; }
  .hero-margin-note { right: -15px; }
  .hero-stats { gap: 22px; }
  .dispatch-tape { margin-left: -30px; margin-right: -30px; }
  .wish-preview { padding: 21px; }
  .wish-preview-grid { gap: 17px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .community-strip .actions { gap: 17px; }
}
@media (max-width: 760px) {
  .shell { padding: 0 21px; }
  .topline .shell { height: 27px; font-size: 9px; letter-spacing: .2px; }
  .topline .desktop-only { display: none; }
  .header-inner { height: 72px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 34px; }
  .brand-mark .icon { width: 25px; height: 25px; }
  .brand-mark::before { border-radius: 10px; }
  .brand strong { font-size: 15px; letter-spacing: .4px; }
  .brand small { font-size: 6px; letter-spacing: 2.3px; }
  .profile-btn { font-size: 11px; padding: 4px 9px 4px 4px; gap: 6px; }
  .profile-btn .avatar { width: 27px; height: 27px; }
  .profile-btn .profile-label { max-width: 65px; overflow: hidden; text-overflow: ellipsis; }
  .profile-btn > .icon { display: none; }
  .nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fffefaf7; backdrop-filter: blur(20px); display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid #cf452f26; padding: 6px 5px calc(6px + env(safe-area-inset-bottom)); gap: 0; box-shadow: 0 -10px 40px #2935430e; }
  .nav button { padding: 7px 2px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: #536170; }
  .nav button.active { color: var(--lime); }
  .nav button.active::after { display: none; }
  .nav button > .icon { display: block !important; width: 21px; height: 21px; }
  .nav button.active > .icon { filter: drop-shadow(0 0 6px #cf452f4d); }
  .page { padding: 27px 0 37px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 26px 0 0; }
  .hero .eyebrow { font-size: 9px; gap: 7px; letter-spacing: 1.2px; }
  .hero h1 { margin: 19px 0 15px; font-size: 54px; line-height: 1.25; letter-spacing: -2px; }
  .hero h1 .headline-line:first-child { font-size: .63em; line-height: 1.65; letter-spacing: -1px; }
  .hero h1 .small-spark { margin: 5px 0 0 9px; font-size: .55em; }
  .hero-copy > p { font-size: 11px; line-height: 1.9; max-width: 310px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn { min-height: 46px; padding: 11px 16px; font-size: 12px; }
  .hero-actions .icon { width: 18px; height: 18px; }
  .hero-footnote { font-size: 9px; margin-top: 17px; }
  .hero-footnote .icon { width: 12px; height: 12px; }
  .hero-scene { height: 320px; margin: 0 -9px; overflow: clip; }
  .stage-tilt { scale: .74; }
  .scene-glow { width: 370px; height: 370px; }
  .orbit-circle { width: 400px; height: 400px; }
  .orbit-circle.second { width: 380px; height: 380px; }
  .orbit-circle.third { width: 450px; height: 450px; }
  .envelope-float { top: 46%; }
  .orbit-note.note-a { top: 3%; right: -9%; }
  .orbit-note.note-b { left: -10%; top: 69%; }
  .orbit-note.note-c { right: -9%; bottom: 8%; }
  .scene-tiny-star { top: 5%; left: -4%; }
  .scene-tiny-star.two { right: -7%; top: 50%; }
  .scene-label { font-size: 7px; bottom: -5px; letter-spacing: 1.3px; }
  .scene-label span { font-size: 9px; }
  .scene-floor { bottom: 6%; width: 250px; }
  .hero-margin-note { display: none; }
  .hero-bottom { padding: 15px 0 22px; }
  .hero-stats { justify-content: space-between; width: 100%; gap: 10px; }
  .hero-stat { gap: 6px; }
  .hero-stat strong { font-size: 19px; }
  .hero-stat span { font-size: 8px; }
  .scroll-cue { display: none; }
  .dispatch-tape { margin: 27px -19px 34px; height: 38px; transform: rotate(-2deg); }
  .tape-group { gap: 26px; padding-right: 26px; }
  .tape-group span { font-size: 10px; letter-spacing: 1px; }
  .tape-group b { font-size: 16px; }
  .section-head { margin-bottom: 21px; align-items: start; gap: 10px; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 11px; margin-top: 6px; }
  .section-head .side-note { font-size: 9px; max-width: 90px; line-height: 1.7; padding-top: 4px; text-align: right; }
  .section-head .side-note .icon { display: none; }
  .wish-preview-grid { grid-template-columns: 1fr; gap: 25px; padding: 10px 5px 0; }
  .wish-preview { min-height: 219px; padding: 22px; }
  .wish-preview:nth-child(2) { margin-top: 0; transform: rotate(1.5deg); }
  .wish-preview p { font-size: 13px; }
  .wish-preview .preview-top { padding-bottom: 13px; margin-bottom: 14px; }
  .wish-preview .preview-bottom { padding-top: 11px; margin-top: 12px; }
  .preview-explain { font-size: 9px; align-items: start; text-align: center; margin-top: 24px; padding: 0 8px; }
  .preview-explain .icon { margin-top: 3px; }
  .workshop-invite { grid-template-columns: 1fr; gap: 20px; padding: 25px; margin-top: 28px; }
  .workshop-invite h3 { font-size: 22px; line-height: 1.6; }
  .workshop-invite p { font-size: 11px; }
  .workshop-invite::after { right: -26px; bottom: -42px; }
  .workshop-invite .btn { justify-self: start; font-size: 12px; }
  .home-bottom { grid-template-columns: 1fr; gap: 23px; margin-top: 31px; padding-bottom: 28px; }
  .step { gap: 16px; }
  .step-no { font-size: 25px; width: 24px; }
  .step strong { font-size: 12px; }
  .step p { font-size: 10px; margin-top: 4px; }
  .community-strip { flex-direction: column; align-items: start; gap: 15px; padding-top: 24px; }
  .community-strip h3 { font-size: 14px; }
  .community-strip p { font-size: 10px; }
  .community-strip .actions { justify-content: space-between; width: 100%; gap: 10px; }
  .community-strip .text-btn { font-size: 10px; }
  .footer { padding: 23px 0 102px; }
  .footer .shell { flex-direction: column; gap: 10px; font-size: 9px; }
  .footer button { font-size: 9px; }
  .page-heading { align-items: start; gap: 10px; margin-bottom: 25px; }
  .page-heading .eyebrow { font-size: 9px; }
  .page-heading h1 { font-size: 29px; margin: 9px 0; }
  .page-heading p { font-size: 11px; line-height: 1.9; }
  .page-heading > .btn { font-size: 10px; padding: 8px 10px; white-space: nowrap; min-height: 34px; margin-top: 8px; }
  .page-heading > .btn .icon { display: none; }
  .layout-form, .workshop-main { grid-template-columns: 1fr; gap: 25px; }
  .panel { padding: 22px; }
  .tag-choice { padding: 8px 10px; font-size: 11px; }
  .tag-choice .icon { width: 14px; height: 14px; }
  .field { margin-bottom: 23px; }
  .form-label { font-size: 12px; }
  .identity-switch button { font-size: 11px; padding: 9px 5px; }
  .counter-row { font-size: 10px; }
  .check-line { font-size: 11px; }
  .form-bottom small { font-size: 10px; max-width: 105px; }
  .form-bottom .btn { padding: 11px 13px; font-size: 11px; }
  .form-bottom .btn .icon { width: 17px; height: 17px; }
  .note-card { margin: 0 6px; transform: rotate(1deg); padding: 26px; }
  .note-card h3 { font-size: 22px; }
  .note-card p { font-size: 12px; }
  .aside-guide { padding: 25px 5px 5px; }
  .paper-preview { display: none; }
  .guide-item { font-size: 11px; }
  .draw-stage { min-height: 458px; padding: 25px 20px 27px; }
  .draw-stage h2 { font-size: 23px; }
  .draw-stage > p { font-size: 11px; }
  .draw-box { height: 210px; }
  .draw-stage .btn { font-size: 12px; min-width: 235px; }
  .principles { padding: 25px; }
  .principles h3 { font-size: 16px; margin-bottom: 21px; }
  .principle { margin-top: 21px; }
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .content-card { padding: 21px; }
  .subsection { margin-top: 30px; }
  .wall-banner { gap: 12px; padding: 16px; }
  .wall-banner > .icon { width: 23px; height: 23px; }
  .wall-banner strong { font-size: 11px; }
  .wall-banner p { font-size: 10px; }
  .filters { gap: 7px; margin-bottom: 25px; }
  .filter { font-size: 10px; padding: 6px 12px; }
  .story-card { padding: 23px; }
  .profile-banner { flex-direction: column; align-items: start; padding: 25px 23px; gap: 24px; }
  .profile-info { gap: 14px; }
  .profile-info h2 { font-size: 22px; }
  .profile-info p { font-size: 10px; }
  .profile-info .text-btn { font-size: 10px !important; }
  .profile-avatar { width: 52px; height: 52px; font-size: 23px; }
  .profile-numbers { width: 100%; justify-content: space-between; gap: 12px; }
  .profile-number strong { font-size: 27px; }
  .profile-number span { font-size: 9px; }
  .profile-banner::after { right: -40px; bottom: -60px; }
  .tabs { gap: 24px; }
  .tab { font-size: 12px; }
  .memory-note { font-size: 10px; }
  .backup-actions { font-size: 10px; gap: 15px; }
  .backup-actions .text-btn { font-size: 11px; }
  .overlay { padding: 15px; }
  .modal { max-height: calc(100dvh - 30px); border-radius: 15px; }
  .modal-head { padding: 20px 20px 15px; }
  .modal-head h2 { font-size: 16px; }
  .modal-body { padding: 23px 20px; }
  .modal-body > p { font-size: 12px; }
  .safety-text { font-size: 14px !important; }
  .safety-sub { font-size: 11px !important; }
  .modal-actions { gap: 8px; }
  .modal-actions .btn { flex: 1; padding: 11px 11px; font-size: 11px; gap: 6px; }
  .modal-actions .btn .icon { width: 16px; height: 16px; }
  .modal .notice { font-size: 10px; padding: 12px; }
  .inline-input .btn { white-space: nowrap; font-size: 11px; padding: 9px 12px; }
  .account-option small { font-size: 10px; }
  .detail-wish { padding: 18px; }
  .detail-wish .wish-text { font-size: 13px; }
  .detail-echo { padding: 17px; }
  .detail-echo p { font-size: 12px; }
  .drawn-top h3 { font-size: 22px; }
  .drawn-top p { font-size: 10px; }
  .consent-row { font-size: 10px; }
  .poster h3 { font-size: 25px; }
  .toast-region { bottom: 91px; }
  .toast { font-size: 11px; padding: 11px 15px; }
  .pointer-light { display: none; }
}
@media (max-width: 359px) {
  .shell { padding-left: 17px; padding-right: 17px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 5px; letter-spacing: 2px; }
  .hero h1 { font-size: 49px; }
  .hero-actions .btn { font-size: 11px; padding: 11px 12px; gap: 6px; }
  .hero-scene { height: 330px; }
  .stage-tilt { scale: .64; }
  .orbit-note.note-a { right: -20%; }
  .orbit-note.note-b { left: -20%; }
  .orbit-note.note-c { right: -20%; }
  .hero-stat span { font-size: 7px; }
  .hero-stats { gap: 8px; }
  .hero-stat { gap: 4px; }
  .hero-stat strong { font-size: 18px; }
  .panel { padding: 19px; }
  .form-bottom .btn { padding: 10px; font-size: 10px; }
  .tabs { gap: 19px; }
  .tab { font-size: 11px; }
  .dispatch-tape { margin-left: -15px; margin-right: -15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .visual-reveal { opacity: 1; translate: none; transform: none; }
  .motion-particle, .dispatch-flight, .pointer-light { display: none; }
}


/* Daylight stationery palette. Solid printing inks, paper surfaces and quiet shadows. */
:root {
  --blue: #cf452f;
  --deep: #273442;
  --lime: #cf452f;
  --paper: #faf9f5;
  --ink: #273442;
  --muted: #69747c;
  --line: #dcdedc;
  --pink: #f1d9cf;
  --white: #ffffff;
  --orange: #315eaa;
  --shadow: 0 15px 35px #2935420b;
}
body::before {
  background: radial-gradient(#62778919 .65px, transparent .65px);
  background-size: 7px 7px;
  opacity: .35;
}
::selection { background: #f2c7b9; color: #273442; }
#ambient-sky { opacity: .16; }
.pointer-light { display: none; }
.topline { background: #cf452f; color: #fff8f1; border-color: #cf452f; }
.topline .dot { background: #ffedbe; box-shadow: none; }
.header { background: #faf9f5f7; border-color: #e5e5df; }
.brand-mark { color: #cf452f; }
.brand-mark::before { border-color: #cf452f80; }
.brand small, .profile-btn > .icon { color: #697480; }
.nav button { color: #65707c; }
.nav button:hover, .nav button.active { color: #ce432f; }
.nav button.active::after { box-shadow: none; background: #cf452f; }
.profile-btn { border-color: #d6dce0; background: #fff9; }
.avatar { background: #e9eff8; border-color: #cad7eb; color: #315eaa; }
.eyebrow { color: #315eaa; }
.btn, .btn.lime { background: #cf452f; border-color: #cf452f; color: #fffdf8; }
.btn:hover, .btn.lime:hover { background: #c73d28; border-color: #c73d28; box-shadow: 0 7px 18px #cf452f26; }
.btn.secondary { background: #ffffff70; border-color: #bdc8d7; color: #315eaa; }
.btn.secondary:hover { background: #edf2f9; box-shadow: 0 6px 15px #315eaa0b; }
.btn.danger { background: #fff0e9; border-color: #e9b3a1; color: #b43d28; }
.text-btn { color: #315eaa; }
.hero::after { background: #d7dadb; }
.hero h1 { color: #273442; }
.hero h1 em { color: #cf452f; text-shadow: none; }
.hero h1 .small-spark { color: #315eaa; }
.hero-copy > p { color: #65707b; }
.hero-actions .btn:first-child { box-shadow: 0 7px 16px #cf452f18; }
.hero-actions .btn.secondary { color: #315eaa; border-color: #b9c5d6; }
.hero-footnote { color: #687784; }
.scene-glow {
  width: 420px;
  height: 420px;
  background: radial-gradient(#9e835929 .9px, transparent .9px), #f7e9c9;
  background-size: 9px 9px, auto;
  filter: none;
  opacity: .8;
}
.orbit-circle { border-color: #315eaa38; box-shadow: none; }
.orbit-circle.second { border-color: #315eaa4d; }
.orbit-circle.third { border-color: #315eaa2b; }
.orbit-circle::before { background: #315eaa; box-shadow: 0 0 0 4px #315eaa10; }
.orbit-circle.second::before { background: #cf452f; box-shadow: 0 0 0 4px #cf452f10; }
.star-map { color: #315eaa; opacity: .65; }
.star-map .map-path { stroke: #315eaa55; }
.star-map .map-light { stroke: #cf452f; }
.star-map circle { fill: #315eaa; }
.envelope-object { filter: drop-shadow(0 20px 15px #605b4026); }
.envelope-back { background: linear-gradient(140deg,#e8d8b4,#f6e6c7 50%,#deceaa); border-color: #c8b78e; box-shadow: none; }
.envelope-flap { background: linear-gradient(0deg,#e4cfab,#fff4db); }
.letter-insert { background: linear-gradient(120deg,#fffefa,#fff7e8); border-color: #e3d4ba; box-shadow: 0 -2px 10px #6a54370a; }
.letter-insert::before { border-color: #b4a08433; }
.letter-insert small { color: #65717e; }
.letter-insert strong { color: #3e4e65; }
.letter-insert .letter-rule { background: #b9b5aa; box-shadow: 0 8px 0 #b9b5aa55; }
.envelope-front { background: linear-gradient(150deg,#fff1d8 15%,#eddbb5 60%,#f8e9c9); }
.envelope-fold { background: linear-gradient(165deg,#fff3dd,#e7d3ac); }
.envelope-seams { stroke: #a88f626b; }
.envelope-address { color: #7e6c50; }
.wax-seal { background: radial-gradient(circle at 35% 30%,#f18a70,#d64c36 70%); border-color: #d8523b; color: #853622; box-shadow: 1px 4px 5px #85362233,inset 0 0 0 2px #fda68b66; }
.wax-seal .icon { filter: drop-shadow(1px 1px 0 #ffb09c99); }
.envelope-stamp { background: #315eaa; color: #fff4d7; outline-color: #5278b5; }
.orbit-note { background: #fffdf4eb; border-color: #bac9dd; color: #315eaa; box-shadow: 0 7px 16px #3c526312; }
.orbit-note .icon { color: #315eaa; }
.orbit-note.note-b { background: #fff0e8ed; border-color: #e7b9a8; color: #ad4d35; }
.orbit-note.note-b .icon { color: #c94d35; }
.scene-tiny-star { color: #cf452f; }
.scene-tiny-star.two { color: #315eaa; }
.scene-floor { background: radial-gradient(ellipse,#87734720,transparent 70%); }
.scene-label, .hero-margin-note { color: #65717e; }
.scene-label span { color: #657485; }
.scene-label .touch-hint { background: #cf452f; box-shadow: none; }
.hero-scene.sparked .wax-seal { box-shadow: 0 0 0 10px #cf452f12; }
.hero-stat strong { color: #315eaa; }
.hero-stat span, .scroll-cue { color: #687580; }
.scroll-cue .mouse-line { border-color: #aeb8c3; }
.scroll-cue .mouse-line::after { background: #cf452f; }
.dispatch-tape { background: #f3df9b; border-color: #dec67d; }
.tape-group span { color: #755e2f; }
.tape-group b { color: #bf4930; }
.section-head .side-note, .section-head p { color: #65717e; }
.wish-preview { background: #ffedb8; color: #384552; }
.wish-preview:nth-child(2) { background: #dfe9f4; }
.wish-preview:nth-child(3) { background: #f1d9cc; }
.wish-preview::before { background: #d7c7aa77; border-color: #e0d1b688; }
.wish-preview:hover { box-shadow: 0 18px 30px #786d4a1c; }
.wish-preview .tag { color: #315eaa; }
.wish-preview .preview-top { border-color: #4e60752b; }
.wish-preview .preview-bottom { border-color: #4e607533; }
.wish-preview .preview-bottom span, .wish-preview .quiet-report { color: #68707a; }
.preview-explain { color: #65717e; }
.workshop-invite { background: #edf1f7; border-color: #c9d5e4; }
.workshop-invite::after { color: #315eaa0a; }
.workshop-invite h3 { color: #304d79; }
.workshop-invite p { color: #65717e; }
.step-no { color: #d17c61; }
.step strong { color: #3e4d5d; }
.step p, .community-strip p { color: #65717e; }
.community-strip .text-btn { color: #315eaa; }
.footer, .footer button { color: #65717e; }
.page-heading p { color: #65717e; }
.panel, .principles, .content-card { background: #fffefa; border-color: #dcdedb; box-shadow: 0 8px 30px #3a455005; }
.form-label { color: #3c4957; }
.required { color: #bf4833; }
.tag-choice { background: #fafbf9; border-color: #d7dfe6; color: #65707b; }
.tag-choice:hover { border-color: #315eaa88; }
.tag-choice.selected { background: #eaf0f9; border-color: #315eaa; color: #315eaa; box-shadow: none; }
.input, textarea { background: #fcfcf9; color: #334251; border-color: #ccd5dc; }
.input:focus, textarea:focus { border-color: #315eaa; box-shadow: 0 0 0 3px #315eaa0a; }
.input::placeholder, textarea::placeholder { color: #65717e; }
.counter-row, .help, .form-bottom small { color: #65717e; }
.check-line { color: #687580; }
.check-line strong { color: #475563; }
.check-line input { background: #fff; border-color: #9baab8; }
.check-line input:checked { background: #315eaa; border-color: #315eaa; }
.check-line input:checked::after { color: white; }
.identity-switch { background: #f0f2f3; border-color: #e0e4e7; }
.identity-switch button { color: #65717e; }
.identity-switch button.selected { background: #fff; color: #315eaa; box-shadow: 0 2px 7px #233a5210; }
.form-error { background: #fff0e8; border-color: #e9bba9; color: #a7402b; }
.form-bottom { border-color: #d6dcd9; }
.note-card { background: #f4df9f; color: #5e4b29; box-shadow: 9px 13px 0 #c3ad7920; }
.note-card::before { background: #d9cbb077; }
.note-card .doodle { color: #cf452f; }
.note-card p { color: #76643f; }
.aside-guide h3 { color: #475665; }
.guide-item { color: #65717e; }
.guide-item .icon { color: #315eaa; }
.paper-preview { background: #fffefa; border-color: #bfcbd8; }
.paper-preview small { color: #65717e; }
.paper-preview p { color: #65717e; }
.draw-stage { background: radial-gradient(ellipse at 50% 40%,#f7dfa95c,transparent 60%),#f6f4ec; border-color: #d7d2c2; }
.draw-stage::before { border-color: #315eaa22; }
.draw-counter { color: #65778e; border-color: #cbd5e0; background: #ffffff80; }
.blindbox-orbit { border-color: #315eaa40; }
.blindbox-orbit::after { background: #cf452f; box-shadow: 0 0 0 4px #cf452f15; }
.blindbox-shadow { background: radial-gradient(ellipse,#6d5b3d26,transparent 70%); }
.blindbox-body { background: linear-gradient(130deg,#547fbd,#315eaa); border-color: #254b8c; box-shadow: inset -16px 0 25px #18396838,8px 12px 25px #38465322; }
.blindbox-body::after { background: #284c86; border-color: #4d6ea3; }
.blindbox-lid { background: linear-gradient(110deg,#acc4e3,#7d9fcc); border-color: #b5cbe7; box-shadow: 0 5px 10px #233b5a33; }
.blindbox-seal { color: #fff5dd; background: #cf452f; box-shadow: inset 0 0 0 4px #b33f2c33,0 3px 10px #173a6929; }
.blindbox-paper { background: #fff5db; }
.blindbox-paper .icon { color: #cf452f; }
.blindbox-paper span { background: #9c886044; box-shadow: 0 6px 0 #9c886044,0 12px 0 #9c886022; }
.draw-stage h2 { color: #344655; }
.draw-stage > p, .pending-draft { color: #65717e; }
.drawing .blindbox-paper { box-shadow: 0 0 30px #e6bf7455; }
.drawing::after { background: radial-gradient(circle,#f4cb7770,transparent 65%); }
.principles h3, .principle strong { color: #455767; }
.principle p, .safety-mini { color: #65717e; }
.safety-mini .icon { color: #315eaa; }
.tag-icon { background: #eaf0f8; border-color: #cbd8ea; color: #315eaa; }
.tag-icon.pink { color: #bd5d44; border-color: #edc4b6; background: #fff0e8; }
.tag-icon.green { color: #8f732a; border-color: #e7d39c; background: #fff5d7; }
.tag-icon.orange { color: #a06f34; border-color: #e5cfb4; background: #fbefe0; }
.content-card:hover { border-color: #a4b9d4; box-shadow: 0 12px 28px #315eaa0c; }
.tag { color: #315eaa; }
.status { color: #65717e; background: #f1f3f4; border-color: #dfe5e8; }
.status.progress { color: #9c6e2f; background: #fff4dd; border-color: #e8d5a9; }
.status.done { color: #3c735b; background: #edf5ee; border-color: #ccdfd0; }
.wish-text { color: #475564; }
.card-bottom small, .quiet-report { color: #65717e; }
.quiet-report:hover { color: #b54a34; background: #fff0e8; }
.empty { background: #ffffff70; border-color: #c7d0da; color: #65717e; }
.empty > .icon { color: #65717e; }
.empty strong { color: #53677e; }
.wall-banner { background: #eff3f9; border-color: #d4dfed; }
.wall-banner > .icon { color: #315eaa; }
.wall-banner strong { color: #456185; }
.wall-banner p { color: #65717e; }
.filter { background: #fff; color: #65717e; border-color: #d4dce6; }
.filter.active { background: #315eaa; border-color: #315eaa; color: #fff; }
.story-card { background: #fff7e4; border-color: #e9ddc3; color: #49535c; }
.story-card:nth-child(3n+2) { background: #edf2f8; border-color: #d8e0ec; }
.story-card:nth-child(3n) { background: #faece4; border-color: #eddbcf; }
.story-card::before { background: repeating-linear-gradient(110deg,#315eaa 0 16px,transparent 16px 31px,#cf452f 31px 47px,transparent 47px 62px); opacity: .6; }
.story-card:hover { box-shadow: 0 12px 25px #6a675614; }
.story-kicker .tag { color: #315eaa; }
.story-kicker small { color: #65717e; }
.story-card h3 { color: #3b4d60; }
.echo-block { color: #65717e; border-color: #b4becb; }
.echo-label { color: #315eaa; }
.story-card .card-bottom small, .story-card .quiet-report { color: #65717e; }
.profile-banner { background: #e9eff7; border-color: #ced9e9; }
.profile-banner::after { color: #315eaa0b; }
.profile-info h2 { color: #315479; }
.profile-info p { color: #65717e; }
.profile-avatar { background: #f7faff; border-color: #aabfdb; color: #315eaa; box-shadow: none; }
.profile-number strong { color: #cf452f; }
.profile-number span { color: #65717e; }
.tab { color: #65717e; }
.tab.active { color: #315eaa; border-color: #315eaa; }
.memory-note { background: #fff8e9; border-color: #e8dabb; color: #65717e; }
.badge-card { background: radial-gradient(ellipse at 50% 35%,#f9e5b755,transparent 65%),#fffdf7; border-color: #e2d7bd; }
.badge-card:hover { border-color: #d2b06f; box-shadow: 0 12px 30px #a9874b12; }
.badge-card h3 { color: #75613e; }
.badge-card p, .badge-card small { color: #65717e; }
.backup-actions { color: #65717e; }
.overlay { background: #28384d40; backdrop-filter: blur(9px); }
.modal { background: #fffef9; border-color: #d9dfdf; box-shadow: 0 30px 100px #263a4c29; scrollbar-color: #bac7d5 #f7f7f1; }
.modal-head { background: #fffef9f5; border-color: #e4e6e2; }
.modal-head h2 { color: #3e4d5e; }
.close-btn { background: #eff2f5; color: #65717e; border-color: #d9e0e7; }
.modal-body > p { color: #65717e; }
.modal .notice { background: #eef3fa; border-color: #d4dfed; color: #65717e; }
.safety-seal { background: #fff1dd; border-color: #e7c899; color: #bf5e3f; box-shadow: none; }
.safety-text { color: #4f5b66 !important; }
.safety-sub { color: #65717e !important; }
.account-option { background: #fffefb; border-color: #dce2e8; }
.account-option.active { background: #eef3fa; border-color: #8aa9d3; }
.account-option strong { color: #52677f; }
.account-option small, .modal-divider { color: #65717e; }
.account-option .selected-mark { color: #315eaa; }
.native-notice { background: #fff5e9; border-color: #eddbc5; color: #9b7952 !important; }
.report-options label { color: #65717e; }
.report-options input { accent-color: #315eaa; }
.detail-wish { background: #fff3d7; border-color: #e4d5b3; box-shadow: 0 5px 15px #6e5a3508; }
.detail-wish .tag { color: #315eaa; }
.detail-wish .wish-text { color: #62583f; }
.detail-wish .card-bottom { border-color: #cbbd9b; }
.detail-wish .card-bottom small, .detail-wish .quiet-report { color: #65717e; }
.detail-wish .status { background: #f4e5bd; color: #8d743f; border-color: #dfcb98; }
.detail-wish .fineprint { color: #8d743f; }
.detail-meta small { color: #65717e; }
.detail-echo { background: #f7f9fc; border-color: #d4dfeb; }
.detail-echo p { color: #65717e; }
.upload { background: #f6f8fb; border-color: #aebfd5; }
.upload label { color: #315eaa; }
.upload small { color: #65717e; }
.upload-preview button { background: #fff; }
.consent-row { background: #f1f4f7; color: #65717e; }
.consent-yes { color: #427c64; }
.consent-no { color: #a07542; }
.drawn-top h3 { color: #455e7e; }
.drawn-top p { color: #65717e; }
.badge-celebration h3 { color: #725c36; }
.badge-celebration p { color: #65717e; }
.poster { background: #fff3d7; border-color: #e3c990; color: #3d5270; }
.poster::before { color: #cf452f14; }
.poster h3 { color: #315eaa; }
.poster p { color: #907b4f; }
.poster .poster-note { color: #c34c33; }
.poster small { color: #65717e; }
.fineprint { color: #65717e; }
.image-view { background: #fffef9; }
.toast { background: #fffdf3; border-color: #dfcda7; color: #7e6540; box-shadow: 0 10px 30px #4d4d3a1a; }
.toast .icon { color: #b9693f; }
.storage-banner { background: #fff0ce; color: #9a6a2e; }
.dispatch-flight { background: #fff0cf; color: #cf452f; box-shadow: 0 0 0 1px #ddc390,0 10px 30px #8e774033; }
.modal[data-kind="sent"] .safety-seal { background: #fff0e7; border-color: #cf452f88; color: #cf452f; }
@media (max-width: 760px) {
  .nav { background: #fffef9f7; border-color: #d8e0e5; box-shadow: 0 -5px 20px #35435609; }
  .nav button { color: #65717e; }
  .nav button.active { color: #cf452f; }
  .nav button.active > .icon { filter: none; }
  .scene-glow { width: 330px; height: 330px; }
}
/* A settled first frame makes the entrance transition reliable on file:// pages. */
.overlay {
  backdrop-filter: blur(0px);
  transition: opacity .46s ease, backdrop-filter .62s ease;
}
.overlay.visible { backdrop-filter: blur(9px); }
.modal {
  opacity: 0;
  transform: translateY(19px) scale(.985);
  transition: opacity .4s ease, transform .66s cubic-bezier(.22,1,.36,1);
}
.overlay.visible .modal { opacity: 1; transform: translateY(0) scale(1); }
.modal:focus { outline: none; }
.modal:is([data-kind="first-safety"], [data-kind="safety"]) :is(.safety-seal, .safety-text, .safety-sub, .modal-actions) {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .38s ease, transform .52s cubic-bezier(.22,1,.36,1);
}
.overlay.visible .modal:is([data-kind="first-safety"], [data-kind="safety"]) :is(.safety-seal, .safety-text, .safety-sub, .modal-actions) {
  opacity: 1;
  transform: translateY(0);
}
.overlay.visible .modal:is([data-kind="first-safety"], [data-kind="safety"]) .safety-seal { transition-delay: .10s; }
.overlay.visible .modal:is([data-kind="first-safety"], [data-kind="safety"]) .safety-text { transition-delay: .18s; }
.overlay.visible .modal:is([data-kind="first-safety"], [data-kind="safety"]) .safety-sub { transition-delay: .25s; }
.overlay.visible .modal:is([data-kind="first-safety"], [data-kind="safety"]) .modal-actions { transition-delay: .31s; }
.overlay.closing { pointer-events: none; transition-duration: .28s; }
.overlay.closing .modal { transform: translateY(9px) scale(.995); transition-duration: .23s; }
.overlay.closing .modal :is(.safety-seal, .safety-text, .safety-sub, .modal-actions) { transition-duration: .16s; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .overlay, .modal, .modal * { transition: none !important; }
  .modal, .modal:is([data-kind="first-safety"], [data-kind="safety"]) :is(.safety-seal, .safety-text, .safety-sub, .modal-actions) { transform: none; }
}
/* Final layout pass keeps decorative motion inside its scene and reading controls clear. */
html { scroll-padding-top: 110px; }
@media (min-width: 761px) { html { scrollbar-gutter: stable; } }
.hero-scene { overflow: clip; }
@media (min-width: 761px) { .orbit-note.note-b { left: 2%; } }
.profile-btn { max-width: 160px; flex-shrink: 0; }
.profile-label { max-width: 85px; overflow: hidden; text-overflow: ellipsis; }
.avatar, .profile-avatar { flex-shrink: 0; }
.profile-info { min-width: 0; max-width: 100%; }
.profile-info > div:last-child, .account-option > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.account-option .selected-mark { flex-shrink: 0; }
.identity-switch button { min-width: 0; overflow-wrap: anywhere; }
.header-inner .brand, .header-inner .nav { flex-shrink: 0; }
.empty .btn { display: flex; width: max-content; max-width: 100%; margin: 20px auto 0; }
.wish-text { font-size: 14px; }
.echo-block { font-size: 13px; }
.tag { font-size: 12px; }
.help, .counter-row, .guide-item, .principle p, .modal .notice { font-size: 12px; }
.card-bottom small, .footer, .footer button { font-size: 11px; }
.quiet-report { min-height: 30px; min-width: 44px; justify-content: center; }
.modal-head .close-btn { width: 34px; height: 34px; }
.upload:focus-within { outline: 2px solid #315eaa; outline-offset: 3px; }
.tab { scroll-margin-top: 110px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .stage-tilt { scale: .70; }
  .scene-glow { width: 310px; height: 310px; }
  .scene-label { bottom: 28px; }
  .hero-margin-note { display: none; }
  .profile-label { max-width: 60px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; scroll-padding-bottom: 90px; }
  .hero-scene { height: 354px; }
  .envelope-float { top: 52%; }
  .scene-label { bottom: 7px; }
  .hero-footnote { margin-bottom: 5px; }
  .help, .counter-row, .guide-item, .principle p, .modal .notice { font-size: 11px; }
  .wish-text { font-size: 13px; }
  .tag { font-size: 11px; }
  .quiet-report { min-height: 34px; }
  .card-bottom small { font-size: 10px; }
  .footer, .footer button { font-size: 10px; }
  .modal-head .close-btn { width: 36px; height: 36px; }
}
@media (max-width: 359px) {
  .hero-scene { height: 340px; }
  .profile-label { max-width: 52px; }
}
