@import url('../studio/headline.css');
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}body{background:#f6f6f6;color:#171717;font-family:var(--hs-font-ui);-webkit-font-smoothing:antialiased;overflow:hidden}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}button:focus-visible,input:focus-visible{outline:2px solid var(--hs-blue);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#inbox{padding-top:70px}.inbox-header{display:flex;justify-content:space-between;align-items:center;padding:0 20px;height:65px}.wordmark{display:flex;align-items:center;gap:9px;font-size:44px;font-weight:500;letter-spacing:-2px;line-height:1}.wordmark img{width:32px;height:26px}.inbox-actions{display:flex;align-items:center;gap:7px}.invite-trigger{position:relative;width:47px;height:47px;border:1px solid #d9d9d9;border-radius:50%;padding:9px;background:linear-gradient(150deg,#fff,#ececec);box-shadow:inset 0 1px 1px #fff}.invite-trigger>img{width:100%;height:100%}.invite-count{position:absolute;top:-5px;right:-2px;min-width:20px;height:20px;border-radius:999px;background:#246bfe;color:#fff;font-size:12px;display:grid;place-items:center;padding:0 4px}.profile{width:46px;height:46px;border-radius:50%;object-fit:cover;border:1.5px solid #fff;box-shadow:0 4px 8px #0002}.conversations{padding:20px 18px}.conversation{display:flex;align-items:center;gap:12px;margin-bottom:26px;position:relative;height:60px}.conversation>img{width:59px;height:59px;border-radius:50%;object-fit:cover;box-shadow:inset 0 1px 1px #fff,0 5px 9px #0002}.conversation>div{min-width:0;flex:1}.conversation h2,.conversation p{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation h2{font-size:19px;font-weight:400;line-height:27px;letter-spacing:-.3px}.conversation p{font-size:16px;color:#6b6b6b;line-height:23px;letter-spacing:-.15px}.conversation time{font-size:14px;color:#818181;position:absolute;right:0;top:7px;background:#f6f6f6;padding-left:8px}.conversation h2{padding-right:40px}.conversation.unread h2{font-weight:500}.conversation.unread p{color:#171717}.conversation time i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#246bfe;margin-right:10px}.pin{font-size:19px;color:#777}
#invite-sheet{position:fixed;inset:auto 8px 8px;width:calc(100% - 16px);max-width:none;height:622px;max-height:calc(100% - 116px);margin:0;border:1px solid #ffffffd9;border-radius:40px;padding:0 22px 24px;background:#f6f6f6;color:#171717;box-shadow:0 -1px 1px #00000002,0 24px 56px #00000012;overflow:hidden;transform:translate3d(0,105%,0);outline:none}#invite-sheet::backdrop{background:#000;opacity:0;transition:opacity 220ms var(--hs-ease)}#invite-sheet[data-present]::backdrop{opacity:.19}#invite-sheet[data-instant]::backdrop{transition:none}.sheet-grip{height:25px;display:grid;place-items:center;position:relative;z-index:2;touch-action:none;cursor:grab}.sheet-grip:active{cursor:grabbing}.sheet-grip i{width:46px;height:4px;border-radius:4px;background:#c9c9c9}.sheet-heading{height:42px;display:flex;align-items:center;justify-content:center;position:relative;z-index:2;touch-action:none}#sheet-title{font-size:24px;font-weight:500;letter-spacing:-.5px;line-height:1.2;margin:0;outline:none}.round-button{border:0;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;background:#e9e9e99c;color:#777;position:absolute;right:-7px}.round-button:active{background:#dedede;color:#171717}#motion-toggle{left:-7px;right:auto;display:none}#motion-toggle[aria-pressed=true]{color:#246bfe;background:#e3eaff}.hero{position:relative;width:calc(100% + 44px);margin-left:-22px;height:268px;pointer-events:none}.hero>div{position:absolute;left:50%;top:50%;width:402px;height:610px;transform:translate(-50%,-50%)}#glass-scene canvas{display:block;width:100%;height:100%}.hero[data-renderer=webgl] #glass-fallback{visibility:hidden}#sheet-copy{position:relative;z-index:2;text-align:center;font-size:17px;line-height:24px;letter-spacing:-.2px;color:#636363;margin:11px -4px 38px}.invite-balance{position:relative;z-index:2;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;background:#ebebeb;border-radius:22px;box-shadow:inset 0 1px 2px #00000004,0 1px 0 #fff;font-size:17px;color:#676767}.invite-balance strong{font-weight:500;font-size:19px;color:#171717}.sheet-actions{position:relative;z-index:2;display:flex;gap:12px;margin-top:22px}.primary,.secondary{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:60px;flex:1;border:1px solid #171717;border-radius:999px;background:var(--hs-dark-face);color:white;font-size:17px;font-weight:500;box-shadow:var(--hs-dark-shadow);overflow:hidden}.primary:active{background:var(--hs-dark-pressed)}.secondary{background:linear-gradient(160deg,#fff,#fafafa);border-color:#fff;color:#222;box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #00000006,0 1px 2px #00000005}.secondary:active{background:#eaeaea}.copy-check{display:none}.secondary[data-copied] .copy-check{display:block}.feedback{position:absolute;bottom:5px;left:22px;right:22px;text-align:center;font-size:11px;color:#636363;margin:0;line-height:16px;z-index:3;pointer-events:none}.share-panel{position:absolute;z-index:6;inset:auto 12px 12px;border:1px solid #fff;border-radius:28px;padding:20px;background:#f6f6f6;box-shadow:0 0 0 500px #f6f6f6d9,0 -8px 30px #00000010}.share-panel h2{font-size:21px;font-weight:500;margin:0 0 18px}.share-panel input{width:100%;height:48px;font-size:16px;line-height:1.2;border-radius:14px;border:1px solid #ddd;padding:0 12px;background:#fff;color:#555}.share-panel>div{display:flex;gap:10px;margin-top:18px}.share-panel button{min-height:50px;font-size:15px}
.fallback-card{position:absolute;left:50%;top:50%;width:150px;height:150px;border-radius:28.1%;background:linear-gradient(135deg,#ffffff9c,#ffffff26);box-shadow:inset 1px 1px 1px #fff,inset -1px -1px 1px #00000021,2px 21px 28px -7px #00000029;display:grid;place-items:center}.fallback-card img{width:62.5%;height:62.5%;object-fit:contain}.fallback-card[data-wabi]{background:#fff}.fallback-card[data-wabi] img{width:100%;height:100%;border-radius:inherit}.fallback-card[data-circle]{border-radius:50%}.fallback-card[data-portrait] img{width:94%;height:94%;border-radius:50%;object-fit:cover}.fallback-card[data-foil]{background:linear-gradient(125deg,#8ca4cf,#d0ceef 27%,#7193c7 52%,#c7e1f2 72%,#8883bf)}.fallback-card[data-foil] img{width:86%;height:86%;mix-blend-mode:multiply}.fallback-card[data-prism] img{filter:drop-shadow(1px 3px 1px #0004)}
body[data-immersive] .phone-status,body[data-immersive] .dynamic-island,body[data-immersive]>.home-indicator{display:none}body[data-immersive] #inbox{padding-top:max(54px,env(safe-area-inset-top))}body[data-immersive] #invite-sheet{bottom:max(8px,env(safe-area-inset-bottom));max-height:calc(100% - 100px)}
@media(hover:hover) and (pointer:fine){.primary:hover{background:var(--hs-dark-hover);box-shadow:var(--hs-dark-hover-shadow)}.primary:active{background:var(--hs-dark-pressed)}.secondary:hover{background:white}.round-button:hover{color:#171717;background:#dedede}.invite-trigger:hover{background:#fff}}
@media(pointer:coarse){#motion-toggle{display:grid}.round-button{width:44px;height:44px;right:-13px}#motion-toggle{left:-13px}}
@media(max-height:740px){#invite-sheet{height:calc(100% - 90px);max-height:calc(100% - 90px);overflow-y:auto;overscroll-behavior:contain}.hero{height:210px}#sheet-copy{margin-top:8px;margin-bottom:30px}.sheet-actions{margin-top:18px}.feedback{position:relative;bottom:auto;left:auto;right:auto;min-height:16px;margin-top:6px}}
@media(max-height:620px){#invite-sheet{height:calc(100% - 60px);max-height:calc(100% - 60px)}.hero{height:155px}.hero>div{scale:.82}#sheet-copy{font-size:16px;margin-top:6px}.sheet-actions{margin-top:14px}.invite-balance{height:50px}.primary,.secondary{min-height:54px}}
@media(prefers-reduced-motion:reduce){#invite-sheet::backdrop{transition:none}}
@media(prefers-reduced-transparency:reduce){.fallback-card{background:#fff}.share-panel{box-shadow:0 0 0 500px #f6f6f6}}
@media(forced-colors:active){#invite-sheet,.primary,.secondary,.invite-balance,.round-button{background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none}.fallback-card{background:Canvas;outline:1px solid CanvasText}}
/* Let the artwork take the remaining space and keep the actions anchored. */
#invite-sheet[open]{display:flex;flex-direction:column}.sheet-grip,.sheet-heading,#sheet-copy,.invite-balance,.sheet-actions{flex-shrink:0}.hero{flex:1 0 200px;height:auto}
@media(max-height:740px){.hero{flex-basis:180px}}
@media(max-height:620px){.hero{flex-basis:150px}}

.feedback:not(:empty){position:relative;bottom:auto;left:auto;right:auto;flex:none;margin:12px 0 -8px;font-size:12px;line-height:17px}#share-feedback{font-size:13px;color:#636363;margin:10px 0 0}#share-feedback:empty{display:none}button:disabled{cursor:default}

#tile-targets{pointer-events:none}.tile-target{position:absolute;left:0;top:0;width:150px;height:150px;padding:0;border:0;border-radius:28.1%;background:transparent;pointer-events:auto;touch-action:none;cursor:grab;transform-origin:center;user-select:none;-webkit-user-select:none}.tile-target[data-circle]{border-radius:50%}.tile-target[data-dragging]{cursor:grabbing}.tile-target:focus-visible{outline:2px solid var(--hs-blue);outline-offset:4px}

.fallback-card[data-prism] img{opacity:0}.fallback-card[data-prism]::after{content:'';position:absolute;width:62.5%;height:62.5%;background:linear-gradient(135deg,#30343d 28%,#3c424d 46%,#9ca6bb 48%,#454d60 50%,#272d36 68%);mask:var(--prism-mask) center/contain no-repeat;-webkit-mask:var(--prism-mask) center/contain no-repeat}.fallback-card[data-palette=blue]::after{background:linear-gradient(135deg,#173469 28%,#284c90 46%,#a7caff 48%,#3556a3 50%,#172f63 68%)}

/* Compact is a shorter sheet, not smaller artwork inside the full-height one.
   Fixed text/action sizes stay intact; the illustration gives back 106 px. */
#invite-sheet[data-compact]{height:516px}
#invite-sheet[data-compact] .hero{flex-basis:160px}
