:root {
--wood-dark: #2c1a12;
--wood-mid: #43281c;
--wood-light: #5c3827;
--wood-border: #7a4d34;
--brass-hi: #fff0b8;
--brass-mid: #e6b44c;
--brass-low: #9a691c;
--crimson-hi: #f05264;
--crimson-mid: #c8233a;
--crimson-low: #7f1222;
--ivory-hi: #fffdf6;
--ivory-mid: #f5ead4;
--ivory-low: #d6c3a1;
--ink-dark: #2c1a12;
--ink-soft: #6e5240;
--font-display: 'Fredoka', system-ui, sans-serif;
--font-serif: 'Playfair Display', Georgia, serif;
--font-ui: 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { margin: 0; padding: 0; background: #120b07; }
header.site-header, nav.site-nav, .gfs-header, .site-topbar, .topbar, .nav-wrap { display: none !important; }
.t3d-app { position: relative; width: 100vw; height: 100dvh; min-height: 580px; overflow: hidden; background: #120b07; font-family: var(--font-ui); color: #fff8eb; user-select: none; }
.t3d-stage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; cursor: grab; touch-action: none; }
.t3d-stage:active { cursor: grabbing; }
.t3d-stage canvas { display: block; width: 100% !important; height: 100% !important; }
.t3d-pins-layer { position: absolute; inset: 0; pointer-events: none; z-index: 8; overflow: hidden; }
.wish-pin { position: absolute; transform: translate(-50%, -120%); pointer-events: auto; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 6px; border-radius: 999px; background: linear-gradient(180deg, #fffdf7 0%, #f3e4c6 100%); border: 2px solid #d49b35; box-shadow: 0 5px 14px rgba(0,0,0,0.45), inset 0 1px 0 #ffffff; color: #3d2113; font-family: var(--font-display); font-size: 12px; font-weight: 600; white-space: nowrap; transition: transform 0.16s ease, box-shadow 0.16s ease; animation: pinFloat 2.8s ease-in-out infinite; }
.wish-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(45deg); width: 9px; height: 9px; background: #f3e4c6; border-right: 2px solid #d49b35; border-bottom: 2px solid #d49b35; }
.wish-pin:hover { transform: translate(-50%, -128%) scale(1.08); box-shadow: 0 8px 20px rgba(244,197,91,0.55); z-index: 12; }
.wish-pin.is-sealed { background: linear-gradient(180deg, #3b2419 0%, #24150e 100%); border-color: #c69135; color: #f9e4b7; }
.wish-pin.is-sealed::after { background: #24150e; border-color: #c69135; }
.wish-pin.is-highlight { animation: pinPulse 1.8s ease-in-out infinite; }
.wish-pin-dot { font-size: 14px; line-height: 1; }
@keyframes pinFloat { 0%, 100% { margin-top: 0px; } 50% { margin-top: -5px; } }
@keyframes pinPulse { 0%, 100% { box-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 0 0 0 rgba(255,210,96,0.7); margin-top: 0; } 50% { box-shadow: 0 8px 18px rgba(255,210,96,0.5), 0 0 0 9px rgba(255,210,96,0); margin-top: -6px; } }
.hud-stack { position: absolute; top: max(14px, env(safe-area-inset-top)); left: 16px; right: 16px; z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.hud-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; pointer-events: none; }
.hud-top > * { pointer-events: auto; }
.hud-left { display: inline-flex; align-items: center; gap: 8px; }
.brand-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 10px; border-radius: 999px; background: linear-gradient(180deg, rgba(56,33,22,0.88) 0%, rgba(30,17,11,0.92) 100%); border: 2px solid #c9943e; box-shadow: 0 5px 15px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,232,175,0.3); font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #fff6e0; }
.brand-badge strong { color: #ffd666; }
.brand-ico { width: 22px; height: 22px; display: inline-flex; }
.back-pill { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px; border-radius: 999px; border: 2px solid #c9943e; background: linear-gradient(180deg, #4b2c1d 0%, #2b170e 100%); color: #ffecc2; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 0 #1a0d07, 0 6px 14px rgba(0,0,0,0.45); }
.back-pill:active { transform: translateY(2px); }
.tree-status-pill { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(46,27,18,0.92) 0%, rgba(25,14,9,0.95) 100%); border: 2px solid #c8933c; box-shadow: 0 6px 18px rgba(0,0,0,0.48), inset 0 1px 0 rgba(255,232,175,0.3); }
.status-title-row { display: inline-flex; align-items: center; gap: 8px; }
.status-tree-name { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: #fff5dc; }
.meter-row { display: inline-flex; align-items: center; gap: 8px; }
.step-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(24,16,26,0.78); backdrop-filter: blur(8px); border: 1.5px solid rgba(230,182,86,0.6); box-shadow: 0 6px 18px rgba(0,0,0,0.4); font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: #fff2d4; }
.hero-card { position: absolute; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 26; width: min(520px, calc(100vw - 24px)); padding: 16px 20px 14px; border-radius: 26px; background: repeating-linear-gradient(90deg, rgba(255,220,170,0.025) 0px, rgba(255,220,170,0.025) 3px, transparent 3px, transparent 11px), linear-gradient(180deg, rgba(72,42,28,0.94) 0%, rgba(44,24,15,0.96) 55%, rgba(28,15,10,0.98) 100%); border: 2.5px solid #d49d3c; box-shadow: 0 8px 0 #170b06, 0 22px 48px rgba(0,0,0,0.65), inset 0 2px 0 rgba(255,234,182,0.35); text-align: center; }
.hero-card-inner { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.hero-title { margin: 0; font-family: var(--font-serif); font-size: 21px; font-weight: 700; line-height: 1.2; color: #fff8e8; text-shadow: 0 2px 4px rgba(0,0,0,0.45); }
.hero-sub { margin: 4px 0 0; font-size: 13.5px; line-height: 1.38; color: #e9d2b0; }
.hero-sub strong { color: #ffe07d; }
.hero-steps { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 7px 10px; border-radius: 16px; background: rgba(20,11,7,0.6); border: 1.5px solid rgba(212,157,60,0.35); }
.h-step { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 12.5px; color: #fff0d0; }
.h-step b { color: #ffd464; }
.h-ico { width: 26px; height: 26px; display: inline-flex; flex-shrink: 0; }
.h-ico svg { width: 100%; height: 100%; }
.h-arr { color: #c8953f; font-weight: 800; font-size: 15px; }
.hero-cta { width: 100%; height: 50px; font-size: 16.5px; }
.hero-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.text-link-btn { border: none; background: transparent; padding: 2px 4px; color: #e4c79a; font-family: var(--font-display); font-size: 12.5px; font-weight: 500; cursor: pointer; transition: color 0.15s ease; }
.text-link-btn:hover { color: #ffe699; text-decoration: underline; }
.sec-dot { color: rgba(228,199,154,0.4); }
.owner-prompt { font-family: var(--font-display); font-size: 13.5px; color: #f6e1be; line-height: 1.3; }
.guest-intro-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guest-intro-copy { display: flex; flex-direction: column; gap: 2px; }
.guest-intro-copy strong { font-family: var(--font-display); font-size: 16px; color: #fff6de; }
.guest-intro-copy span { font-size: 12.5px; color: #e6cca5; }
.parchment-sub-note { margin: 0 0 16px; font-size: 14.5px; line-height: 1.5; color: #5c3d28; }
.hung-cta-stack { display: flex; flex-direction: column; gap: 9px; }
.mode-switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: 18px; background: linear-gradient(180deg, #3c2217 0%, #23130c 100%); border: 2px solid #8c5a37; box-shadow: 0 6px 18px rgba(0,0,0,0.5), inset 0 2px 3px rgba(0,0,0,0.55), inset 0 -1px 0 rgba(255,224,166,0.25); }
.mode-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 13px; border: none; background: transparent; color: #cfb494; font-family: var(--font-display); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.16s ease; }
.mode-pill .pill-ico { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; }
.mode-pill.active { background: linear-gradient(180deg, #eb4b5f 0%, #bf1f35 65%, #991629 100%); color: #fffdf7; text-shadow: 0 1px 2px rgba(70,5,12,0.7); box-shadow: 0 3px 0 #660d1a, 0 6px 12px rgba(0,0,0,0.35), inset 0 1.5px 0 rgba(255,220,220,0.45); }
.light-meter { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: linear-gradient(180deg, rgba(46,27,18,0.92) 0%, rgba(27,15,10,0.94) 100%); border: 2px solid #b58336; box-shadow: 0 6px 18px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,232,175,0.3); }
.meter-bulbs { display: flex; align-items: center; gap: 5px; }
.bulb { width: 11px; height: 14px; border-radius: 50% 50% 45% 45%; background: radial-gradient(circle at 35% 30%, #4e3b2e, #251a14); border: 1px solid rgba(255,215,130,0.25); box-shadow: inset 0 -2px 2px rgba(0,0,0,0.5); transition: all 0.3s ease; }
.bulb.lit { background: radial-gradient(circle at 35% 30%, #ffffff 0%, #ffe680 42%, #f59e0b 100%); border-color: #fff6c2; box-shadow: 0 0 8px #fbbf24, 0 0 16px rgba(251,191,36,0.65); }
.meter-badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: #ffe8ad; }
.meter-sep { opacity: 0.45; }
.meter-days { padding: 1px 7px; border-radius: 999px; background: rgba(230,180,76,0.2); border: 1px solid rgba(230,180,76,0.45); color: #ffd97d; }
.hud-actions { display: inline-flex; align-items: center; gap: 8px; }
.brass-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #e6b44c; background: radial-gradient(circle at 32% 28%, #5e3b28 0%, #341e14 68%, #21120c 100%); color: #ffe9b3; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 0 #1b0e08, 0 7px 15px rgba(0,0,0,0.48), inset 0 2px 1px rgba(255,238,186,0.35); transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease; }
.brass-btn:hover { filter: brightness(1.12); }
.brass-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #1b0e08, 0 3px 8px rgba(0,0,0,0.45); }
.brass-btn.active { background: radial-gradient(circle at 32% 28%, #ffdf7d 0%, #d49628 68%, #8f5c11 100%); color: #2b1507; border-color: #fff2be; }
.brass-btn svg { width: 20px; height: 20px; display: block; }
.stage-banner { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(22,16,26,0.72); backdrop-filter: blur(8px); border: 1.5px solid rgba(235,188,92,0.55); box-shadow: 0 8px 20px rgba(0,0,0,0.38); font-family: var(--font-display); font-size: 13px; font-weight: 500; color: #fff3d6; white-space: nowrap; max-width: calc(100vw - 24px); overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.banner-pulse { width: 8px; height: 8px; border-radius: 50%; background: #ffd15c; box-shadow: 0 0 10px #ffd15c; flex-shrink: 0; }
.preview-ribbon { display: inline-flex; align-items: center; gap: 10px; padding: 5px 8px 5px 14px; border-radius: 999px; background: linear-gradient(180deg, #fde68a 0%, #eab308 100%); color: #361d09; font-family: var(--font-display); font-size: 13px; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,0.42); pointer-events: auto; }
.ribbon-back-btn { border: none; border-radius: 999px; padding: 4px 11px; background: #361d09; color: #fff6dc; font-family: var(--font-display); font-size: 12px; font-weight: 600; cursor: pointer; }
.toybox-dock { position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 25; width: min(670px, calc(100vw - 24px)); padding: 11px 15px 13px; border-radius: 26px; background: repeating-linear-gradient(90deg, rgba(255,220,170,0.025) 0px, rgba(255,220,170,0.025) 3px, transparent 3px, transparent 11px), linear-gradient(180deg, #523020 0%, #3a2015 45%, #27140d 100%); border: 2.5px solid #c9943e; box-shadow: 0 8px 0 #170b07, 0 22px 45px rgba(0,0,0,0.65), inset 0 2px 0 rgba(255,232,178,0.35), inset 0 -3px 6px rgba(0,0,0,0.45); transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.toybox-dock.collapsed { transform: translate(-50%, calc(100% - 34px)); }
.dock-handle { display: block; margin: -4px auto 8px; padding: 4px 24px; background: transparent; border: none; cursor: pointer; }
.dock-handle-bar { display: block; width: 44px; height: 5px; border-radius: 999px; background: linear-gradient(180deg, #e7bc65, #9a691f); box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 1px 2px rgba(0,0,0,0.5); }
.dock-pane { display: flex; flex-direction: column; gap: 11px; }
.craft-strip { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 18px; background: linear-gradient(180deg, #21120c 0%, #2f1b13 100%); border: 1.5px solid rgba(196,144,62,0.38); box-shadow: inset 0 3px 8px rgba(0,0,0,0.65); overflow-x: auto; scrollbar-width: none; }
.craft-strip::-webkit-scrollbar { display: none; }
.craft-tray { display: inline-flex; align-items: center; gap: 6px; }
.craft-tray.compact { padding: 4px; border-radius: 14px; background: rgba(20,11,7,0.7); box-shadow: inset 0 2px 5px rgba(0,0,0,0.6); }
.craft-divider { width: 2px; height: 28px; border-radius: 2px; background: linear-gradient(180deg, transparent, rgba(214,162,74,0.45), transparent); flex-shrink: 0; }
.craft-slot { width: 50px; height: 54px; padding: 4px 3px 3px; border-radius: 13px; border: 2px solid rgba(255,224,160,0.16); background: linear-gradient(180deg, #472b1e 0%, #311c13 100%); box-shadow: 0 3px 0 #1b0e08, inset 0 1px 0 rgba(255,232,185,0.18); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; transition: transform 0.12s ease, border-color 0.15s ease, box-shadow 0.15s ease; flex-shrink: 0; color: #e6cca5; }
.craft-slot .slot-ico { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.craft-slot .slot-lbl { font-family: var(--font-display); font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: 0.01em; }
.craft-tray.compact .craft-slot { width: 34px; height: 34px; padding: 3px; border-radius: 10px; }
.craft-slot svg { width: 100%; height: 100%; display: block; }
.craft-slot:hover { transform: translateY(-2px); }
.craft-slot.active { background: radial-gradient(circle at 50% 35%, #fff5d6 0%, #f3d284 70%, #d49c38 100%); border-color: #fff6cf; color: #3a1f0b; box-shadow: 0 3px 0 #8a5b14, 0 0 14px rgba(255,212,102,0.55), inset 0 1.5px 0 #ffffff; transform: translateY(-2px); }
.action-row { display: flex; align-items: center; gap: 10px; }
.wood-input-wrap { flex: 1; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 15px; background: linear-gradient(180deg, #fffdf6 0%, #f3e6cc 100%); border: 2px solid #c5913c; box-shadow: inset 0 3px 6px rgba(74,43,18,0.22), 0 2px 0 rgba(255,238,196,0.2); }
.input-ico { width: 22px; height: 22px; flex-shrink: 0; display: inline-flex; }
.wood-input { flex: 1; width: 100%; border: none; outline: none; background: transparent; color: #321b0f; font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.wood-input::placeholder { color: #9c8067; font-weight: 500; }
.tactile-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 16px; border: 2px solid transparent; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.09s ease, box-shadow 0.09s ease, filter 0.14s ease; }
.tactile-btn .btn-ico { width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center; }
.tactile-btn .btn-ico svg { width: 100%; height: 100%; display: block; }
.tactile-btn.flex-1 { flex: 1; }
.tactile-btn.icon-only { width: 44px; height: 44px; padding: 0; border-radius: 14px; }
.tactile-btn.compact-btn { height: 40px; padding: 0 13px; font-size: 13.5px; border-radius: 13px; }
.tactile-btn:hover { filter: brightness(1.07); }
.tactile-btn:active { transform: translateY(3px); }
.tactile-btn:disabled { opacity: 0.62; cursor: not-allowed; filter: none; transform: none; }
.btn-crimson { background: linear-gradient(180deg, #f25466 0%, #cc2239 58%, #a6162b 100%); border-color: #ff9ca8; color: #fffef9; text-shadow: 0 1.5px 2px rgba(84,6,16,0.7); box-shadow: 0 5px 0 #6e0e1b, 0 10px 20px rgba(0,0,0,0.4), inset 0 2px 0 rgba(255,224,228,0.5); }
.btn-crimson:active { box-shadow: 0 2px 0 #6e0e1b, 0 4px 10px rgba(0,0,0,0.35); }
.btn-gold { background: linear-gradient(180deg, #ffe382 0%, #e6aa35 60%, #c48418 100%); border-color: #fff4c2; color: #361c08; text-shadow: 0 1px 0 rgba(255,245,200,0.6); box-shadow: 0 5px 0 #7c4f0a, 0 10px 18px rgba(0,0,0,0.35), inset 0 2px 0 rgba(255,255,255,0.65); }
.btn-gold:active { box-shadow: 0 2px 0 #7c4f0a, 0 4px 8px rgba(0,0,0,0.35); }
.btn-ivory { background: linear-gradient(180deg, #fffdf7 0%, #f1e2c5 65%, #dfc9a2 100%); border-color: #fff9ec; color: #3e2414; box-shadow: 0 4px 0 #8d6e47, 0 8px 15px rgba(0,0,0,0.32), inset 0 2px 0 #ffffff; }
.btn-ivory:active { box-shadow: 0 1px 0 #8d6e47, 0 3px 8px rgba(0,0,0,0.32); }
.dock-toast { min-height: 0; text-align: center; font-family: var(--font-display); font-size: 13px; color: #ffe38f; }
.dock-toast:empty { display: none; }
.owner-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.owner-title-plaque { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 16px; color: #fff4d8; }
.owner-title-plaque span { width: 24px; height: 24px; display: inline-flex; }
.code-ticket { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 12px; background: linear-gradient(180deg, #fff9e8 0%, #efe0be 100%); border: 2px dashed #c48e32; color: #381e0f; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,0.3); }
.ticket-lbl { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #9e6b24; }
.code-ticket strong { font-family: monospace; font-size: 14px; letter-spacing: 0.06em; }
.owner-actions { display: flex; align-items: center; gap: 8px; }
.owner-social-row { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 1px; }
.owner-social-row::-webkit-scrollbar { display: none; }
.social-chip { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 34px; padding: 0 11px; border-radius: 12px; border: 1.5px solid rgba(255,232,185,0.28); background: linear-gradient(180deg, rgba(255,250,238,0.14) 0%, rgba(255,250,238,0.06) 100%); color: #fff4da; font-family: var(--font-display); font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: transform 0.1s ease, filter 0.14s ease; }
.social-chip:hover { filter: brightness(1.15); transform: translateY(-1px); }
.social-chip:active { transform: translateY(1px); }
.social-chip .chip-ico { width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.social-chip .chip-ico svg { width: 100%; height: 100%; display: block; }
.social-chip.chip-wa { background: linear-gradient(180deg, #25d366 0%, #159947 100%); border-color: #86efac; color: #ffffff; }
.social-chip.chip-x { background: linear-gradient(180deg, #27272a 0%, #111113 100%); border-color: rgba(255,255,255,0.28); color: #ffffff; }
.social-chip.chip-fb { background: linear-gradient(180deg, #2b7fff 0%, #1558c0 100%); border-color: #93c5fd; color: #ffffff; }
.ornament-shelf { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 18px; background: linear-gradient(180deg, #21120c 0%, #301c13 100%); border: 1.5px solid rgba(196,144,62,0.35); box-shadow: inset 0 3px 8px rgba(0,0,0,0.65); overflow-x: auto; scrollbar-width: none; }
.ornament-shelf::-webkit-scrollbar { display: none; }
.orn-slot { width: 60px; height: 64px; padding: 5px 4px 4px; border-radius: 15px; border: 2px solid rgba(255,224,160,0.14); background: linear-gradient(180deg, #4b2d1f 0%, #321d13 100%); box-shadow: 0 4px 0 #1a0d07, inset 0 1px 0 rgba(255,232,185,0.16); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; flex-shrink: 0; color: #ebd3b0; transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.15s ease; }
.orn-slot svg { width: 38px; height: 38px; display: block; filter: drop-shadow(0 3px 4px rgba(0,0,0,0.35)); }
.orn-slot .orn-lbl { font-family: var(--font-display); font-size: 10px; font-weight: 600; line-height: 1; }
.orn-slot:hover { transform: translateY(-3px); }
.orn-slot.active { background: radial-gradient(circle at 50% 35%, #fff8df 0%, #f5d382 72%, #d49830 100%); border-color: #fffbe0; color: #3a1f0b; box-shadow: 0 4px 0 #875712, 0 0 16px rgba(255,212,102,0.6), inset 0 2px 0 #ffffff; transform: translateY(-3px) scale(1.04); }
.guest-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.guest-hint-chip { flex: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; background: rgba(255,244,214,0.1); border: 1.5px solid rgba(255,216,130,0.25); font-family: var(--font-display); font-size: 13.5px; color: #ffeec8; }
.guest-hint-chip span:first-child { width: 20px; height: 20px; flex-shrink: 0; display: inline-flex; }
.diy-controls-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.diy-controls-row::-webkit-scrollbar { display: none; }
.size-dot { width: 32px; height: 32px; border-radius: 9px; border: 1.5px solid rgba(255,224,160,0.2); background: #3d2418; color: #e6cca8; font-family: var(--font-display); font-size: 12px; font-weight: 700; cursor: pointer; }
.size-dot.active { background: linear-gradient(180deg, #ffe280, #d99b2a); color: #2f1707; border-color: #fff4c2; }
.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5,9,20,0.74); backdrop-filter: blur(7px); opacity: 0; pointer-events: none; transition: opacity 0.22s ease; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.parchment-card { position: relative; width: min(440px, 100%); padding: 34px 26px 24px; border-radius: 26px; background: radial-gradient(circle at 15% 15%, rgba(255,255,255,0.75), transparent 55%), linear-gradient(180deg, #fffdf7 0%, #f8ecd3 55%, #eddab5 100%); border: 3px solid #d49d3c; box-shadow: 0 12px 0 #7a521b, 0 28px 60px rgba(0,0,0,0.65), inset 0 0 0 5px rgba(255,250,236,0.65); color: var(--ink-dark); text-align: center; transform: translateY(18px) scale(0.95); transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1); }
.modal-backdrop.open .parchment-card { transform: translateY(0) scale(1); }
.card-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #d7b98c; background: #fff9ec; color: #5a3824; font-size: 16px; font-weight: 800; cursor: pointer; }
.wax-medallion { width: 64px; height: 64px; margin: -62px auto 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f45b6d 0%, #c11d34 62%, #7d0d1d 100%); border: 3px solid #f7d683; box-shadow: 0 8px 18px rgba(0,0,0,0.38), inset 0 2px 3px rgba(255,220,224,0.45); display: flex; align-items: center; justify-content: center; }
.wax-medallion svg { width: 34px; height: 34px; }
.compose-orn-preview { width: 70px; height: 70px; margin: -64px auto 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffdf5 0%, #f5dfb2 100%); border: 3px solid #d49d3c; box-shadow: 0 8px 18px rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center; }
.compose-orn-preview svg { width: 46px; height: 46px; }
.parchment-eyebrow { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: #a86d24; margin-bottom: 4px; }
.parchment-title { margin: 0 0 12px; font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: #361d10; }
.parchment-body { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,0.68); border: 1.5px dashed #d3b282; font-family: var(--font-serif); font-size: 17px; line-height: 1.6; color: #3f2416; white-space: pre-wrap; margin-bottom: 16px; }
.parchment-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.parchment-meta { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: #8c6239; }
.compose-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.parchment-input-row { display: flex; gap: 8px; }
.parchment-input, .parchment-textarea { width: 100%; padding: 11px 14px; border-radius: 14px; border: 2px solid #d5b482; background: #fffdf8; color: #321a0f; font-family: var(--font-ui); font-size: 15px; font-weight: 700; outline: none; }
.parchment-input:focus, .parchment-textarea:focus { border-color: #c8233a; }
.parchment-textarea { resize: none; font-weight: 600; line-height: 1.45; }
.code-input { text-align: center; font-family: monospace; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; }
.dice-btn { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; border: 2px solid #d9a038; background: linear-gradient(180deg, #ffe799 0%, #e6aa38 100%); box-shadow: 0 3px 0 #8d5c10; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.dice-btn svg { width: 24px; height: 24px; }
.compose-actions { display: flex; gap: 10px; }
.compose-err { margin-top: 8px; font-size: 13px; font-weight: 700; color: #b91c1c; min-height: 16px; }
.howto-card { width: min(540px, 100%); }
.comic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.comic-step { position: relative; padding: 12px 8px; border-radius: 16px; background: rgba(255,255,255,0.72); border: 2px solid #dfc395; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.comic-art { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; }
.comic-art svg { width: 56px; height: 56px; }
.comic-num { position: absolute; top: 7px; left: 7px; width: 22px; height: 22px; border-radius: 50%; background: #c8233a; color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.comic-step strong { font-family: var(--font-display); font-size: 14px; color: #361d10; }
.comic-step span { font-size: 12px; line-height: 1.35; color: #6e4e38; }
@media (max-width: 640px) {
.t3d-viewport { height: 100dvh !important; min-height: 0 !important; }
.t3d-app { height: 100dvh !important; min-height: 0 !important; }
.hud-stack { top: calc(14px + env(safe-area-inset-top, 0px)); left: 10px; right: 10px; gap: 6px; }
.hud-top { flex-wrap: wrap; gap: 6px; }
.brand-badge { padding: 5px 11px 5px 8px; font-size: 13px; }
.hud-actions { gap: 5px; }
.brass-btn { width: 36px; height: 36px; }
.brass-btn svg { width: 17px; height: 17px; }
.tree-status-pill, .step-pill { order: 3; width: 100%; justify-content: center; padding: 6px 12px; }
.hero-card { width: calc(100vw - 18px); padding: 13px 14px 11px; border-radius: 22px; bottom: max(10px, env(safe-area-inset-bottom)); }
.hero-title { font-size: 17.5px; }
.hero-sub { font-size: 12px; }
.hero-steps { gap: 4px; padding: 5px 6px; }
.h-step { font-size: 11px; gap: 3px; }
.h-ico { width: 20px; height: 20px; }
.hero-cta { height: 44px; font-size: 15px; }
.toybox-dock { width: calc(100vw - 16px); padding: 10px 12px 12px; border-radius: 22px; bottom: max(10px, env(safe-area-inset-bottom)); }
.craft-slot { width: 44px; height: 48px; }
.craft-slot .slot-ico { width: 26px; height: 26px; }
.action-row, .guest-intro-row { flex-direction: column; gap: 8px; align-items: stretch; }
.wood-input-wrap, .action-row .tactile-btn, .guest-intro-row .tactile-btn { width: 100%; height: 44px; }
.owner-header { flex-direction: column; align-items: flex-start; gap: 6px; }
.owner-actions { flex-wrap: nowrap; }
.owner-actions .tactile-btn { height: 42px; padding: 0 12px; font-size: 13.5px; }
.orn-slot { width: 54px; height: 58px; }
.orn-slot svg { width: 34px; height: 34px; }
}
.t3d-backdrop { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #120b07; }
.t3d-bg-blur { position: absolute; inset: -36px; background-size: cover; background-position: center; filter: blur(30px) brightness(0.42) saturate(1.15); transform: scale(1.12); will-change: transform; transition: background-image 0.4s ease; }
.t3d-bg-core { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100vw, 560px); background-size: cover; background-position: center bottom; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%); transition: background-image 0.4s ease; }
.t3d-bg-vignette { position: absolute; inset: 0; background: radial-gradient(circle at 50% 44%, transparent 38%, rgba(10,6,3,0.62) 100%), linear-gradient(180deg, rgba(10,6,3,0.42) 0%, transparent 18%, transparent 72%, rgba(10,6,3,0.72) 100%); }
@media (max-width: 640px) { .t3d-bg-core { width: 100vw; -webkit-mask-image: none; mask-image: none; }
.step-pill, .stage-banner { backdrop-filter: none; background: rgba(20,13,22,0.88); } }
.lang-pop-wrap { position: relative; display: inline-flex; align-items: center; }
.lang-btn { font-size: 11px; font-weight: 800; letter-spacing: 0.03em; font-family: inherit; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 118px; padding: 5px; border-radius: 14px; background: rgba(34, 19, 12, 0.96); border: 1.5px solid #e6b44c; box-shadow: 0 12px 28px rgba(0,0,0,0.58); display: flex; flex-direction: column; gap: 3px; z-index: 60; }
.lang-opt { border: none; background: transparent; color: #ffeec7; font-size: 12.5px; font-weight: 700; text-align: left; padding: 7px 10px; border-radius: 9px; cursor: pointer; font-family: inherit; white-space: nowrap; }
.lang-opt:hover { background: rgba(255, 224, 140, 0.14); }
.lang-opt.active { background: #e6b44c; color: #2b1507; }
@media (max-width: 640px) { .lang-btn { font-size: 10px; } }
.owner-actions .btn-crimson { width: 100%; }
.owner-private-row { display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.owner-private-link { display: inline-flex; align-items: center; gap: 5px; background: transparent; border: none; padding: 3px 6px; color: rgba(246, 225, 190, 0.78); font-family: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; transition: color .15s; }
.owner-private-link:hover { color: #ffe599; }
.owner-private-link .priv-ico { width: 13px; height: 13px; display: inline-flex; align-items: center; flex-shrink: 0; opacity: 0.9; }
.owner-private-link .priv-ico svg { width: 100%; height: 100%; display: block; }