:root{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}[hidden]{display:none!important}
/* One dark hall, one sheet of paper, one gold. Phone first: the app is one portrait screen, centred on wider ones. */
:root {
  --night: #0c0f1b; --hall: #151826; --ink: #1c1b1a; --paper: #f3ead6; --paper-2: #e9dfc8;
  --gold: #e2bc66; --gold-soft: #f3dc9c; --gold-deep: #a67c34; --red: #d8432a; --turq: #7cc3b4; --mal: #3e8f7f; --mist: rgba(243,234,214,.72);
  --f-serif: "Noto Serif SC", "Songti SC", "STSong", serif; --f-brush: "Ma Shan Zheng", "STKaiti", "KaiTi", serif;
  --f-wild: "Zhi Mang Xing", "Ma Shan Zheng", "STKaiti", serif; --f-cap: "Cinzel", "Times New Roman", serif; --f-mono: "Courier Prime", "Courier New", monospace;
  --top: env(safe-area-inset-top, 0px); --bot: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
html, body { height: 100%; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--f-serif); overflow: hidden; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
img, canvas { -webkit-user-drag: none; user-drag: none; }
#app { position: fixed; inset: 0; margin: 0 auto; max-width: 520px; overflow: hidden; background: var(--night); isolation: isolate; }
.scene { position: absolute; inset: 0; }
.scene[hidden] { display: none !important; }
.layer { position: absolute; pointer-events: none; display: block; will-change: transform; }
canvas.fill { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- loader ---------- */
#loader { position: absolute; inset: 0; z-index: 50; display: grid; place-items: center; background: radial-gradient(120% 80% at 30% 10%, #2d6a57 0%, #16463c 50%, #0b2621 100%); transition: opacity .6s; }
#loader p { margin: 0; font: 700 11px var(--f-serif); letter-spacing: .28em; color: var(--gold); opacity: .8; }
#loader i { display: block; width: 6px; height: 6px; margin: 14px auto 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.8); opacity: .4; } }

/* ---------- intro ---------- */
#intro { z-index: 20; background: #16463c; overflow: hidden; }
.intro-title { position: absolute; left: 0; right: 0; top: 41%; margin: 0; text-align: center; pointer-events: none; opacity: 0; }
.intro-title b { display: block; font: 400 clamp(76px, 26vw, 120px)/1 var(--f-wild); letter-spacing: .06em;
  background: linear-gradient(180deg, #fff6d6 10%, #f0c862 55%, #b98a35 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(240,200,98,.55)); }
.intro-title small { display: block; margin-top: 14px; font: 700 11px var(--f-cap); letter-spacing: .42em; color: var(--gold-soft); text-transform: uppercase; }
.skip { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: calc(var(--top) + 14px); z-index: 3; padding: 8px 12px; border: 1px solid rgba(226,188,102,.45);
  border-radius: 999px; background: rgba(12,15,27,.5); color: var(--gold-soft); font: 700 12px var(--f-serif); letter-spacing: .2em; }


/* ===================================================================================================
   Everything after the intro is the user's own design (their full version without the intro), phone layout, brought over as is;
   the mechanics underneath (the deck, the fold, the burn between scenes, the tree's drag) are the prototype's.
   =================================================================================================== */
#app { background: #101a19; --fh: 455px; --fw: calc(var(--fh) * .3214); }
#app svg { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
#app button { font-family: var(--f-serif); color: inherit; cursor: pointer; touch-action: manipulation; }
#app button:focus-visible, #app a:focus-visible { outline: 2px solid #a33c2e; outline-offset: 5px; }

/* ---------- the header, shared by the draw and the tree ---------- */
.header { position: absolute; left: 0; right: 0; top: 0; z-index: 27; height: 76px; padding: var(--top) 23px 0; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between;
  color: #eee0b9; transition: opacity .6s, background .6s; }
.header.off { opacity: 0; pointer-events: none; }
.brand { border: 0; background: none; display: flex; align-items: center; gap: 9px; padding: 0; text-align: left; }
.brand-seal { width: 30px; height: 34px; display: grid; place-items: center; background: #a45132; color: #f9e9b8; border: 1px solid #bb8e50; font-size: 22px;
  clip-path: polygon(3% 0, 100% 2%, 98% 100%, 0 97%); box-shadow: inset 0 0 0 3px #9b623b; }
.brand-name { font-size: 21px; font-weight: 500; letter-spacing: 4px; line-height: 1.1; }
.brand-name small { display: block; font-family: Georgia, serif; font-size: 6px; letter-spacing: 1.6px; margin-top: 6px; }
.top-title { position: absolute; left: 50%; top: calc(var(--top) + 50% - var(--top) / 2); transform: translate(-50%, -50%); margin: 0; white-space: nowrap; pointer-events: none;
  font: italic 400 20px/1 Georgia, "Times New Roman", serif; letter-spacing: 1.5px; color: #f5e5bd; text-shadow: 0 2px 12px #17211a, 0 1px 2px #17211a; }
.tree-link { position: absolute; right: 14px; top: calc(var(--top) + 50% - var(--top) / 2); transform: translateY(-50%); display: flex; gap: 2px; align-items: center; border: 0; background: none;
  color: #ecdeb9; min-height: 40px; min-width: 40px; justify-content: center; padding: 0 4px; }
.tree-link svg { width: 21px; height: 21px; }
.link-arrow { font-size: 14px; }
#app.tree-view .header { opacity: 0; pointer-events: none; }

/* ---------- the draw: the temple, the deer and the crane, the slip ---------- */
#main { z-index: 10; display: flex; flex-direction: column; overflow: hidden; color: #f0e4c5; }
#main.measuring { display: flex !important; visibility: hidden; }
.world { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #101a19; pointer-events: none; }
.mural { position: absolute; inset: -14px; background-position: center; background-size: cover; will-change: transform; }
.wash { position: absolute; inset: 0; background: linear-gradient(180deg, #071211de 0%, #0b181d72 20%, #0e1f250c 43%, #06151a91 77%, #04121cf0 100%); }
.grain { position: absolute; inset: 0; opacity: .055; mix-blend-mode: screen; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.35' d='M0 0h200v200H0z'/%3E%3C/svg%3E"); }
.celestial-orbit { position: absolute; width: 115%; aspect-ratio: 1; left: 50%; top: 48%; transform: translate(-50%, -50%); border: 1px solid #e2d0a51a; border-radius: 50%; opacity: .55; }
.celestial-orbit::before, .celestial-orbit::after { content: ""; position: absolute; inset: 8%; border: 1px solid #dac7980f; border-radius: 50%; transform: rotateX(64deg) rotateZ(30deg); }
.celestial-orbit::after { transform: rotateX(64deg) rotateZ(-30deg); }
.cloud { position: absolute; width: 70%; height: 24%; filter: blur(32px); background: radial-gradient(ellipse, #eddc9d38, transparent 70%); }
.cloud-one { left: -10%; bottom: 11%; opacity: .65; animation: cloudDrift 22s ease-in-out infinite alternate; }
.cloud-two { right: -15%; top: 49%; opacity: .5; animation: cloudDrift 28s ease-in-out infinite alternate-reverse; }
.ember { position: absolute; bottom: -20px; width: 3px; height: 3px; border-radius: 50%; background: #b58c3f; box-shadow: 0 0 7px #e1be6d; animation: emberRise linear infinite; opacity: 0; }
.guardian-foreground { position: absolute; inset: 0; z-index: 3; pointer-events: none; isolation: isolate; transition: opacity .6s, filter .6s;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: xor; mask-composite: exclude; }
/* the words stay in front of the animals */
.card-meta, .browse-row, .actions, .gentle-note { position: relative; z-index: 4; }
.site-footer { z-index: 4; }
.guardian { position: absolute; object-fit: contain; pointer-events: none; user-select: none; filter: drop-shadow(0 14px 25px #001e265c); will-change: transform; }
.guardian-deer { width: var(--deer-w, 57%); left: var(--deer-left, -10%); top: var(--deer-top, 48%); animation: deerDrift 12s ease-in-out infinite alternate; }
.guardian-crane { width: var(--crane-w, 54%); left: var(--crane-left, 46%); top: var(--crane-top, 10%); animation: craneDrift 13s ease-in-out infinite alternate; }
.foreground-cloud { position: absolute; pointer-events: none; overflow: visible; filter: blur(.8px); }
.foreground-cloud-left { width: 190px; height: auto; left: -65px; top: var(--cloud-left-top, 74%); opacity: .44; animation: foregroundMistLeft 23s ease-in-out infinite alternate; }
.foreground-cloud-right { width: 150px; height: auto; right: -60px; top: var(--cloud-right-top, 56%); opacity: .4; animation: foregroundMistRight 27s ease-in-out infinite alternate; }

.head-space { flex: none; height: 76px; }
.fortune-scene { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; flex-direction: column; justify-content: space-between; padding: 0 17px 14px; }
.scene-title { text-align: center; margin-bottom: 15px; }
.eyebrow { font-family: Georgia, serif; font-weight: 400; margin: 0; }
.scene-title .eyebrow { font-size: 6px; letter-spacing: 2px; color: #d9c697; text-shadow: 0 1px 8px #000; }
.scene-title h1 { font-size: 18px; font-weight: 500; letter-spacing: 3px; margin: 12px 0 8px; color: #f5e5bd; text-shadow: 0 2px 12px #17211a, 0 1px 2px #17211a; }
.title-ornament { color: #deb878; font-size: 9px; display: inline-block; }
.fortune-center { flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 100%; position: relative; }
.card-stage { position: relative; width: var(--fw); height: var(--fh); margin: 0 auto; }
.card-meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 8px; letter-spacing: 2px; color: #eee0b8; text-shadow: 0 1px 5px #000; }
.meta-rule { display: inline-block; width: 20px; height: 1px; background: #deca9766; }
.browse-row { display: flex; align-items: center; gap: 10px; height: 29px; }
.browse-row p { margin: 0; font-size: 8px; letter-spacing: 2px; color: #e0d5b1; text-shadow: 0 1px 5px #000; text-align: center; }
.browse-arrow { border: 0; background: none; font-family: Georgia, serif !important; font-size: 18px; color: #f3dfb2; opacity: 0; pointer-events: none; padding: 4px 8px; transition: opacity .3s; }
#main.has-history .browse-arrow { opacity: .7; pointer-events: auto; }
.actions { flex: none; display: flex; gap: 8px; margin-top: 10px; width: 100%; max-width: 380px; transition: opacity .4s, transform .4s; }
.actions.off { opacity: .25; pointer-events: none; transform: translateY(5px); }
.action-button { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: center; gap: 6px; height: 43px; padding: 0 9px; border: 1px solid #bfa2638c; border-radius: 2px;
  background: #102a31ce; color: #f0e2bf !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 5px 22px #0002; font-size: 10px; letter-spacing: 1px;
  transition: background .25s, transform .25s, border-color .25s; }
.action-button svg { width: 15px; height: 15px; flex: none; }
.action-button:disabled { cursor: default; }
.action-primary { background: #a45430ef; border-color: #d5ad6c; color: #fff0cf !important; box-shadow: 0 4px 15px #73301f15; }
.gentle-note { font-size: 8px; letter-spacing: 1.5px; margin: 16px 0 0; color: #d0c3a0; text-shadow: 0 1px 5px #000; }
.site-footer { position: relative; flex: none; height: 46px; padding: 0 22px calc(var(--bot) * .5); display: flex; align-items: center; justify-content: flex-end; border-top: 1px solid #e9d4a319;
  font-family: Georgia, var(--f-serif); font-size: 6px; letter-spacing: 1px; color: #b5b59c; background: #09171b75; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-footer i { font-style: normal; color: #b49a63; padding: 0 9px; }
/* the words around the slip step aside while a scene burns over to the next, and come back after */
#main .scene-title, #main .card-meta, #main .browse-row, #main .actions, #main .gentle-note, #main .site-footer, #main .cloud, #main .ember { transition: opacity .5s, transform .4s; }
#main.chrome-out .scene-title, #main.chrome-out .card-meta, #main.chrome-out .browse-row, #main.chrome-out .actions, #main.chrome-out .gentle-note, #main.chrome-out .site-footer { opacity: 0; }
/* shorter phones */
#app.short .header { height: 60px; } #app.short .head-space { height: 60px; } #app.short .top-title { font-size: 18px; }
#app.short .scene-title { margin-bottom: 12px; } #app.short .scene-title h1 { font-size: 16px; margin-top: 9px; }
#app.short .fortune-scene { padding-bottom: 10px; } #app.short .site-footer { height: 39px; }
#app.short .card-meta { margin-top: 10px; } #app.short .gentle-note { margin-top: 12px; }

/* ---------- the deck: the slips stack where the card stands ---------- */
#deck { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; }
.stage3d { position: absolute; left: 50%; top: 50%; width: 0; height: 0; perspective: 1500px; }
.group { position: absolute; left: 0; top: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; will-change: transform; }
.group.dragging { transition: none; }
.card { position: absolute; left: 0; top: 0; }
.card.slip img { display: block; width: 100%; height: 100%; position: relative; }
.card.slip { cursor: zoom-in; }
.card.slip img.shade { position: absolute; left: -40px; top: -24px; width: calc(100% + 80px); height: calc(100% + 80px); opacity: .62; pointer-events: none; }
.card.slip img.dim { position: absolute; inset: 0; pointer-events: none; opacity: var(--dim, 0); transition: opacity .45s; }
.group.dragging .card.slip img.dim { transition: none; }
.card.slip .glow { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; pointer-events: none; opacity: 0; }
.card.slip .glow.on { animation: glowIn 3.4s ease-out both; }
@keyframes glowIn { 0% { opacity: 0; } 18% { opacity: .95; } 100% { opacity: .14; } }
.card.slip .sweep { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(170deg, transparent 35%, rgba(255,236,178,.55) 48%, transparent 60%); background-size: 100% 300%; }
.card.slip .sweep.on { animation: sweep 1.6s ease-out .2s both; }
@keyframes sweep { 0% { opacity: 1; background-position: 0 100%; } 100% { opacity: 0; background-position: 0 0%; } }
.paper-shine { position: absolute; inset: 0; pointer-events: none; overflow: hidden; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
/* the light passing over the front slip: a band moved by transform alone (no repaint), only on the slip in front, still while one is drawn */
.paper-shine i { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: linear-gradient(110deg, transparent 30%, rgba(255,247,214,.2) 45%, transparent 60%);
  will-change: transform; animation: paperShineX 8s ease-in-out infinite; }
@keyframes paperShineX { 0%, 55% { transform: translateX(-110%); } 90%, 100% { transform: translateX(110%); } }
.group.behind .paper-shine, #app.drawing .paper-shine { display: none; }
#app.drawing .fgc, #app.hold .paper-shine i { animation-play-state: paused; }
.card.slip .stamp { position: absolute; pointer-events: none; transform-origin: 50% 50%; }
.card.slip .stamp.down { animation: stampdown .5s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes stampdown { 0% { opacity: 0; transform: scale(1.9) rotate(6deg); } 60% { opacity: 1; transform: scale(.93); } 100% { opacity: 1; transform: scale(1); } }
.group.behind .card.slip { cursor: pointer; }
/* the check-in card behind its slip */
.check { position: absolute; left: 0; top: 0; box-sizing: border-box; background: #ece2ca; border: 1px solid #cbb992; padding: 8%; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 8px; filter: drop-shadow(2px 5px 7px #57493625); box-shadow: 0 14px 22px rgba(0,0,0,.35); cursor: zoom-in; overflow: hidden; color: #353c31; }
.check .ph { width: 100%; height: 50%; overflow: hidden; }
.check .ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.14) saturate(.82) contrast(.98); }
.check .ttl { color: #a33c2e; letter-spacing: 1px; font-family: Georgia, serif; }
.check .lines { width: 100%; text-align: center; line-height: 1.5; color: #6b6450; overflow: hidden; }
.check .lines span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- overlays, on the user's cream paper ---------- */
.veil { position: absolute; inset: 0; z-index: 30; background: #061d287a; -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px); opacity: 0; transition: opacity .3s, background .3s; }
.veil.on { opacity: 1; }
.veil.light { background: #e8dfcaad; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lite .veil { -webkit-backdrop-filter: none; backdrop-filter: none; background: #061d28c8; }
.lite .veil.light { background: #e8dfcaee; }
.modal-close { position: absolute; right: 12px; top: calc(var(--top) + 10px); z-index: 40; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid #f3ead960; background: #efe6d4;
  color: #353c31 !important; font: 200 22px/1 Arial, sans-serif !important; }
.ov { position: absolute; inset: 0; z-index: 31; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ov .zin { min-height: 100%; display: grid; place-items: center; padding: calc(var(--top) + 52px) 17px calc(var(--bot) + 25px); box-sizing: border-box; }
#save { z-index: 33; }
#detail { z-index: 35; }
.card-inspection { width: min(330px, 100%); margin: auto; }
.inspection-image { width: 100%; display: block; filter: drop-shadow(0 10px 20px #17221740); -webkit-touch-callout: default; }
#save .inspection-image { -webkit-user-select: auto; user-select: auto; }
.inspection-note { text-align: center; color: #f2ead6; letter-spacing: 2px; font-size: 9px; line-height: 1.8; margin: 18px 0; }
#save .inspection-note { color: #6e6e57; }
.save-actions { position: sticky; bottom: 0; margin-top: 15px; padding: 12px; background: #eee6d5ed; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; gap: 10px; }
.save-actions button { flex: 1; border: 1px solid #9d8d694f; padding: 12px 5px; background: none; font-size: 11px; letter-spacing: 2px; color: #353c31 !important; }
.save-actions button.main { background: #a33c2e; color: #f8ebd3 !important; border-color: #a33c2e; }
.sheet { position: absolute; inset: 0; z-index: 34; overflow-y: auto; overscroll-behavior: contain; display: grid; place-items: center; padding: calc(var(--top) + 52px) 17px calc(var(--bot) + 25px); box-sizing: border-box;
  pointer-events: none; }
.sheet .modal-shell { width: 100%; max-width: 430px; pointer-events: auto; transform: translateY(46px); opacity: 0; transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.sheet.on .modal-shell { transform: none; opacity: 1; }
.modal-paper { position: relative; background: #f0e8d7; padding: 28px 23px; border: 1px solid #eee1c7; box-shadow: 0 20px 80px #1b271d33; color: #353c31; box-sizing: border-box; }
.modal-paper::before { content: ""; position: absolute; inset: 7px; pointer-events: none; border: 1px solid #a99a7130; }
.modal-eyebrow { font-family: Georgia, serif; font-size: 8px; letter-spacing: 3px; color: #9b8351; margin: 0 0 12px; text-align: center; }
.modal-title { text-align: center; font-size: 21px; font-weight: 500; letter-spacing: 4px; margin: 0 0 10px; }
.modal-subtitle { text-align: center; font-size: 9px; color: #847b61; letter-spacing: 1px; line-height: 1.9; margin: 0 0 23px; }
.modal-primary, .modal-secondary { display: grid; place-items: center; width: 100%; box-sizing: border-box; position: relative; overflow: hidden; }
.modal-primary { border: 1px solid #a33c2e; background: #a33c2e; color: #f8ead2 !important; font-size: 12px; letter-spacing: 3px; padding: 13px 10px; min-height: 43px; }
.modal-secondary { border: 1px solid #9e947358; background: transparent; font-size: 11px; letter-spacing: 2px; padding: 12px 10px; margin-top: 10px; min-height: 42px; color: #353c31 !important; }
.modal-tertiary { display: block; background: none; border: 0; font-size: 10px; letter-spacing: 2px; color: #837c64 !important; margin: 17px auto 0; padding: 6px 12px; }
.filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.camera-placeholder { height: 255px; border: 1px solid #a6997440; background: linear-gradient(140deg, #dcd8c5, #e7dfc9); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; margin: 22px 0; }
.camera-placeholder svg { width: 40px; height: 40px; color: #8e906e; stroke-width: .8 !important; }
.camera-placeholder p { margin: 0; font-size: 10px; letter-spacing: 3px; color: #84816a; }
.err { margin: 0 0 12px; font-size: 10px; letter-spacing: 1px; color: #95412d; text-align: center; }
.photo-art { position: relative; margin: 12px 0 23px; border: 1px solid #b6a47b75; padding: 7px; background: #e9dec5; }
.photo-art img { width: 100%; max-height: 330px; object-fit: cover; display: block; filter: sepia(.14) saturate(.82) contrast(.98); }
.photo-art::after { content: "THIS MOMENT"; position: absolute; right: 14px; bottom: 15px; writing-mode: vertical-rl; background: #9f3d2ac4; color: #f6e3ba; font: 8px Georgia, serif; padding: 9px 5px; letter-spacing: 2px; }
.ootd-title { text-align: center; font-family: Georgia, serif; color: #a58a53; font-size: 22px; font-style: italic; letter-spacing: 2px; margin: 22px 0; }
.ootd-of { text-align: center; margin: -14px 0 8px; font-size: 9px; letter-spacing: 2px; color: #8e7548; }
.form-field { display: block; margin: 17px 0; }
.field-label { font-size: 10px; letter-spacing: 2px; color: #8e7548; display: block; margin-bottom: 8px; }
.form-field input, .form-field textarea { display: block; width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid #ad9c754f; background: #ffffff16; color: #393b30; outline: 0; padding: 10px 3px;
  font: 16px/1.5 var(--f-serif); border-radius: 0; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: #a03b2d; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a89b7c; font-size: 12px; }
.edit-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 23px; padding-top: 15px; border-top: 1px solid #9b8d6630; font-size: 8px; letter-spacing: 2px; color: #918260; }
.edit-footer .filebtn { position: relative; overflow: hidden; color: #a33c2e; font-size: 10px; padding: 4px; letter-spacing: 1px; cursor: pointer; }
.publish-preview { display: flex; gap: 20px; align-items: center; background: #e5ddc83d; padding: 15px; border: 1px solid #a6977230; margin: 23px 0; }
.publish-preview img { height: 150px; width: auto; filter: drop-shadow(1px 3px 3px #473a2929); }
.publish-preview strong { font-size: 16px; font-weight: 500; letter-spacing: 3px; }
.publish-preview p { font-size: 10px; line-height: 1.9; letter-spacing: 1px; color: #7d765d; margin: 8px 0 0; }
.privacy-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #9b8c6826; gap: 12px; cursor: pointer; }
.privacy-row span { font-size: 12px; letter-spacing: 2px; }
.privacy-row small { display: block; font-size: 9px; letter-spacing: 1px; color: #92866a; margin-top: 5px; }
.privacy-row input { appearance: none; -webkit-appearance: none; width: 31px; height: 18px; flex-shrink: 0; border-radius: 20px; background: #c5bea8; position: relative; cursor: pointer; margin: 0; }
.privacy-row input::before { content: ""; position: absolute; width: 12px; height: 12px; left: 3px; top: 3px; background: #f7efdb; border-radius: 50%; transition: transform .2s; }
.privacy-row input:checked { background: #727f5f; }
.privacy-row input:checked::before { transform: translateX(13px); }
.privacy-row input:disabled { opacity: .35; cursor: default; }
.privacy-summary { font-size: 10px; line-height: 1.9; color: #7f795f; margin: 18px 0; }
.replace-warning { font-size: 10px; line-height: 1.9; color: #95412d; padding: 12px; background: #aa4c3010; border-left: 2px solid #aa4c3080; margin: 18px 0; }
.public-user { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid #a6987130; padding-bottom: 17px; margin-bottom: 20px; }
.user-avatar { width: 37px; height: 37px; flex: none; border: 1px solid #979e7a; border-radius: 50%; display: grid; place-items: center; color: #647353; background: #e5e2cb; font-size: 15px; }
.public-user strong { display: block; font-size: 13px; font-weight: 500; letter-spacing: 2px; }
.public-user small { display: block; font-family: Georgia, serif; font-size: 8px; letter-spacing: 2px; color: #8b8166; margin-top: 6px; }
.public-fortune { display: flex; align-items: center; gap: 20px; margin: 20px 0; }
.public-fortune img { width: 83px; filter: drop-shadow(2px 5px 5px #3a36222f); }
.public-fortune h3 { font-size: 21px; letter-spacing: 5px; font-weight: 500; margin: 10px 0; }
.public-fortune p { font-size: 11px; line-height: 2; letter-spacing: 2px; margin: 0; }
.public-quote { font-size: 12px; line-height: 2.1; letter-spacing: 1px; padding: 15px 0; border-top: 1px solid #a6987130; -webkit-user-select: text; user-select: text; }
.public-link { color: #a33c2e; font-family: Georgia, serif; font-size: 12px; text-decoration: none; display: block; margin: 17px 0; overflow-wrap: anywhere; }
.sample-caption { font-size: 9px; color: #9b9176; letter-spacing: 2px; margin: 20px 0 0; text-align: center; }
.toast { position: absolute; left: 50%; bottom: calc(var(--bot) + 36px); z-index: 45; transform: translate(-50%, 15px); max-width: calc(100% - 35px); width: max-content; box-sizing: border-box; padding: 13px 22px;
  background: #3e4939ed; color: #f5ecd5; font-size: 11px; letter-spacing: 1px; line-height: 1.7; text-align: center; box-shadow: 0 5px 20px #293a2520; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; margin: 0; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
#app.tree-view .toast { bottom: calc(var(--bot) + 116px); }
.sheet.under .modal-shell { opacity: 0; transform: translateY(-14px) scale(.97); }
#zoom { touch-action: pan-y; }

/* ---------- the tree: the user's painting, the tags hung in it, panned and zoomed ---------- */
#tree { z-index: 9; background: #142b27; overflow: hidden; color: #eee1b8; }
.tree-viewport { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; outline: 0; }
.tree-viewport.dragging { cursor: grabbing; }
.tree-canvas { position: absolute; left: 0; top: 0; width: 3000px; height: 1000px; background-position: center; background-size: 100% 100%; transform-origin: 0 0; will-change: transform; isolation: isolate; }
.tree-atmosphere { position: absolute; inset: 0; background: linear-gradient(90deg, #031a1529, transparent 25%, #172f1e0a); pointer-events: none; }
.tree-canopy-foreground { position: absolute; inset: 0; z-index: 25; background-position: center; background-size: 100% 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 7% 10% at 33% 48%, #000 45%, transparent 80%), radial-gradient(ellipse 9% 7% at 64% 72%, #000 40%, transparent 80%), radial-gradient(ellipse 7% 9% at 85% 40%, #000 42%, transparent 80%), radial-gradient(ellipse 9% 10% at 13% 34%, #000 45%, transparent 85%);
  mask-image: radial-gradient(ellipse 7% 10% at 33% 48%, #000 45%, transparent 80%), radial-gradient(ellipse 9% 7% at 64% 72%, #000 40%, transparent 80%), radial-gradient(ellipse 7% 9% at 85% 40%, #000 42%, transparent 80%), radial-gradient(ellipse 9% 10% at 13% 34%, #000 45%, transparent 85%); }
.tree-dust { position: absolute; inset: 0; z-index: 28; pointer-events: none; background-image: radial-gradient(circle, #ffedbe 1px, transparent 2px), radial-gradient(circle, #f7e3b9 1px, transparent 2px);
  background-size: 237px 311px, 389px 277px; background-position: 20px 10px, 109px 83px; opacity: .2; animation: canopyDust 35s linear infinite alternate; }
.tree-shade { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(180deg, #04191bd9 0%, #061e207d 22%, transparent 42%, transparent 71%, #061e24f0 100%); }
.tree-heading { position: absolute; top: calc(var(--top) + 26px); left: 50%; transform: translateX(-50%); width: calc(100% - 44px); z-index: 32; pointer-events: none; text-align: center; color: #eee1b8; text-shadow: 0 2px 10px #061716; }
.text-button { display: block; border: 0; background: none; font-size: 10px; letter-spacing: 2px; padding: 5px 0; margin: 0 0 20px; color: #e1d1aa !important; pointer-events: auto; text-align: left; }
.tree-heading .eyebrow { font-size: 6px; letter-spacing: 2.2px; color: #c3b783; }
.tree-heading h1 { font-size: 22px; font-weight: 400; letter-spacing: 4px; margin: 11px 0 10px; }
.tree-description { margin: 0; font-size: 9px; letter-spacing: 3px; color: #c5c7a8; }
.tree-tools { position: absolute; bottom: calc(var(--bot) + 62px); left: 50%; transform: translateX(-50%); z-index: 32; display: flex; align-items: center; background: #0b2525c9; border: 1px solid #b6b6805c;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.tree-tools button { background: none; border: 0; color: #e9dfbc !important; padding: 9px 10px; min-height: 36px; min-width: 37px; font-size: 9px; letter-spacing: 1px; }
.tree-tools button.z { font: 17px Arial, sans-serif !important; padding: 7px; }
.tree-tools > span { height: 16px; width: 1px; background: #d2c18b32; margin: 0 5px; }
.tree-footer { position: absolute; left: 50%; bottom: calc(var(--bot) + 23px); transform: translateX(-50%); z-index: 32; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; white-space: nowrap;
  font-size: 8px; letter-spacing: .6px; color: #d7d3b2; pointer-events: none; }
.tiny-star { color: #dbba77; }
.footer-divider { width: 1px; height: 10px; background: #d6c99850; }
#tree .tree-heading, #tree .tree-tools, #tree .tree-footer { transition: opacity .4s; }
#tree.chrome-out .tree-heading, #tree.chrome-out .tree-tools, #tree.chrome-out .tree-footer { opacity: 0; }
#app.short .tree-heading { top: calc(var(--top) + 18px); } #app.short .text-button { margin-bottom: 12px; } #app.short .tree-heading h1 { font-size: 19px; }
/* a tag: its cord, the slip on it, the eyelet, a name */
.tree-node { position: absolute; display: block; width: var(--tag-width, 40px); height: auto; padding: 0; border: 0; background: none; transform-origin: 50% 0; transition: filter .3s; touch-action: none; }
/* inside the tag, the part that swings in the wind, from its knot (moved by script) */
.node-swing { display: block; transform-origin: 50% 3px; will-change: transform; }
.node-cord { position: relative; display: block; margin: 0 auto -8px; width: 28px; height: var(--cord, 55px); overflow: visible; stroke: #cab688 !important; stroke-width: 1.15 !important; fill: none !important; filter: drop-shadow(1px 1px 1px #192c1b55); }
.node-cord .cord-highlight { stroke: #eee0ae; stroke-width: .45; opacity: .65; }
.node-paper { position: relative; display: block; width: 100%; transform-origin: 50% 6%; transition: filter .3s;
  filter: drop-shadow(3px 7px 4px #152c216e) brightness(calc(1 - var(--fog, 0) * .2)) saturate(calc(1 - var(--fog, 0) * .3)) blur(calc(var(--fog, 0) * .5px)); }
.node-cord { opacity: calc(1 - var(--fog, 0) * .35); }
.node-paper img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.node-paper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 25%, #554d3b24 46%, #fff7df28 49%, transparent 53%, #423c2320); mix-blend-mode: multiply;
  clip-path: polygon(15% 0, 85% 0, 100% 6%, 100% 97%, 93% 100%, 0 100%, 0 6%); pointer-events: none; }
.tag-eyelet { position: absolute; top: 5px; left: 50%; width: 7px; height: 7px; border-radius: 50%; transform: translateX(-50%); border: 1.7px solid #a68b53; background: #263e2d; box-shadow: 0 0 0 .7px #dcc79d, 0 1px 1px #2e382b66; box-sizing: border-box; }
.tag-eyelet::after { content: ""; position: absolute; left: 1px; top: -8px; width: 1.3px; height: 10px; background: #d6c498; transform: rotate(8deg); }
.node-label { display: block; font-size: 8px; letter-spacing: 1px; color: #e9dfbc; background: #163029c9; border: 1px solid #cdbb8430; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 5px 8px;
  width: max-content; max-width: 120px; white-space: nowrap; margin: 10px auto 0; border-radius: 2px; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.tree-node:hover .node-label, .tree-node:focus-visible .node-label, .tree-node.own-node .node-label { opacity: 1; transform: none; }
.tree-node:hover .node-paper, .tree-node:focus-visible .node-paper { filter: drop-shadow(0 0 9px #f5d98088) drop-shadow(3px 10px 6px #172b2266); }
.tree-node:focus-visible { outline: 1px dashed #f5d980 !important; outline-offset: 8px; }

.tree-node.own-node .node-label { color: #f2d49a; border-color: #d7b76b78; }
.tree-node.own-node .node-label::before { content: "✦ "; color: #d8af5c; }
.node-label, .tree-tools button, .tree-footer, .text-button { letter-spacing: .5px !important; }
.tree-node.distant .node-label { font-size: 8px; }
/* the prototype's drop: a tag comes down onto its cord and swings, the first time you see it */
.tree-node.drop { animation: tagIn 1.3s cubic-bezier(.2,.9,.3,1) var(--arrive-delay, 0s) both; }
@keyframes tagIn { 0% { transform: translateY(-20px) rotate(22deg) scale(.6); opacity: 0; } 30% { opacity: 1; } 50% { transform: rotate(-10deg) scale(1); }
  72% { transform: rotate(5deg); } 88% { transform: rotate(-2deg); } 100% { transform: none; } }
@keyframes realTagSway { from { transform: rotate(calc(var(--tilt, 0deg) - 1.8deg)); } to { transform: rotate(calc(var(--tilt, 0deg) + 1.8deg)); } }
@keyframes cloudDrift { to { transform: translateX(25%) translateY(-10%); } }
@keyframes emberRise { 0% { transform: translate(0, 0); opacity: 0; } 20% { opacity: .5; } 80% { opacity: .35; } 100% { transform: translate(45px, -75vh); opacity: 0; } }
@keyframes deerDrift { from { transform: translateY(-7px) rotate(-2deg); } to { transform: translateY(12px) rotate(1deg); } }
@keyframes craneDrift { from { transform: translateY(12px) rotate(2deg); } to { transform: translateY(-9px) rotate(-2deg); } }
@keyframes foregroundMistLeft { to { transform: translate(15px, -3px); } }
@keyframes foregroundMistRight { to { transform: translate(-12px, 4px); } }
@keyframes paperShine { 0%, 55% { background-position: 150% 0; } 90%, 100% { background-position: -150% 0; } }
@keyframes canopyDust { to { background-position: 70px -70px, 150px 15px; } }

#transC, .trans-fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 25; display: block; pointer-events: none; }
#flash { position: absolute; inset: 0; z-index: 40; pointer-events: none; opacity: 0; background: radial-gradient(60% 45% at 50% 42%, rgba(255,248,222,1), rgba(240,200,98,.75) 45%, rgba(240,200,98,0) 80%); }

/* the folding sheet */
.fold-stage { position: absolute; left: 50%; top: 50%; width: 0; height: 0; perspective: 1300px; z-index: 26; pointer-events: none; }
.fold-stage .halo { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,232,170,.75), rgba(240,200,98,.25) 55%, rgba(240,200,98,0)); transform: translateZ(-40px); }
.fp { position: absolute; left: 0; top: 0; transform-style: preserve-3d; margin: 0; }
.fp, .fp-half, .fp-h, .fp-p { transform-style: preserve-3d; }
.fp-half, .fp-h, .fp-p { position: absolute; left: 0; }
.fp-half { top: 0; }
.fp-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background-repeat: no-repeat; }
.fp-face.back { transform: rotateX(180deg); }
.fp-sh { position: absolute; inset: 0; background: rgb(44,32,20); opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .card.slip .glow.on, .card.slip .sweep.on, .guardian, .cloud, .ember, .foreground-cloud, .paper-shine i, .tree-dust { animation: none !important; }
  .card.slip .glow.on { opacity: .14; }
  .tree-node, .tree-node.drop { animation: none !important; }
}
.lite .ember, .lite .tree-dust { animation: none; opacity: 0; }

/* English type: the user's spacing was set for Chinese; Latin text reads better tighter */
.modal-title { letter-spacing: .5px; line-height: 1.25; }
.modal-subtitle { letter-spacing: .2px; }
.publish-preview strong, .public-fortune h3 { letter-spacing: .5px; line-height: 1.25; }
.public-fortune h3 { font-size: 20px; }
.publish-preview strong { font-size: 15px; display: block; }
.privacy-row span { letter-spacing: .4px; } .privacy-row small { letter-spacing: .2px; }
.modal-primary { letter-spacing: 1.2px; } .modal-secondary, .modal-tertiary { letter-spacing: .6px; }
.inspection-note, .field-label, .sample-caption, .camera-placeholder p { letter-spacing: .6px; }
.edit-footer { letter-spacing: .3px; gap: 10px; } .edit-footer .filebtn { white-space: nowrap; }
.public-quote { letter-spacing: .2px; }
.save-actions button { letter-spacing: .8px; }
.gentle-note { letter-spacing: .4px; } .browse-row p { letter-spacing: .6px; }
.action-button { letter-spacing: .3px; white-space: nowrap; }
.tree-heading h1 { letter-spacing: 1px; line-height: 1.2; } .tree-description { letter-spacing: .8px; }
.toast { letter-spacing: .3px; }

/* the deer and the crane drawn with depth (WebGL); the plain pictures stay as the fallback */
#guardGL { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.guardian-foreground.gl .guardian { visibility: hidden; }

.tree-canopy-foreground { display: none; }

/* ===== the pages behind the buttons, after the user's mockup: warm paper, a celadon wave and gold flecks at the top,
   a wave and a blossom branch with two tags at the foot, THE FORGE with a gold rule, a serif voice ===== */
.sheet { padding: 0; display: block; pointer-events: auto; background: none; }
.ov.paperhost .zin { padding: 0; display: flex; flex-direction: column; min-height: 100%; }
.ov.paperhost .zin > .paper-page { flex: 1 0 auto; width: 100%; }
.sheet { display: flex; flex-direction: column; } .sheet > .paper-page { flex: 1 0 auto; }
.paper-page { --pp-ink: #22302a; --pp-brown: #6b5a3c; --pp-line: #b7a983; position: relative; min-height: 100%; box-sizing: border-box; overflow: hidden;
  padding: calc(var(--top) + 26px) 28px calc(var(--bot) + 150px); background: #f5e8d3; color: var(--pp-ink); font-family: "EB Garamond", "Noto Serif SC", Georgia, serif;
  transform: translateY(40px); opacity: 0; transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.sheet.on .paper-page, .ov.paperhost .paper-page { transform: none; opacity: 1; }
.sheet.under .paper-page { opacity: 0; transform: translateY(-14px) scale(.98); }
.paper-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background: radial-gradient(120% 80% at 50% 40%, transparent 55%, rgba(170,140,90,.16)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.paper-page > * { position: relative; }
.pp-deco { position: absolute !important; left: 0; width: 100%; height: auto; mix-blend-mode: multiply; pointer-events: none; user-select: none; }
.pp-deco.top { top: 0; } .pp-deco.bottom { bottom: 0; }
.pp-head { display: flex; align-items: center; gap: 16px; margin: 4px 0 26px; }
.pp-brand { font: 600 12.5px "Cinzel", "EB Garamond", serif; letter-spacing: 4.6px; color: var(--pp-ink); white-space: nowrap; }
.pp-line { flex: 1; height: 1px; background: linear-gradient(90deg, #a6955f, #c2b48a); }
.pp-close { width: 34px; height: 34px; margin-right: -6px; padding: 0; border: 0; background: none; color: var(--pp-ink) !important; font: 300 30px/1 "Helvetica Neue", Arial, sans-serif !important; }
.pp-eyebrow { margin: 0 0 6px; text-align: center; font-size: 15px; letter-spacing: .9px; color: var(--pp-brown); }
.pp-title { margin: 0 0 8px; text-align: center; font: 600 27px/1.15 "EB Garamond", Georgia, serif; letter-spacing: .2px; color: var(--pp-ink); }
.pp-sub { margin: 0 0 20px; text-align: center; font-size: 14.5px; line-height: 1.5; letter-spacing: .5px; color: var(--pp-brown); }
.pp-card { display: flex; align-items: center; gap: 16px; margin: 0 0 8px; padding: 14px 16px; border: 1px solid var(--pp-line); border-radius: 16px; background: rgba(255, 249, 236, .3); overflow: hidden; }
.pp-card .wave { position: absolute; right: 0; top: 0; width: 58%; height: auto; mix-blend-mode: multiply; pointer-events: none; }
.pp-card .slip { flex: none; height: 168px; width: auto; filter: drop-shadow(1px 4px 5px rgba(60,45,25,.28)); }
.pp-card .divider { flex: none; align-self: stretch; width: 1px; margin: 10px 0; background: var(--pp-line); }
.pp-card .txt { position: relative; min-width: 0; }
.pp-card .txt .no { display: block; font: 600 12px "Cinzel", serif; letter-spacing: 2px; color: var(--pp-brown); margin-bottom: 4px; }
.pp-card .txt strong { display: block; font: 600 21px/1.15 "EB Garamond", serif; color: var(--pp-ink); }
.pp-card .txt .rank { display: block; margin-top: 3px; font-size: 14px; letter-spacing: .8px; color: var(--pp-brown); }
.pp-card .txt p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; letter-spacing: .3px; color: #2c3830; }
.pp-card.camera { flex-direction: column; justify-content: center; gap: 14px; min-height: 230px; margin: 0 0 18px; color: #7c7a62; }
.pp-card.camera svg { width: 42px; height: 42px; stroke-width: .9 !important; }
.pp-card.camera p { margin: 0; font-size: 15px; letter-spacing: 1px; }
.pp-card.photo { display: block; padding: 10px; margin-bottom: 16px; }
.pp-card.photo img { display: block; width: 100%; max-height: 330px; object-fit: cover; border-radius: 9px; filter: sepia(.12) saturate(.85); }
.pp-card.photo::after { content: "THIS MOMENT"; position: absolute; right: 20px; bottom: 22px; writing-mode: vertical-rl; background: rgba(158,62,42,.82); color: #f6e3ba; font: 8px Georgia, serif; padding: 9px 5px; letter-spacing: 2px; }
.paper-page .privacy-row { padding: 14px 4px; border-bottom: 1px solid #cbbd98; gap: 14px; }
.paper-page .privacy-row span { font-size: 17px; font-weight: 500; letter-spacing: .6px; color: var(--pp-ink); }
.paper-page .privacy-row small { font-size: 13.5px; letter-spacing: .5px; color: var(--pp-brown); margin-top: 3px; }
.paper-page .privacy-row input { width: 40px; height: 21px; background: #e3d9c4; box-shadow: inset 0 1px 3px rgba(80,60,30,.22); }
.paper-page .privacy-row input::before { width: 17px; height: 17px; left: 2px; top: 2px; background: #fbf6ec; box-shadow: 0 1px 3px rgba(60,45,25,.3); }
.paper-page .privacy-row input:checked { background: #5c7a66; }
.paper-page .privacy-row input:checked::before { transform: translateX(19px); }
.pp-summary { margin: 16px 4px 22px; font-size: 14px; line-height: 1.5; letter-spacing: .4px; color: #4e4634; }
.pp-note { margin: 14px 0 18px; text-align: center; font-size: 14px; letter-spacing: .4px; color: var(--pp-brown); }
.paper-page .replace-warning { font-family: inherit; font-size: 14px; letter-spacing: .2px; }
.pp-btn { position: relative; display: grid; place-items: center; width: 100%; box-sizing: border-box; height: 44px; margin: 0 0 12px; overflow: hidden; cursor: pointer;
  font: 500 18px "EB Garamond", serif; letter-spacing: 1.2px; border: 0; background: none; }
.pp-btn.outline { color: var(--pp-ink) !important; background: #a89c72;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px); }
.pp-btn.outline::before { content: ""; position: absolute; inset: 1px; background: #f6ead7; z-index: -1;
  clip-path: polygon(9.6px 0, calc(100% - 9.6px) 0, 100% 9.6px, 100% calc(100% - 9.6px), calc(100% - 9.6px) 100%, 9.6px 100%, 0 calc(100% - 9.6px), 0 9.6px); }
.pp-btn.outline { isolation: isolate; }
.pp-btn.green { height: 48px; color: #f4ead5 !important; border-radius: 10px; background: #587463 center / cover; font-size: 20px; letter-spacing: 1.6px; box-shadow: 0 2px 0 rgba(40,60,48,.18); }
.pp-btn:disabled { opacity: .45; }
.pp-link { display: block; margin: 4px auto 0; padding: 8px 12px; border: 0; background: none; font: 400 16px "EB Garamond", serif; letter-spacing: .6px; color: #5b4c33 !important; }
.pp-slip { display: grid; place-items: center; margin: 4px 0 0; }
.pp-slip img { max-width: 72%; max-height: 58vh; width: auto; height: auto; filter: drop-shadow(0 12px 18px rgba(60,45,25,.3)); }
.pp-quote { margin: 16px 2px; font: italic 400 18px/1.5 "EB Garamond", serif; color: #2c3830; -webkit-user-select: text; user-select: text; }
.pp-quote::before { content: "“"; color: #a6955f; margin-right: 2px; } .pp-quote::after { content: "”"; color: #a6955f; margin-left: 2px; }
.pp-ootd { margin: 4px 0 2px; text-align: center; font: italic 400 24px "EB Garamond", serif; color: #9a7f47; }
.paper-page .form-field { margin: 14px 0; }
.paper-page .field-label { font: 500 14px "EB Garamond", serif; letter-spacing: .8px; color: var(--pp-brown); }
.paper-page .form-field input, .paper-page .form-field textarea { font: 17px/1.45 "EB Garamond", "Noto Serif SC", serif; border-bottom-color: #bfb08a; background: rgba(255,250,240,.35); }
.paper-page .err { font-family: inherit; font-size: 14px; }

/* ===== the three buttons as bronze coins (the user's coin art), catching the light as the view moves; "Classic" keeps the old buttons ===== */
.action-button .coin-face, .action-button .coin-sheen { display: none; }
.actions.coins { justify-content: center; gap: 9%; max-width: 380px; margin-top: 4px; }
.actions.coins .action-button { position: relative; flex: 0 0 auto; width: var(--coin, min(21vw, 84px)); height: var(--coin, min(21vw, 84px)); padding: 0; border: 0; border-radius: 50%;
  background: none !important; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: transform .2s cubic-bezier(.2,.8,.2,1), filter .2s;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)) drop-shadow(0 1px 1px rgba(0,0,0,.45)); }
.actions.coins .action-button > svg { display: none; }
.actions.coins .action-button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.actions.coins .coin-face { display: block; width: 100%; height: 100%; -webkit-user-drag: none; user-select: none; }
.actions.coins .coin-sheen { display: block; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  background: radial-gradient(circle at var(--hx, 34%) var(--hy, 28%), rgba(255,236,190,.24), rgba(255,214,150,.06) 30%, transparent 55%),
    linear-gradient(118deg, transparent 44%, rgba(255,246,220,.26) 50%, transparent 56%);
  background-size: 100% 100%, 320% 100%; background-repeat: no-repeat; animation: coinGlint 7s ease-in-out infinite; }
.actions.coins .action-button:nth-child(2) .coin-sheen { animation-delay: .35s; } .actions.coins .action-button:nth-child(3) .coin-sheen { animation-delay: .7s; }
@keyframes coinGlint { 0%, 72% { background-position: 0 0, 160% 0; } 100% { background-position: 0 0, -60% 0; } }
.actions.coins .action-button:hover { transform: translateY(-2px); }
.actions.coins .action-button:active { transform: scale(.93) translateY(2px) rotate(-4deg); filter: drop-shadow(0 3px 4px rgba(0,0,0,.55)); }
.actions.coins.off { opacity: .35; }
#app.short .actions.coins { --coin: min(19vw, 72px); }
@media (prefers-reduced-motion: reduce) { .actions.coins .coin-sheen { animation: none; } }

/* ===== design options: a small switch panel ===== */
.design-btn { position: absolute; left: 12px; top: calc(var(--top) + 50% - var(--top) / 2); transform: translateY(-50%); width: 38px; height: 38px; padding: 0; border: 0; background: none;
  color: #ecdeb9; opacity: .55; display: grid; place-items: center; }
.design-btn svg { width: 19px; height: 19px; }
.design-panel { position: absolute; left: 12px; top: calc(var(--top) + 64px); z-index: 50; width: min(300px, calc(100% - 24px)); box-sizing: border-box; padding: 16px 16px 12px;
  background: #f5e8d3; color: #22302a; border: 1px solid #b7a983; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.45); font-family: "EB Garamond", Georgia, serif; }
.dp-title { margin: 0; font: 600 18px "EB Garamond", serif; } .dp-sub { margin: 2px 0 10px; font-size: 13.5px; color: #6b5a3c; }
.dp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #d6c9a6; font-size: 15px; }
.seg { display: flex; border: 1px solid #a89c72; border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: none; padding: 6px 8px; font: 500 13.5px "EB Garamond", serif; color: #22302a !important; }
.seg button.on { background: #587463; color: #f4ead5 !important; }
.dp-done { display: block; margin: 8px 0 0 auto; border: 0; background: none; font: 500 15px "EB Garamond", serif; color: #5b4c33 !important; padding: 6px 4px; }
.tree-canvas { will-change: auto; }

/* check-in: the photo is optional; the words can be written straight away */
.ck-pick { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 4px 6px 0; box-sizing: border-box; }
.ck-pick .pp-btn { margin: 0; }
.pp-card.camera { padding: 18px 16px; }
#ckChange { position: relative; overflow: hidden; margin: -6px auto 6px; }
.check .note { width: 100%; text-align: center; font: italic 400 11px/1.45 "EB Garamond", Georgia, serif; color: #3b3a2c; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
/* a page opened through the coin's hole shows at once, cut to the hole as it grows */
.sheet.instant .paper-page { transition: none; transform: none; opacity: 1; }
.coin-fly { position: absolute; left: 0; top: 0; z-index: 36; pointer-events: none; will-change: transform; transform-origin: 50% 50%; filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); }
.coin-fly img { display: block; width: 100%; height: 100%; -webkit-user-drag: none; }

/* your slip on the tree: no label, a soft ring of light around it, breathing */
.tree-node.own-node .node-label { display: none; }
.tree-node.own-node .node-paper { filter: drop-shadow(0 0 3px #fff3c8) drop-shadow(0 0 10px rgba(246,214,130,.95)) drop-shadow(0 0 22px rgba(240,196,96,.55)); animation: mineGlow 2.8s ease-in-out infinite; }
@keyframes mineGlow { 50% { filter: drop-shadow(0 0 4px #fff6d6) drop-shadow(0 0 15px rgba(250,222,140,1)) drop-shadow(0 0 32px rgba(240,196,96,.75)); } }
/* the coins sit a little higher */
.actions.coins { transform: translateY(-18px); }
#app.short .actions.coins { transform: translateY(-10px); }
.actions.coins.off { transform: translateY(-14px); }

/* tags after the user's reference: thin red cords hanging straight, card faces with their own brass grommet */
.tree-node.red-cord .node-cord { stroke: #a3271c !important; stroke-width: 1.25 !important; filter: drop-shadow(.6px 1px .6px rgba(40,20,10,.35)); }
.tree-node.red-cord .node-cord .cord-highlight { stroke: #e0705c; stroke-width: .4; opacity: .7; }
.tree-node.card-face .tag-eyelet { display: none; }
.tree-node.card-face .node-paper::after { display: none; }
.tree-node.card-face .node-paper { filter: drop-shadow(2px 6px 5px rgba(30,40,20,.42)) brightness(calc(1 - var(--fog, 0) * .22)) saturate(calc(1 - var(--fog, 0) * .3)) blur(calc(var(--fog, 0) * .45px)); }
.tree-node.card-face.own-node .node-paper { animation: mineGlow 2.8s ease-in-out infinite; }

/* tied tags (v14): the v11 twisted cord, in red, wound round the branch */
.tree-node.tied .node-cord { stroke: #9f2a1c !important; stroke-width: 1.05 !important; filter: drop-shadow(.5px 1px .5px rgba(40,18,8,.4)); }
.tree-node.tied .node-cord .cord-highlight { stroke: #e27a62; stroke-width: .35; opacity: .75; }
.tree-node.tied .tag-eyelet::after { background: #a3301f; }
.node-tie { position: absolute; left: 50%; margin-left: -15px; overflow: visible; pointer-events: none; transform-origin: 15px calc(100% - 7.6px); }
.node-tie path, .node-tie ellipse, .node-tie circle { fill: none; stroke-linecap: round; }
.node-tie .sh path { stroke: rgba(28,16,6,.5); stroke-width: 2; transform: translate(1px, .7px); filter: blur(.6px); }
.node-tie .base { stroke: #842014; stroke-width: 1.7; }
.node-tie .mid { stroke: #c43f2a; stroke-width: 1.3; stroke-dasharray: .56 1; stroke-dashoffset: -.22; }
.node-tie .spec { stroke: #f2a58c; stroke-width: .4; stroke-dasharray: .3 1; stroke-dashoffset: -.36; opacity: .85; }
.node-tie .knot { fill: #8e2417; stroke: #5e140b; stroke-width: .5; } .node-tie .knot-hi { fill: #e58a70; stroke: none; opacity: .75; }
.node-tie .end { stroke: #9a2819; stroke-width: 1; }
/* a tag drops onto its cord; the tie on the branch is already there */
.tree-node.drop { animation: none !important; }
.tree-node.drop .node-swing { animation: tagIn 1.3s cubic-bezier(.2,.9,.3,1) var(--arrive-delay, 0s) both; transform-origin: 50% 0; }
.tree-node.drop .node-tie { animation: tieIn .45s ease-out var(--arrive-delay, 0s) both; }
@keyframes tieIn { from { opacity: 0; } to { opacity: 1; } }

/* the coins on a gentle arc: the outer two higher and turned a little outward, the middle one lowest, answering the arch above */
.actions.coins { align-items: flex-start; }
.actions.coins .action-button:nth-child(1) { translate: 0 calc(var(--coin, 84px) * -.2); rotate: -8deg; }
.actions.coins .action-button:nth-child(2) { translate: 0 calc(var(--coin, 84px) * .06); }
.actions.coins .action-button:nth-child(3) { translate: 0 calc(var(--coin, 84px) * -.2); rotate: 8deg; }
#app.short .actions.coins .action-button:nth-child(1), #app.short .actions.coins .action-button:nth-child(3) { translate: 0 calc(var(--coin, 72px) * -.18); }

/* the coins float a little, each in its own time */
.actions.coins .coin-face, .actions.coins .coin-sheen { animation: coinFloat 3.6s ease-in-out infinite alternate; }
.actions.coins .coin-sheen { animation: coinFloat 3.6s ease-in-out infinite alternate, coinGlint 7s ease-in-out infinite; }
.actions.coins .action-button:nth-child(2) .coin-face { animation-delay: -1.2s; } .actions.coins .action-button:nth-child(2) .coin-sheen { animation-delay: -1.2s, .35s; }
.actions.coins .action-button:nth-child(3) .coin-face { animation-delay: -2.4s; } .actions.coins .action-button:nth-child(3) .coin-sheen { animation-delay: -2.4s, .7s; }
@keyframes coinFloat { from { transform: translateY(-2.5px); } to { transform: translateY(2.5px); } }
@media (prefers-reduced-motion: reduce) { .actions.coins .coin-face, .actions.coins .coin-sheen { animation: none; } }

/* ===== Check in / Hang it, after the user's reference: old torn paper on the painted scene ===== */
.sheet.scroll { background: #182c29 center / cover; background-image: var(--sc-bg); }
.sheet.scroll .scroll-wrap { position: relative; flex: 1 0 auto; padding: calc(var(--top) + 52px) 14px calc(var(--bot) + 46px); box-sizing: border-box; min-height: 100%;
  transform: translateY(40px); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.sheet.scroll.on .scroll-wrap { transform: none; opacity: 1; }
.sheet.scroll.instant .scroll-wrap { transition: none; transform: none; opacity: 1; }
.sheet.scroll.under .scroll-wrap { opacity: 0; transform: translateY(-14px) scale(.98); }
.sheet.scroll .paper-page { z-index: 1; min-height: 0; transform: none; opacity: 1; transition: none; overflow: visible;
  padding: 30px 30px 64px 28px; background: #f1e6cd; color: #2b2620;
  background-image: linear-gradient(180deg, transparent 47.6%, rgba(110,80,40,.10) 48%, rgba(255,252,240,.55) 48.4%, transparent 49.4%),
    radial-gradient(130% 90% at 50% 45%, transparent 55%, rgba(150,110,55,.22) 100%),
    radial-gradient(40% 25% at 22% 70%, rgba(160,120,60,.08), transparent 70%), radial-gradient(30% 22% at 80% 20%, rgba(160,120,60,.07), transparent 70%);
  box-shadow: inset 0 0 26px rgba(130,90,40,.28); filter: drop-shadow(0 18px 28px rgba(0,0,0,.45)); }
.sheet.scroll .paper-page::before { opacity: .65; }
.sheet.scroll .pp-deco, .sheet.scroll .pp-close, .sheet.scroll .pp-card .wave, .sheet.scroll .pp-card .divider { display: none !important; }
.sc-mag { position: absolute; left: -26px; top: calc(var(--top) + 2px); width: 150px; z-index: 0; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.sc-flower { position: absolute; right: 64px; top: calc(var(--top) + 6px); width: 64px; z-index: 0; pointer-events: none; transform: rotate(8deg); filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.sc-cord { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; overflow: visible; fill: none !important; stroke: none !important; }
.sc-cord .cord { stroke: #b0281b; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.sc-cord .cord-sh { stroke: rgba(40,20,10,.35); stroke-width: 2.4; fill: none; filter: blur(.8px); }
.sc-cord .cord-hi { stroke: #ec7a62; stroke-width: .6; fill: none; opacity: .8; stroke-dasharray: 3 2.4; }
.sc-jade { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); }
.sc-coin { position: absolute; z-index: 4; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; filter: drop-shadow(0 4px 5px rgba(40,25,10,.45)); }
.sc-coin img { display: block; width: 100%; height: 100%; }
.sc-coin.tap { animation: coinTap .32s ease-out; }
@keyframes coinTap { 40% { transform: scale(.88) rotate(-14deg); } 100% { transform: none; } }
.sheet.scroll .pp-head { margin: 0 64px 22px 0; gap: 16px; }
.sheet.scroll .pp-brand { font: 700 14px "Cinzel", "EB Garamond", serif; letter-spacing: 5px; color: #221d18; }
.sheet.scroll .pp-line { background: #4a4236; height: 1px; }
.sheet.scroll .pp-eyebrow { text-align: left; margin: 0 0 24px; font: 600 10.5px "Cinzel", "EB Garamond", serif; letter-spacing: 2.6px; text-transform: uppercase; color: #ad2b1d; padding-right: 54px; }
.sheet.scroll .pp-eyebrow::before { content: attr(data-n); margin-right: 18px; font-family: "Cinzel", serif; letter-spacing: 1px; }
.sheet.scroll .pp-title { text-align: left; font: 500 31px/1.12 "EB Garamond", Georgia, serif; letter-spacing: 0; color: #24201b; margin: 0 0 10px; }
.sheet.scroll .pp-sub { text-align: left; font-size: 16px; letter-spacing: 1.4px; color: #6f6556; margin: 0 0 18px; }
.sheet.scroll .pp-sub::after { content: ""; display: block; width: 44px; height: 1px; background: #8f8370; margin-top: 18px; }
.sheet.scroll #postPrev { border: 0; background: none; padding: 4px 0 20px; margin: 0 0 6px; border-radius: 0; gap: 18px; align-items: flex-start; }
.sheet.scroll #postPrev .slip { height: 178px; border-radius: 9px; box-shadow: 0 6px 12px rgba(70,50,25,.3); filter: none; }
.sheet.scroll #postPrev .txt { padding-top: 26px; }
.sheet.scroll #postPrev .txt strong { font: 500 21px/1.2 "EB Garamond", serif; color: #24201b; }
.sheet.scroll #postPrev .txt .rank { font-size: 15px; letter-spacing: 1.6px; color: #a5782f; margin-top: 4px; }
.sheet.scroll #postPrev .txt p { font: italic 400 17px/1.45 "EB Garamond", serif; letter-spacing: .7px; color: #2f2a23; margin-top: 12px; }
.sheet.scroll #postPrev .txt::after { content: ""; display: block; width: 44px; height: 1px; background: #8f8370; margin-top: 18px; }
.sheet.scroll .privacy-row { padding: 12px 2px; border-bottom: 1px solid #bfb193; gap: 12px; }
.sheet.scroll .privacy-row:first-child { border-top: 1px solid #bfb193; }
.sheet.scroll .privacy-row span { font: 500 18px "EB Garamond", serif; letter-spacing: .8px; color: #24201b; }
.sheet.scroll .privacy-row small { font: italic 400 14.5px "EB Garamond", serif; letter-spacing: .5px; color: #5d4e3a; margin-top: 2px; }
.sheet.scroll .privacy-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.stamp { display: none; }
.sheet.scroll .stamp { display: grid; place-items: center; flex: none; min-width: 92px; height: 30px; box-sizing: border-box; font: 500 15.5px "EB Garamond", Georgia, serif; letter-spacing: 1.2px;
  border: 1.6px solid currentColor; outline: 1px solid currentColor; outline-offset: 2px; border-radius: 2px; transition: color .2s, opacity .2s; user-select: none; }
/* shared: a faint ghost of the stamp, waiting; private: stamped in red, a little uneven */
.sheet.scroll .privacy-row input:checked + .stamp { color: rgba(110,92,62,.32); border-style: dashed; outline-color: transparent; }
.sheet.scroll .privacy-row input:not(:checked) + .stamp { color: #b42c1e; transform: rotate(-1.5deg); animation: stampIn .34s cubic-bezier(.3,1.5,.5,1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.6 1.55'/%3E%3C/filter%3E%3Crect width='120' height='40' filter='url(%23n)'/%3E%3C/svg%3E") center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.6 1.55'/%3E%3C/filter%3E%3Crect width='120' height='40' filter='url(%23n)'/%3E%3C/svg%3E") center / 100% 100%; }
.sheet.scroll .privacy-row.empty .stamp { opacity: .75; }
@keyframes stampIn { 0% { transform: scale(1.5) rotate(4deg); opacity: 0; } 60% { transform: scale(.94) rotate(-2deg); opacity: 1; } 100% { transform: rotate(-1.5deg); } }
.sheet.scroll .pp-summary { font-size: 16px; line-height: 1.45; letter-spacing: .6px; color: #2b2620; margin: 16px 2px 18px; }
/* the other actions: italic, underlined; the main one a red brushed band */
.sheet.scroll .pp-btn.outline, .sheet.scroll .pp-link { display: inline-block; width: auto; height: auto; margin: 0 0 22px; padding: 2px 0 3px; background: none; clip-path: none; text-align: left;
  font: italic 400 17px "EB Garamond", serif; letter-spacing: 1px; color: #2b2620 !important; border-bottom: 1px solid #6f6556; border-radius: 0; }
.sheet.scroll .pp-btn.outline::before { display: none; }
.sheet.scroll #postPreview::after { content: " ▸"; color: #b42c1e; font-style: normal; }
.sheet.scroll .pp-btn.green { display: grid; width: min(100%, 300px); height: 50px; margin: 6px 0 18px; border-radius: 0; background-color: #a52c1d !important; background-blend-mode: luminosity;
  background-size: 260% 260%; color: #f7e9d2 !important; font: 500 21px "EB Garamond", serif; letter-spacing: 2.4px; box-shadow: none;
  clip-path: polygon(1% 8%, 6% 2%, 22% 5%, 40% 1%, 63% 4%, 82% 0%, 97% 4%, 100% 22%, 98% 48%, 100% 78%, 97% 96%, 78% 100%, 55% 96%, 33% 100%, 12% 97%, 2% 100%, 0% 74%, 2% 46%, 0% 22%); }
.sheet.scroll .pp-link { display: table; margin: 0 0 6px; }
/* check-in, in the same hand */
.sheet.scroll .pp-card.camera { border: 1px dashed #b2a483; border-radius: 4px; background: rgba(255,250,236,.35); padding: 18px 16px; color: #6f6556; }
.sheet.scroll .pp-card.camera .pp-btn.green { margin: 2px auto 4px; }
.sheet.scroll .pp-card.camera .pp-btn.outline { margin: 4px auto 0; display: table; }
.sheet.scroll .ck-pick { align-items: center; }
.sheet.scroll .pp-card.photo { border: 0; padding: 8px; background: #e9dcc0; border-radius: 2px; box-shadow: 0 4px 10px rgba(70,50,25,.25); }
.sheet.scroll .pp-card.photo img { border-radius: 1px; }
.sheet.scroll .pp-ootd { text-align: left; color: #a5782f; }
.sheet.scroll .pp-note { text-align: left; font-style: italic; color: #5d4e3a; }
.sheet.scroll .form-field input, .sheet.scroll .form-field textarea { background: transparent; border-bottom-color: #8f8370; }
.sheet.scroll .pp-eyebrow { font-size: 9.5px; letter-spacing: 1.5px; padding-right: 50px; white-space: nowrap; }
.sheet.scroll .pp-eyebrow::before { margin-right: 12px; }
.sheet.scroll .privacy-row input:not(:checked) + .stamp { color: #a8261a; }

/* ===== Check in / Hang it (v18): the user's own page, 1086 × 1448, as the background, its words replaced by live ones in the same places.
   Everything below is in that picture's pixels; the whole stage is scaled to fit the phone (one screen, no scrolling). ===== */
.sheet.sc2 { display: block; padding: 0; overflow: hidden; pointer-events: auto; background: #172a27 center / cover; background-image: var(--sc-bg); }
.sc2 .sc-stage { position: absolute; left: 0; top: 0; width: 1086px; height: 1448px; transform-origin: 0 0; background: var(--sc-page) 0 0 / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 2.5%, #000 98%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 2.5%, #000 98%, transparent 100%);
  opacity: 0; translate: 0 40px; transition: opacity .32s, translate .4s cubic-bezier(.2,.8,.2,1); color: #221d19; font-family: "EB Garamond", "Noto Serif SC", Georgia, serif; }
.sc2.on .sc-stage { opacity: 1; translate: 0 0; }
.sc2.instant .sc-stage { transition: none; opacity: 1; translate: 0 0; }
.sc2.under .sc-stage { opacity: 0; }
.sc2 .sc-stage > * { position: absolute; margin: 0; }
.sc2 .sc-eyebrow { left: 240px; top: 186px; font: 700 17px/30px "Cinzel", "EB Garamond", serif; letter-spacing: 5.2px; text-transform: uppercase; color: #ab2a1d; white-space: nowrap; }
.sc2 .sc-eyebrow b { display: inline-block; width: 62px; font: 600 21px/30px "Cinzel", serif; letter-spacing: 2px; }
.sc2 .sc-title { left: 236px; top: 254px; font: 500 54px/66px "EB Garamond", Georgia, serif; letter-spacing: 0; white-space: nowrap; color: #221d19; }
.sc2 .sc-sub { left: 238px; top: 327px; font: 400 26px/34px "EB Garamond", serif; letter-spacing: 2.6px; color: #6f6350; white-space: nowrap; }
.sc2 .sc-frame { left: 243px; top: 405px; width: 169px; height: 317px; border-radius: 11px; overflow: hidden; background: #efe5cf; box-shadow: 0 7px 13px rgba(70,50,25,.32), 0 1px 2px rgba(70,50,25,.25); }
.sc2 .sc-frame.slip img { display: block; width: 100%; height: auto; filter: sepia(.2) saturate(.92) brightness(.99); }
.sc2 .ck-empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; cursor: pointer; color: #7c705a; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(140,110,60,.05) 0 10px, transparent 10px 20px); border: 2px dashed rgba(140,115,75,.45); border-radius: 11px; box-sizing: border-box; }
.sc2 .ck-empty svg { width: 58px; height: 58px; stroke-width: 1.2 !important; } .sc2 .ck-empty span { font: italic 400 23px/28px "EB Garamond", serif; letter-spacing: 1px; }
.sc2 .ck-full, .sc2 .ck-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sc2 .sc-info { left: 445px; top: 444px; width: 445px; }
.sc2 .sc-info strong { display: block; font: 500 42px/52px "EB Garamond", serif; white-space: nowrap; color: #221d19; }
.sc2 .sc-info .rank { display: block; margin-top: 4px; font: 400 25px/32px "EB Garamond", serif; letter-spacing: 3.2px; color: #a4793a; }
.sc2 .sc-info .read { margin: 22px 0 0; font: italic 400 31px/42px "EB Garamond", serif; letter-spacing: 2.3px; color: #2a241e; }
.sc2 .sc-rows { left: 238px; top: 759px; width: 642px; }
.sc2 .sc-row, .sc2 .privacy-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; margin: 0 0 23px; padding: 0; border: 0 !important; cursor: pointer; }
.sc2 .sc-row > span, .sc2 .privacy-row > span { flex: 1; min-width: 0; font: 500 32px/36px "EB Garamond", serif !important; letter-spacing: 1.4px !important; color: #221d19 !important; }
.sc2 .sc-row small, .sc2 .privacy-row small { display: block; margin: 0 !important; font: italic 400 25px/28px "EB Garamond", serif !important; letter-spacing: 1.4px !important; color: #5a4a35 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc2 .sc-row input { display: block; width: 100%; height: 30px; padding: 0; margin: 0; border: 0; outline: 0; background: transparent; font: italic 400 25px/30px "EB Garamond", serif; letter-spacing: 1.2px; color: #2a241e; }
.sc2 .sc-row input::placeholder { color: #8f7f64; }
.sc2 .sc-row input:focus { box-shadow: 0 2px 0 rgba(171,42,29,.55); }
.sc2 .privacy-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
/* PRIVATE: on, a red stamp with a light red wash; off, a plain grey outline */
.sc2 .stamp, .sc2 .stamp-btn { position: relative; display: grid !important; place-items: center; flex: none; width: 153px; height: 44px; box-sizing: border-box; border-radius: 3px;
  font: 500 27px/1 "EB Garamond", Georgia, serif; letter-spacing: 1.6px; border: 2.4px solid currentColor; outline: 1.6px solid currentColor; outline-offset: 3px; transition: color .18s, background .18s; user-select: none; }
.sc2 .privacy-row input:not(:checked) + .stamp, .sc2 .stamp-btn { color: #b0281b; background: rgba(176,40,27,.1); rotate: -1.5deg; }
.sc2 .privacy-row input:not(:checked) + .stamp { animation: stampIn .3s cubic-bezier(.3,1.5,.5,1); }
.sc2 .privacy-row input:checked + .stamp { color: #9a917f; background: transparent; outline-color: rgba(154,145,127,.55); rotate: 0deg; animation: none; }
.sc2 .privacy-row.empty { cursor: default; }
.sc2 .stamp-btn { overflow: hidden; cursor: pointer; }
.sc2 .sc-summary { left: 235px; top: 1028px; width: 640px; font: 400 27px/29px "EB Garamond", serif; letter-spacing: 1.1px; color: #1f1b17; }
.sc2 .sc-summary.warn, .sc2 .sc-err { font-style: italic; color: #a8261a; }
.sc2 .sc-err { left: 235px; top: 1028px; width: 640px; font-size: 26px; line-height: 29px; }
.sc2 .sc-err:not([hidden]) ~ .sc-summary, .sc2 #replaceTip:not([hidden]) + #privacySummary { visibility: hidden; }
.sc2 .sc-link, .sc2 .sc-back { display: block; padding: 0 0 5px; border: 0; border-bottom: 1.6px solid #5a5045; border-radius: 0; background: none; cursor: pointer; text-align: left;
  font: italic 400 28px/34px "EB Garamond", serif !important; letter-spacing: 1.7px; color: #221d19 !important; white-space: nowrap; }
.sc2 .sc-link { left: 235px; top: 1112px; }
.sc2 .sc-link::after { content: ""; position: absolute; right: -32px; top: 10px; border-left: 14px solid #ad2a1d; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.sc2 .sc-back { left: 235px; top: 1281px; font-size: 27px !important; }
.sc2 .sc-band { left: 232px; top: 1188px; width: 471px; height: 76px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 400 41px/70px "EB Garamond", serif !important; letter-spacing: 4.4px; color: #f4e1c6 !important; text-shadow: 0 1px 1px rgba(80,10,5,.35); }
.sc2 .sc-band:active { filter: brightness(.92); }
.sc2 .sc-coin { left: 797px; top: 154px; width: 117px; height: 117px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.sc2 .sc-coin img { display: block; width: 100%; height: 100%; transition: transform .16s; }
.sc2 .sc-coin:active img { transform: scale(.9) rotate(-12deg); }
.sc2 .filebtn { overflow: hidden; }
.sc2 .filebtn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
/* PRIVATE on: a solid red seal with cream letters, like the 宜 box on the slip; off: a plain grey outline */
.sc2 .privacy-row input:not(:checked) + .stamp, .sc2 .stamp-btn {
  color: #f6e8cd; border: 0; outline: 0; rotate: 0deg; letter-spacing: 2px; text-shadow: 0 1px 0 rgba(90,10,5,.25);
  background: #a8291c url("data:image/svg+xml,%3Csvg viewBox='0 0 160 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .08 0 0 0 0 .04 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='50' filter='url(%23n)'/%3E%3C/svg%3E") center / 100% 100%;
  box-shadow: inset 0 0 0 1.5px rgba(120,20,10,.45), inset 0 0 10px rgba(90,10,5,.25); }
.sc2 .privacy-row input:checked + .stamp { color: #9a917f; border: 2px solid rgba(154,145,127,.75); outline: 0; background: transparent; box-shadow: none; text-shadow: none; }
@keyframes stampIn { 0% { transform: scale(1.35); opacity: .2; } 60% { transform: scale(.95); opacity: 1; } 100% { transform: none; } }
.coin-fly.throw { filter: none; }
/* the page's own edges carried on, dark, above and below it (baked, so nothing is blurred live); the page on its own layer */
.sheet.sc2 { background: #142320; }
.sc2 .sc-stage { -webkit-mask-image: none; mask-image: none; will-change: transform, opacity; }
.sc2 .sc-stage::before, .sc2 .sc-stage::after { content: ""; position: absolute; left: 0; width: 1086px; height: 720px; pointer-events: none; background-size: 100% 100%; }
.sc2 .sc-stage::before { bottom: 100%; background-image: var(--sc-ext-top); }
.sc2 .sc-stage::after { top: 100%; background-image: var(--sc-ext-bot); }
/* coins: the shadow stays on the ground while the coin bobs (no live filter), and a plain sheen */
.actions.coins .action-button { filter: none !important; }
.actions.coins .action-button::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: -9%; height: 16%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.actions.coins .coin-face { will-change: transform; }
.actions.coins .coin-sheen { mix-blend-mode: normal; opacity: .55; will-change: transform; }

/* ===== the user's foreground clouds (v19): three layers drifting on 17 / 23 / 27 s, after their own preview ===== */
.fg-clouds { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.fgc { position: absolute; max-width: none; height: auto; pointer-events: none; user-select: none; will-change: transform; transform-origin: center; }
.fgc.left { width: 124%; left: -102%; top: 47%; opacity: .8; animation: fgcLeft 17s ease-in-out infinite alternate; }
.fgc.right { width: 124%; right: -100%; top: 53%; opacity: .76; animation: fgcRight 23s ease-in-out infinite alternate-reverse; }
.fgc.bottom { width: 170%; left: -39%; bottom: -8%; opacity: .68; animation: fgcBottom 27s ease-in-out infinite alternate; }
@keyframes fgcLeft { 0% { transform: translate(-5%, 1%) rotate(-4deg); } 100% { transform: translate(3%, -7%) rotate(-1deg); } }   /* stays left of the slip and its words */
@keyframes fgcRight { 0% { transform: scaleX(-1) translate(-4%, 3%) rotate(-4deg); } 100% { transform: scaleX(-1) translate(2%, -9%) rotate(-1deg); } }
@keyframes fgcBottom { 0% { transform: translate(-7%, 4%); } 100% { transform: translate(8%, -4%); } }
@media (prefers-reduced-motion: reduce) { .fgc { animation: none; } }
#app.no-clouds .fg-clouds { display: none; }
#app.hold .fgc { animation-play-state: paused; }
/* ===== depth of field (v57), in the user's order: the bottom cloud nearest, the deer and the crane in the middle (in focus),
   the clouds under them farthest. The two cloud pictures are blurred beforehand (tools/dof_clouds.py), so phones run no live blur;
   each is padded by 24 px of its 1400, so the boxes below grow by that much and step back by it, keeping the cloud where it was.
   The camera moves each layer by its depth (guard.js): the far clouds a little the other way, the near one more than the animals. ===== */
.fg-clouds.back { z-index: 2; }
.fgc.left { width: 128.25%; margin: -2.126% 0 0 -2.126%; opacity: .74; }
.fgc.right { width: 128.25%; margin: -2.126% -2.126% 0 0; opacity: .7; }
.fgc.bottom { width: 196.5%; left: -49%; bottom: -9%; margin: 0 0 -3.257% -3.257%; opacity: .78; }

/* v19: the page is drawn to fill the screen (no blurred strips) */
.sc2 .sc-stage { background: none; }
.sc2 .sc-stage::before, .sc2 .sc-stage::after { display: none; }
.sc2 .sc-stage > canvas.sc-bg { position: absolute; left: 0; top: 0; width: 1086px; height: 100%; display: block; }
.sc2 #ckChange, .sc2 #ckLib { position: absolute; margin: 0; width: auto; }
.sc2 .sc-info .read::after { content: ""; display: block; width: 84px; height: 1.6px; background: #6f6556; opacity: .8; margin-top: 46px; }
/* picture on top, words centred under it (and a little larger) */
.sc2 .sc-info.stack { text-align: center; }
.sc2 .sc-info.stack strong { font-size: 48px; line-height: 60px; }
.sc2 .sc-info.stack .rank { margin-top: 6px; font-size: 28px; line-height: 36px; }
.sc2 .sc-info.stack .read { margin-top: 18px; font-size: 35px; line-height: 48px; }
.sc2 .sc-info.stack .read::after { margin: 32px auto 0; }
.sc2 .sc-frame.slip { background: transparent; box-shadow: none; overflow: visible; border-radius: 0; }
.sc2 .sc-frame.slip img { filter: drop-shadow(0 7px 10px rgba(70,50,25,.32)) sepia(.12); }

/* ===== a tag, opened (v19): the user's page 852 × 1846, words in its own places ===== */
#detail.ov.paperhost .zin { padding: 0; display: block; min-height: 100%; }
.pc-page { position: absolute; inset: 0; background: #1d3524; overflow: hidden; }
.pc-stage { position: absolute; left: 0; top: 0; width: 852px; height: 1846px; transform-origin: 0 0; background-size: 100% 100%; color: #1d2a20; font-family: "EB Garamond", "Noto Serif SC", Georgia, serif; }
.pc-stage > * { position: absolute; margin: 0; }
.pc-back-arrow { left: 128px; top: 200px; width: 56px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.pc-eyebrow { left: 122px; top: 266px; font: italic 400 36px/44px "EB Garamond", serif; letter-spacing: .5px; color: #4a3e2a; white-space: nowrap; }
.pc-name { left: 120px; top: 334px; font: 700 92px/96px "EB Garamond", Georgia, serif; letter-spacing: -.5px; color: #17271c; white-space: nowrap; }
.pc-sub { left: 122px; top: 430px; font: 400 32px/40px "EB Garamond", serif; letter-spacing: .8px; color: #3e3424; white-space: nowrap; }
.pc-slip { left: 133px; top: 535px; width: 135px; height: auto; max-height: 398px; object-fit: contain; filter: drop-shadow(2px 6px 8px rgba(60,45,25,.3)); }
.pc-info { left: 342px; top: 556px; width: 400px; }
.pc-info .no { display: block; font: 700 31px/40px "Cinzel", "EB Garamond", serif; letter-spacing: 4.4px; color: #4b3a15; }
.pc-info strong { display: block; margin-top: 16px; font: 700 58px/66px "EB Garamond", serif; white-space: nowrap; color: #17271c; }
.pc-info .rank { display: block; margin-top: 10px; font: 400 32px/40px "EB Garamond", serif; letter-spacing: 2.2px; color: #4b3e24; }
.pc-info .read { margin-top: 34px; font: 400 37px/48px "EB Garamond", serif; letter-spacing: .3px; color: #1d2a20; }
.pc-view { left: 116px; top: 940px; padding: 0; border: 0; background: none; cursor: pointer; font: italic 400 28px/36px "EB Garamond", serif !important; letter-spacing: .5px; color: #3e3424 !important; }
.pc-quote { left: 110px; top: 1058px; width: 636px; min-height: 190px; padding-left: 28px; border-left: 2.4px solid #5d5a35; box-sizing: border-box; display: flex; gap: 22px; align-items: center; }
.pc-quote p { margin: 0; font: italic 500 50px/62px "EB Garamond", serif; color: #17271c; max-height: 200px; overflow: hidden; -webkit-user-select: text; user-select: text; }
.pc-quote .pc-photo { flex: none; width: 150px; height: 190px; object-fit: cover; border: 6px solid #f3ead6; box-shadow: 0 4px 10px rgba(40,30,15,.3); filter: sepia(.12); }
.pc-quote.has-photo p { font-size: 38px; line-height: 48px; }
.pc-li { left: 139px; top: 1300px; width: 573px; height: 122px; display: grid; place-items: center; background-size: 100% 100%; text-decoration: none;
  font: 400 44px/1 "EB Garamond", serif; letter-spacing: 1px; color: #f1e6cf !important; }
.pc-back { left: 0; width: 852px; top: 1462px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; font: 400 37px/46px "EB Garamond", serif !important; letter-spacing: 1px; color: #2d2a1c !important; }
.pc-back::after { content: ""; display: block; width: 276px; height: 2px; margin: 4px auto 0; background: #4b4430; }

/* ===== a tag, turned over by the wind (v23): its back is the user's design (images/59.webp) ===== */
#detail.ov.paperhost .zin { padding: 0; display: block; min-height: 100%; }
.pb-wrap { position: relative; width: 100%; min-height: 100%; perspective: 1400px; overflow: hidden; }
.pb-dim { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(10, 22, 16, .42), rgba(6, 14, 10, .72)); }
.pb-hang { position: absolute; transform-origin: 50% 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; will-change: transform; }
.pb-cord { position: absolute; left: 50%; bottom: 100%; width: 3.2px; margin-left: -1.6px; border-radius: 2px;
  background: repeating-linear-gradient(162deg, #9f241b 0 3px, #d8574a 3px 4.6px, #b5352a 4.6px 6.4px, #7f1a13 6.4px 8px); box-shadow: 1px 0 1px rgba(0, 0, 0, .25); }
.pb-knot { position: absolute; left: 50%; top: -5px; width: 9px; height: 8px; margin-left: -4.5px; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #e6735f, #a52a1f 60%, #6f150f); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); z-index: 2; }
.pb-flip { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; will-change: transform; transform: rotateY(540deg); }
.pb-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pb-front img { position: absolute; left: 0; top: 0; width: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.pb-backface { transform: rotateY(180deg); }
.pb-stage { position: absolute; left: 0; top: 0; width: 953px; height: 2000px; transform-origin: 0 0; background-size: 100% 100%; color: #1f1d1b; font-family: "EB Garamond", "Noto Serif SC", Georgia, serif; }
.pb-stage > * { position: absolute; margin: 0; }
.pb-name { left: 86px; top: 316px; font-weight: 700; font-size: 136px; line-height: 1.05; letter-spacing: 0; white-space: nowrap; color: #1c1a18; }
.pb-sub { left: 94px; top: 463px; font-size: 35px; line-height: 46px; letter-spacing: 2.2px; color: #2b2925; white-space: nowrap; }
.pb-slip { left: 92px; top: 598px; width: 158px; height: 406px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(50, 40, 25, .3)) sepia(.08); }
.pb-info { left: 312px; top: 624px; width: 368px; }
.pb-info .no { display: block; font-weight: 700; font-size: 29px; line-height: 40px; letter-spacing: 4.6px; color: #25221f; }
.pb-info strong { display: block; margin-top: 6px; font-weight: 700; font-size: 66px; line-height: 72px; white-space: nowrap; color: #1c1a18; }
.pb-info .rank { display: block; margin-top: 6px; font-size: 36px; line-height: 44px; letter-spacing: 2.4px; color: #3b3834; }
.pb-info .read { margin-top: 30px; font-size: 35px; line-height: 48px; color: #26231f; }
.pb-view { left: 80px; top: 1012px; width: 200px; height: 56px; background: none; border: 0; padding: 0; cursor: pointer; }
.pb-quote { left: 152px; top: 1178px; width: 502px; font-style: italic; font-size: 60px; line-height: 1.23; letter-spacing: .3px; color: #1f1d1b; }
.pb-quote.with-photo { width: 330px; }
.pb-quote.none { color: #6d665b; }
.pb-photo { left: 500px; top: 1186px; width: 150px; height: 198px; object-fit: cover; border: 7px solid #f4f0e6; box-shadow: 0 5px 10px rgba(40, 30, 20, .28); transform: rotate(2.2deg); }
.pb-li { left: 84px; top: 1498px; width: 578px; height: 130px; background-size: 100% 100%; display: block; }
.pb-back { left: 0; top: 1668px; width: 744px; background: none; border: 0; padding: 0; text-align: center; font-family: inherit; font-size: 40px; line-height: 56px; color: #1f1d1b; cursor: pointer; }
.pb-back span { border-bottom: 2.5px solid #2a2622; padding-bottom: 1px; }
.pb-no { left: 282px; top: 1851px; width: 162px; text-align: center; font-weight: 700; font-size: 30px; line-height: 40px; letter-spacing: 4px; color: #c2432f; }
/* the tree's view bar and the passing notes: see-through, over a soft blur */
.tree-tools { background: rgba(11, 37, 37, .42) !important; -webkit-backdrop-filter: blur(7px) saturate(1.1); backdrop-filter: blur(7px) saturate(1.1); border-color: rgba(214, 206, 160, .32) !important; }
.toast { background: rgba(52, 64, 48, .5) !important; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
/* (v30) the bottom cloud drifts behind the coins: the coins sit above the clouds */
#main .actions { z-index: 6; }
/* while a slip is drawn the coins rest dimmed but solid (no see-through), so the cloud stays behind them the whole time */
.actions.coins.off { opacity: 1; }
.actions.coins .coin-face { transition: filter .4s; }
.actions.coins.off .coin-face { filter: brightness(.55) saturate(.7); }
.actions.coins.off .coin-sheen { visibility: hidden; }
/* the coins after the user's design (images/62.webp): larger words, a little larger coins with a little more room, all three level */
.actions.coins { --coin: min(23.5vw, 96px); gap: 10%; max-width: 400px; }
#app.short .actions.coins { --coin: min(21vw, 84px); }
.actions.coins .action-button:nth-child(1), .actions.coins .action-button:nth-child(3) { rotate: 0deg; }

/* ===== Hang it (v30), in the page's own pixels: the title where THE FORGE was, the coin top left (back), the tree top right ===== */
#sheetPost .sc-title { left: 280px; top: 98px; width: 520px; white-space: normal; font: 500 62px/70px "EB Garamond", Georgia, serif; color: #1f1a16; }
#sheetPost .sc-sub { left: 282px; top: 246px; width: 590px; white-space: normal; font: 400 30px/38px "EB Garamond", serif; letter-spacing: 1.2px; color: #5e5242; }
#sheetPost .sc-coin { left: 152px; top: 78px; width: 112px; height: 112px; }
#sheetPost .sc-tree { position: absolute; left: 834px; top: 106px; width: 82px; height: 66px; display: flex; align-items: center; justify-content: center; gap: 2px;
  padding: 0; border: 0; background: none; color: #2a231d; cursor: pointer; }
#sheetPost .sc-tree svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#sheetPost .sc-tree span { font: 400 34px/1 "EB Garamond", serif; margin-top: -14px; }
#sheetPost .sc-tree:active { transform: scale(.94); }
#sheetPost .sc-rows { left: 238px; width: 642px; }
#sheetPost .privacy-row { height: 86px; margin: 0 !important; cursor: default; border-bottom: 1.7px solid rgba(52, 45, 38, .55) !important; }
#sheetPost .privacy-row:first-child { border-top: 1.7px solid rgba(52, 45, 38, .55) !important; }
#sheetPost .privacy-row > span { font: 500 34px/40px "EB Garamond", serif !important; letter-spacing: 1px !important; }
#sheetPost .privacy-row small { font: italic 400 26px/32px "EB Garamond", serif !important; color: #5a4a35 !important; letter-spacing: .6px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sheetPost .privacy-row small em { font-style: italic; }
.sc2 .li-add, .sc2 .li-edit { font: italic 500 27px/32px "EB Garamond", serif; color: #a8291c; background: none; border: 0; border-bottom: 1.6px solid rgba(168, 41, 28, .7); padding: 0; margin: 0; cursor: pointer; }
/* the seals: PRIVATE solid cinnabar, PUBLIC an open cinnabar seal, N/A the same seal in faint ink and not to be pressed */
#sheetPost .seal { position: relative; flex: none; width: 168px; height: 50px; padding: 0; display: grid; place-items: center; border-radius: 4px; box-sizing: border-box;
  font: 700 23px/1 "Cinzel", "EB Garamond", serif; letter-spacing: 3.2px; cursor: pointer; transition: transform .15s; }
#sheetPost .seal.private { color: #f6ead6; background: #a8291c; border: 2px solid #a8291c; box-shadow: inset 0 0 0 3px rgba(246, 234, 214, .38); rotate: -1.5deg; }
#sheetPost .seal.public { color: #a8291c; background: rgba(168, 41, 28, .06); border: 2.6px solid #a8291c; box-shadow: inset 0 0 0 3px rgba(168, 41, 28, .16); rotate: 1.2deg; }
#sheetPost .seal.na { color: rgba(86, 74, 60, .42); background: transparent; border: 2px solid rgba(86, 74, 60, .26); box-shadow: inset 0 0 0 3px rgba(86, 74, 60, .07); cursor: default; letter-spacing: 4px; }
#sheetPost .seal:not(.na):active { transform: scale(.94); }
#sheetPost .sc-summary.warn { left: 238px; width: 640px; font-size: 26px; line-height: 30px; }
#sheetPost .sc-link { left: 238px; }
#sheetPost .sc-band { left: 230px; width: 484px; height: 82px; background: center / 100% 100% no-repeat; }

/* adding LinkedIn: a paper card from the bottom, in ordinary screen pixels */
.li-panel { position: absolute; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; padding: 0 10px calc(var(--bot, 0px) + 10px); box-sizing: border-box;
  background: rgba(14, 22, 18, .46); }
.li-panel[hidden] { display: none; }
.li-card { width: 100%; max-width: 420px; box-sizing: border-box; padding: 20px 20px 16px; border-radius: 6px; background: #f5efe2; color: #221d18;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, .35); font-family: "EB Garamond", Georgia, serif; animation: liUp .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes liUp { from { transform: translateY(30px); opacity: 0; } }
.li-card h3 { margin: 0 0 4px; font: 500 22px/1.2 "EB Garamond", serif; }
.li-why { margin: 0 0 12px; font: italic 400 15px/1.35 "EB Garamond", serif; color: #5e5242; }
.li-steps { margin: 0 0 12px; padding: 0 0 0 20px; display: grid; gap: 10px; }
.li-steps li { font-size: 14px; line-height: 1.35; color: #4b4135; }
.li-steps li span { display: block; margin-top: 3px; }
.li-open, .li-paste { display: inline-block; font: 600 15px/1 "EB Garamond", serif; letter-spacing: .5px; color: #a8291c; background: none; border: 1.6px solid #a8291c; border-radius: 3px;
  padding: 8px 12px; text-decoration: none; cursor: pointer; }
.li-field { display: block; font-size: 13px; color: #5e5242; letter-spacing: .4px; }
.li-field input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px 11px; font: 16px/1.2 "EB Garamond", Georgia, serif; color: #221d18;
  background: #fffaf0; border: 1.4px solid #b9ab92; border-radius: 3px; }
.li-field input:focus { outline: 2px solid rgba(168, 41, 28, .45); outline-offset: 1px; }
.li-msg { min-height: 18px; margin: 6px 0 10px; font-size: 13px; line-height: 1.35; color: #4b6b3a; }
.li-msg.bad { color: #a8261a; }
.li-actions { display: flex; gap: 12px; align-items: center; }
.li-save { flex: 1; padding: 11px 0; font: 600 16px/1 "EB Garamond", serif; letter-spacing: 1px; color: #f6ead6; background: #a8291c; border: 0; border-radius: 3px; cursor: pointer; }
.li-skip, .li-remove { background: none; border: 0; padding: 6px 2px; font: italic 400 15px/1 "EB Garamond", serif; color: #5e5242; border-bottom: 1px solid #8f8271; cursor: pointer; }
.li-remove { margin-top: 12px; color: #a8261a; border-color: rgba(168, 38, 26, .6); }
/* (v31) the slip larger on the draw screen: a little less room under the title and round the footer, the two lines just under the slip */
.head-space { height: 64px; }
#app.short .head-space { height: 50px; }
.browse-row { height: 26px; }
.card-meta { margin-top: 12px; }
#app.short .card-meta { margin-top: 8px; }
#app.short .site-footer { height: 32px; }
#app.short .fortune-scene { padding-bottom: 6px; }
#sheetCheck .li-row small em { font-style: italic; }
/* (v32) no photo yet: the user's paper envelope, its notch clear, its own soft shadow running past the frame */
.sc2 .sc-frame.env { background: transparent; box-shadow: none; overflow: visible; border-radius: 0; }
.sc2 .sc-frame.env .ck-empty { background: none; border: 0; border-radius: 0; display: block; }
.sc2 .ck-empty img.env { position: absolute; left: -3.21%; top: -3.497%; width: 106.26%; height: 109.091%; display: block; pointer-events: none; user-select: none; }
.sc2 .sc-frame.env .ck-empty span { position: absolute; left: 0; right: 0; top: 63%; text-align: center; font: italic 400 31px/36px "EB Garamond", serif; letter-spacing: 1.2px; color: rgba(110, 98, 80, .78); }
.sc2 .sc-frame.env .ck-empty:active img.env { transform: translateY(2px); }
.sc2 .sc-info.stack.compact .read { margin-top: 10px; }
.sc2 .sc-info.stack.compact .read::after { display: none; }

/* ===== Check in, the type in clear steps (v33): the title, then the fortune, then the three rows; notes and hints small and quiet ===== */
#sheetCheck .sc-title { font-size: 58px; line-height: 68px; }
#sheetCheck .sc-sub { font-size: 25px; letter-spacing: 2px; color: #7a6c58; }
#sheetCheck .sc-frame.env .ck-empty span { font-size: 26px; line-height: 32px; color: rgba(110, 98, 80, .7); }
#sheetCheck .sc-info .rank { margin-top: 4px; font-size: 24px; line-height: 30px; letter-spacing: 3.4px; }
#sheetCheck .sc-info .read { margin-top: 16px; font-size: 25px; line-height: 34px; letter-spacing: .8px; color: #7a6c58; }
#sheetCheck .sc-info.stack .read { margin-top: 14px; font-size: 25px; line-height: 34px; }
#sheetCheck .sc-info .read::after { width: 64px; height: 1.4px; margin-top: 26px; opacity: .55; }
#sheetCheck .sc-info.stack .read::after { margin: 24px auto 0; }
#sheetCheck .sc-row > span { font-size: 33px !important; line-height: 38px !important; letter-spacing: 1px !important; }
#sheetCheck .sc-row small, #sheetCheck .sc-row input { font-size: 23px !important; line-height: 28px !important; letter-spacing: .8px !important; color: #857760 !important; }
#sheetCheck .sc-row input { color: #2a241e !important; }
#sheetCheck .sc-row input::placeholder { color: #9a8c74; }
#sheetCheck .sc-row .li-add, #sheetCheck .sc-row .li-edit { font-size: 23px !important; color: #a8291c !important; }
#sheetCheck .stamp-btn { font-size: 23px; letter-spacing: 3px; }
/* the paragraph under the rows said again what the note under the fortune says: gone; its place is air */
#sheetCheck .sc-summary { display: none; }
#sheetCheck .sc-link { font-size: 25px !important; }
#sheetCheck .sc-back { font-size: 23px !important; color: #6f6350 !important; border-bottom-color: rgba(111, 99, 80, .6) !important; }
/* (v34) the opened tag keeps its hole: a brass-rimmed eyelet on each face, the red cord running down into it in front of the paper */
.pb-knot { display: none; }
.pb-cord { transform: translateZ(3px); }
.pb-eye { position: absolute; left: 50%; z-index: 2; border-radius: 50%; box-sizing: border-box; pointer-events: none;
  background: radial-gradient(circle at 50% 58%, #0f1a14 0 52%, #24382b 70%); border: 2.4px solid #a68b53;
  box-shadow: 0 0 0 1px #e2cfa3, inset 0 1px 2px rgba(0, 0, 0, .6), 0 1px 2px rgba(46, 56, 43, .45); }
/* ===== (v35) the user's buttons on Check in and Hang it (images/70.webp), in the page's own pixels: the BACK coin over the paper's top-left
   corner, the "Visit the tree / Meet others" plaque hanging on the red cord at the top right, the beads just under it ===== */
.sc2 .sc-coin, #sheetPost .sc-coin { left: 98px; top: 58px; width: 136px; height: 141px; filter: drop-shadow(0 5px 6px rgba(40, 25, 10, .45)); }
.sc2 .sc-coin img { width: 100%; height: 100%; }
.sc2 .sc-coin:active img { transform: scale(.94) rotate(-6deg); }
.sc2 .sc-tree, #sheetPost .sc-tree { position: absolute; left: 915px; top: 127px; width: 150px; height: 310.5px; padding: 0; border: 0; background: none; cursor: pointer; display: block;
  filter: drop-shadow(-2px 6px 6px rgba(30, 20, 10, .4)); }
.sc2 .sc-tree img { display: block; width: 100%; height: 100%; transition: filter .15s; }
.sc2 .sc-tree:active img { filter: brightness(.86); }
.sc2 .sc-tree:active { transform: none; }
/* Hang it: the title centred, as drawn */
#sheetPost .sc-title { left: 280px; width: 554px; text-align: center; font-size: 64px; line-height: 72px; }
#sheetPost .sc-sub { left: 280px; width: 554px; text-align: center; }
/* the opened tag's cord: the user's drawn cord, its twist and shading repeating down it, and its knot above the hole */
.pb-cord { background-repeat: repeat-y !important; background-position: center top !important; background-size: 100% auto !important; box-shadow: none !important; border-radius: 0 !important; filter: drop-shadow(1px 1px .8px rgba(0, 0, 0, .35)); }
.pb-knot2 { position: absolute; left: 50%; z-index: 3; pointer-events: none; transform: translateZ(4px); filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, .3)); }
/* (v36) from the plaque straight to the tree: the page's words fade, then the page burns into the tree, the burn over the page */
/* the words and pictures on the paper fade slowly away, the last ones a little after the first, before the page burns into the tree */
.sheet.sc2 .sc-stage > *:not(canvas):not(.sc-coin):not(.sc-tree) { transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
.sheet.to-tree .sc-stage > *:not(canvas):not(.sc-coin):not(.sc-tree) { opacity: 0; filter: blur(.6px); }
.sheet.to-tree .sc-stage > .sc-frame, .sheet.to-tree .sc-stage > .sc-info { transition-delay: .12s; }
.sheet.to-tree .sc-stage > .sc-rows, .sheet.to-tree .sc-stage > .sc-band, .sheet.to-tree .sc-stage > .sc-link, .sheet.to-tree .sc-stage > .sc-back { transition-delay: .24s; }
#app.trans-top #transC, #app.trans-top .trans-fallback { z-index: 38; }
/* (v37) the check-in photo, mounted: on a cream mat with a little shadow, a strip of washi tape across its top-left corner */
.sc2 .sc-frame:not(.env):not(.slip) { background: transparent; box-shadow: none; overflow: visible; border-radius: 0; }
.sc2 .ck-full { overflow: visible; }
.sc2 .ck-mat { position: absolute; inset: 0; box-sizing: border-box; padding: 5.5%; border-radius: 2px; transform: rotate(-1.4deg);
  background: linear-gradient(135deg, #f6efe2, #efe5d3 60%, #f3ebdc); box-shadow: 0 12px 20px rgba(60, 40, 20, .26), 0 2px 3px rgba(60, 40, 20, .24); }
.sc2 .ck-mat::after { content: ""; position: absolute; inset: 5.5%; box-shadow: inset 0 0 0 1px rgba(80, 60, 40, .16), inset 0 1px 3px rgba(40, 30, 20, .22); pointer-events: none; }
.sc2 .ck-full .ck-mat img { position: static; display: block; width: 100%; height: 100%; object-fit: cover; }
.sc2 .ck-tape { position: absolute; left: -9%; top: 3%; width: 38%; height: 10%; transform: rotate(-40deg); pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(232, 218, 190, .82) 0 7px, rgba(224, 208, 176, .82) 7px 9px);
  box-shadow: 0 1px 2px rgba(60, 40, 20, .2); opacity: .95;
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 88% 0, 92% 9%, 96% 0, 100% 10%, 100% 90%, 96% 100%, 92% 90%, 88% 100%, 12% 100%, 8% 91%, 4% 100%, 0 92%); }
/* ===== (v38) adding LinkedIn: the user's own panel (images/71.webp), exactly as drawn, in its own pixels; live parts over it ===== */
.li-panel { display: block !important; padding: 0 !important; align-items: initial; background: rgba(12, 20, 16, .55) !important; }
.li-panel[hidden] { display: none !important; }
.li-panel .li-stage { position: absolute; left: 0; top: 0; width: 1122px; height: 1402px; transform-origin: 0 0; background: 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 -8px 24px rgba(0, 0, 0, .4)); }
@keyframes liIn { from { opacity: 0; translate: 0 26px; } }
.li-stage > * { position: absolute; margin: 0; }
.li-sr { width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.li-hit { display: block; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
.li-hit:active { background: rgba(60, 30, 10, .08); }
.li-open { left: 262px; top: 440px; width: 594px; height: 116px; }
.li-paste { left: 262px; top: 630px; width: 594px; height: 108px; }
.li-save { left: 134px; top: 1018px; width: 854px; height: 120px; }
.li-skip { left: 405px; top: 1180px; width: 312px; height: 72px; }
#liInput { left: 150px; top: 884px; width: 822px; height: 76px; padding: 0 26px; box-sizing: border-box; border: 0; outline: 0; background: transparent; border-radius: 6px;
  font: 400 40px/76px "EB Garamond", Georgia, serif; letter-spacing: .4px; color: #2b2018; }
#liInput::placeholder { color: #8c7258; opacity: 1; }
#liInput:focus { box-shadow: 0 0 0 3px rgba(168, 41, 28, .35); }
.li-stage .li-msg { left: 140px; top: 968px; width: 846px; min-height: 0; font: italic 500 31px/36px "EB Garamond", serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4b6b3a; text-align: left; }
.li-stage .li-msg.bad { color: #a8261a; }
.li-stage .li-remove { left: 586px; top: 968px; width: 400px; text-align: right; white-space: nowrap; padding: 0; border: 0; background: none; font: italic 500 31px/36px "EB Garamond", serif; color: #a8261a; cursor: pointer; }
.li-stage .li-remove span, .li-stage .li-remove { text-decoration: underline; text-underline-offset: 6px; }

.li-stage .li-remove:not([hidden]) ~ .li-msg, .li-stage .li-msg:has(~ .li-remove:not([hidden])) { width: 430px; }

#app .li-stage .li-remove { color: #a8261a; }   /* (over the general button colour) */
/* ===== (v39) the check-in photo tucked into a slit in the paper (after the user's reference): the part above the slit shows,
   the rest is under the page; "Tap to view full photo" below it ===== */
.sc2 .ck-full { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sc2 .ck-full .ck-win { position: absolute; left: 7%; width: 86%; top: 0; height: var(--win, 80%); clip-path: inset(-120% -12% 0 -12%);
  box-shadow: 0 2px 10px rgba(60, 40, 20, .3), 0 0 1px rgba(60, 40, 20, .3); }
.sc2 .ck-full .ck-win img { position: absolute; left: 0; top: 0; width: 100%; height: auto; display: block; filter: sepia(.08) saturate(.96); }
.sc2 .ck-slit { position: absolute; left: 2%; width: 96%; top: var(--win, 80%); height: 16px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(58, 40, 24, .62) 0, rgba(58, 40, 24, .5) 2px, rgba(255, 251, 242, .85) 2.5px, rgba(255, 251, 242, .2) 5px, rgba(80, 58, 36, .2) 5.5px, rgba(80, 58, 36, 0) 16px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 1.5%, #000 98.5%, transparent); mask-image: linear-gradient(to right, transparent, #000 1.5%, #000 98.5%, transparent); }
.sc2 .ck-cap { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: italic 400 32px/40px "EB Garamond", serif; letter-spacing: .6px; color: #7a5a3a; pointer-events: none; }
.sc2 .ck-full:active .ck-win { filter: brightness(.94); }
/* the photo opened whole */
.big-photo { display: grid; place-items: center; }
.big-photo .inspection-image { display: block; max-width: calc(100vw - 32px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border: 8px solid #f4ece0; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
/* ===== (v49) before a photo, only the slit cut across the page and the words under it (tap there to add one); the photo is pushed into
   that same slit. The shadow sits on the photo itself, so it goes with it as it is put in ===== */
.sc2 .ck-empty.slot { display: block; background: none; border: 0; border-radius: 0; -webkit-tap-highlight-color: transparent; }
.sc2 .ck-empty.slot .ck-cap { font: italic 400 32px/40px "EB Garamond", serif; letter-spacing: .6px; color: #7a5a3a; }
.sc2 .ck-empty.slot .ck-slit::before { content: ""; position: absolute; left: 4%; right: 4%; top: -6px; height: 6px; background: linear-gradient(to bottom, rgba(58, 40, 24, 0), rgba(58, 40, 24, .1)); }
.sc2 .ck-empty.slot:active .ck-slit { opacity: .75; }
.sc2 .ck-full .ck-win { box-shadow: none; clip-path: inset(-260% -14% 0 -14%); }
.sc2 .ck-full .ck-win img { box-shadow: 0 2px 10px rgba(60, 40, 20, .3), 0 0 1px rgba(60, 40, 20, .3); }
/* the photo opened whole, at its own shape, as large as the screen allows (inside the page's side margins) */
.card-inspection.view { width: 100%; max-width: 640px; }
.big-photo .inspection-image { box-sizing: border-box; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
/* ===== (v50, trial) Add LinkedIn: the tapped words turn gold and float up, the panel comes out of them and hovers, 88% opaque ===== */
.li-gold { position: absolute; z-index: 45; pointer-events: none; white-space: nowrap; text-align: center; will-change: transform, opacity; }
.li-gold b { position: absolute; inset: 0; font: inherit; letter-spacing: inherit; }
.li-gold .ink { color: #a8291c; box-sizing: border-box; border-bottom: 1px solid rgba(168, 41, 28, .7); }
.li-gold .au { opacity: 0; color: #f4d27c; text-shadow: 0 0 2px rgba(255, 240, 190, .95), 0 0 9px rgba(244, 196, 96, .85), 0 0 22px rgba(232, 176, 70, .5), 0 1px 1px rgba(110, 70, 20, .45); }
.li-panel.float { background: rgba(12, 20, 16, .5) !important; }
.li-panel.float .li-stage { opacity: .88; will-change: transform, translate, opacity; animation: liHover 6s ease-in-out 1.2s infinite;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, .45)) drop-shadow(0 0 24px rgba(240, 200, 98, .22)); }
@keyframes liHover { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@media (prefers-reduced-motion: reduce) { .li-panel.float .li-stage { animation: none; } }
/* (v51, trial) the gold title the words turn into on their way up (the panel's own lettering, in gold) */
.li-gtitle { position: absolute; z-index: 45; pointer-events: none; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; user-select: none; }
/* ===== (v54) Check in is for the organizers: two rows (your name, the photo), set lower so the photo's section has the room the third
   row had; Hang it takes what everyone sees: a photo (thumbnail to view it, Change / + Add a photo), a few words typed in the row, LinkedIn */
#sheetCheck .sc-rows { top: 846px; }
#sheetPost .privacy-row .pr-msg { position: static; display: block; opacity: 1; width: 100%; height: 34px; padding: 0; margin: 2px 0 0; border: 0; outline: 0; border-radius: 0;
  pointer-events: auto; background: transparent; font: italic 400 26px/32px "EB Garamond", serif; letter-spacing: .6px; color: #2a241e; -webkit-appearance: none; appearance: none; }
#sheetPost .privacy-row .pr-msg::placeholder { color: #8f7f64; }
#sheetPost .privacy-row .pr-msg:focus { box-shadow: 0 2px 0 rgba(171, 42, 29, .55); }
#sheetPost .privacy-row .filebtn { position: relative; display: inline-block; overflow: hidden; vertical-align: baseline; }
#sheetPost .privacy-row .filebtn input[type=file] { position: absolute; inset: 0; width: auto; height: auto; opacity: 0; pointer-events: auto; cursor: pointer; font-size: 0; }
#sheetPost .pr-thumb { flex: none; width: 64px; height: 64px; padding: 0; margin: 0 -2px 0 0; border: 2.5px solid #f4ead2; border-radius: 4px; overflow: hidden; background: #d9ccb0;
  box-shadow: 0 2px 5px rgba(40, 28, 14, .35); cursor: zoom-in; rotate: -2deg; }
#sheetPost .pr-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
#sheetPost .pr-thumb:active { transform: scale(.95); }
/* the row links on Hang it, all one voice: red italic Garamond like Change / Edit (a button took the page's button font and colour) */
#app #sheetPost .privacy-row .li-add, #app #sheetPost .privacy-row .li-edit { font-family: "EB Garamond", serif; color: #a8291c; }
/* ===== (v55) the slit as a real cut (drawSlit): drawn on two canvases in the strip (empty, and holding the photo); the photo is clipped a
   little below the cut's middle, so it shows dimly in the gap and goes in behind the lower lip ===== */
.sc2 .ck-slit { top: calc(var(--win) - 16px); height: 48px; background: none; -webkit-mask-image: none; mask-image: none; }
.sc2 .ck-empty.slot .ck-slit::before { display: none; }
.sc2 .ck-slit canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.sc2 .ck-full .ck-slit .s-empty { opacity: 0; }
.sc2 .ck-full .ck-win { clip-path: inset(-260% -14% -3.2px -14%); }
/* (v56) the cut keeps its length whatever the photo: the photo's window is the whole frame, the photo placed in it by fitCkPhoto */
.sc2 .ck-full .ck-win { left: 0; width: 100%; }
