/* Scoped live-mode-only styles. Existing Photo/Send/Receive visuals stay intact. */
.app.lw-live .lw-live-retry{position:absolute;left:45px;right:45px;z-index:17;bottom:82px;padding:12px;border:1px solid #d5c9b7;border-radius:14px;background:#fffaf2;color:#51463b;font:12px -apple-system,BlinkMacSystemFont,sans-serif;box-shadow:0 5px 17px #0001}
.app.lw-live .lw-live-discard{position:absolute;left:45px;right:45px;z-index:17;bottom:45px;padding:8px;border:0;background:transparent;text-decoration:underline;color:#79736d;font:11px -apple-system,BlinkMacSystemFont,sans-serif}
.app.lw-live .lw-live-setup{position:absolute;z-index:61;inset:0;background:#fcfbf8f5;padding:140px 36px 30px;display:flex;flex-direction:column;gap:18px;align-items:stretch;justify-content:flex-start;text-align:center}
.app.lw-live .lw-live-setup[hidden],.app.lw-live .lw-live-retry[hidden],.app.lw-live .lw-live-discard[hidden]{display:none!important}
.lw-live-setup h2{font:italic 25px/1.3 Georgia,serif;font-weight:400;color:#4d493f;margin:0}
.lw-live-setup p{font:13px/1.6 -apple-system,BlinkMacSystemFont,sans-serif;color:#786d60;margin:0}
.lw-live-setup form{display:grid;gap:10px;margin-top:12px}
.lw-live-setup input{border:1px solid #d4cfc5;border-radius:11px;padding:13px 12px;background:#fff;font:16px -apple-system,BlinkMacSystemFont,sans-serif;max-width:100%}
.lw-live-setup button{border:0;border-radius:20px;padding:12px;background:#55514b;color:white}
.app.lw-live .receive-image{background:none;overflow:hidden}
.app.lw-live .receive-image:before,.app.lw-live .receive-image:after{display:none!important}
.app.lw-live .receive-image img{display:block;width:100%;height:100%;object-fit:cover}
.app.lw-live .receive-caption{white-space:pre-wrap;overflow-wrap:anywhere}
.app.lw-live .send-feedback-detail{max-width:240px}

/* Live Photo-only conveniences. No extra modal, and no fictional mailbox data. */
.lw-quick-actions{display:none;align-items:center;gap:2px}
.app.lw-live .lw-quick-actions{display:flex}
.app.lw-live .lw-quick-actions button{border:0;background:transparent;padding:7px 6px;min-height:44px;min-width:62px;border-radius:10px;color:#696258;font:11px/1.3 -apple-system,BlinkMacSystemFont,sans-serif;white-space:nowrap}
.app.lw-live .lw-quick-actions button:active{background:#f1eee9}
.app.lw-live.minimal-photo-only .side-items{display:flex!important}
.app.lw-live.minimal-photo-only #wonder-book{display:none!important}
.app.lw-live.minimal-photo-only .creation-actions{display:flex!important}
.app.lw-live.minimal-photo-only .mode-tools[data-tools="photo"]{display:flex!important}
.app.lw-live.minimal-photo-only .mode-tools[data-tools="write"],
.app.lw-live.minimal-photo-only .mode-tools[data-tools="smile"]{display:none!important}
.app.lw-live.minimal-photo-only .side-items{bottom:calc(42px + env(safe-area-inset-bottom))}
.app.lw-live #mailbox{color:#746b60}
.app.lw-live .receive-headline{pointer-events:none}
.app.lw-live #receive-paper{touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab}
.app.lw-live #receive-paper img{pointer-events:none;-webkit-user-drag:none}
.app.lw-live .lw-inbox-navigation{position:absolute;bottom:calc(67px + env(safe-area-inset-bottom));left:43px;right:43px;display:flex;align-items:center;justify-content:center;gap:12px;z-index:6;color:#777169;font:12px -apple-system,BlinkMacSystemFont,sans-serif}
.app.lw-live .lw-inbox-navigation button{width:44px;height:44px;border:0;border-radius:50%;background:#fffcf6dc;color:#615a50;font:24px/1 sans-serif;touch-action:manipulation}
.app.lw-live .lw-inbox-navigation span{min-width:74px;text-align:center}
.app.lw-live .lw-inbox-save{position:absolute;bottom:calc(30px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:6;min-height:35px;white-space:nowrap;border:0;background:transparent;color:#827a71;font:11px -apple-system,BlinkMacSystemFont,sans-serif}
.app.lw-live .receive-disclaimer{bottom:calc(5px + env(safe-area-inset-bottom));font-size:8px}
.app.lw-live .receive-paper.is-empty{display:flex;align-items:center;justify-content:center;color:#8b8276;padding:35px;text-align:center;font:italic 18px/1.4 Georgia,serif}
.app.lw-live .receive-paper.is-empty .receive-image{display:none}
.app.lw-live .receive-paper.is-empty .receive-caption{padding:18px}
.app.lw-live .receive-stage.is-open .receive-paper.is-swiping{animation:none;opacity:1;transform:rotate(0) scale(var(--receive-scale))}
.app.lw-live .receive-stage.is-open .receive-paper{animation-duration:.36s}
@media(max-width:360px){.app.lw-live .topbar{left:18px;right:12px}.app.lw-live .lw-quick-actions button{min-width:56px;padding:6px 4px;font-size:10.5px}.app.lw-live .brand{font-size:18px}}
@media(max-height:680px){.app.lw-live .lw-inbox-navigation{bottom:calc(40px + env(safe-area-inset-bottom))}.app.lw-live .lw-inbox-save{bottom:calc(9px + env(safe-area-inset-bottom))}.app.lw-live .receive-disclaimer{display:none}}

.app:not(.lw-live) #lw-capture{display:none!important}
.app.lw-live #lw-capture{color:#746b60}
