html,body{max-width:100%;overflow-x:clip}
.auth-screen{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:48px 24px;background:radial-gradient(ellipse at 82% 12%,#e4f3c580,transparent 40%),radial-gradient(ellipse at 8% 90%,#e9efdd80,transparent 42%),#f8f9f4}
.auth-card{width:min(100%,510px);padding:46px 48px 35px;border:1px solid #e0e6d5;border-radius:24px;background:#fffefa;box-shadow:0 18px 70px #3646230b}
.auth-card .brand{font-size:47px;padding:0;margin:0 0 38px;letter-spacing:-3px}
.auth-card>.eyebrow{font-size:10px;color:#647448;letter-spacing:1.6px;margin-bottom:15px}
.auth-card h1{font-size:clamp(35px,4vw,48px);line-height:1.12;letter-spacing:-2px;margin:0 0 22px;font-weight:600;overflow-wrap:break-word}
.auth-card h1>span{color:#95af48}
.auth-card>p{font-size:14px;line-height:1.8;color:#66715d;margin:0 0 28px}
.auth-card>.primary-button{width:100%;font-size:13px;min-height:50px;border-radius:11px}
.auth-card>small{display:block;font-size:11px;line-height:1.75;color:#69755e;margin-top:17px;text-align:center}
.auth-footnote{border-top:1px solid #e4e9dc;margin-top:31px;padding-top:22px;font-size:10px;letter-spacing:.5px;text-align:center;color:#65724f}
.signup-card{width:min(100%,650px);padding:36px 44px}
.signup-card .brand{font-size:37px;margin-bottom:23px}
.signup-card h1{font-size:34px;letter-spacing:-1.4px;margin-bottom:12px}
.signup-card>p{font-size:13px;margin-bottom:26px}
.signup-card form,.profile-form{min-width:0}
.instagram-connection{min-width:0;padding:21px;border:1px solid #d9e6c5;border-radius:14px;background:#f5f9ee}
.connection-heading{display:flex;align-items:center;gap:10px;font-size:14px;color:#374b27}
.connection-heading>.icon{width:20px;height:20px;flex:none}
.instagram-connection>p{font-size:12px;line-height:1.7;color:#627450;margin:12px 0 17px}
.instagram-connection>.primary-button{width:100%;min-height:48px;margin:0;font-size:12px}
.instagram-connection>#continue-instagram{justify-content:center;margin-top:12px}
.instagram-connection>.field-note{margin:13px 0 0;font-size:11px}
.instagram-connection>.form-error{margin:12px 0 0;color:#a43e30}
.instagram-connection>.disconnect-instagram{display:block;margin:16px 0 0;font-size:11px;text-decoration:underline;text-underline-offset:3px;color:#627450}
.instagram-connection>[hidden]{display:none!important}
.public-profile-option{margin-top:22px;min-width:0;border-top:1px solid #e0e6d7;padding-top:19px}
.public-profile-option>summary{cursor:pointer;font-size:12px;font-weight:600;color:#5a6949;padding:5px 0;list-style-position:inside}
.public-profile-option>summary:focus-visible{outline:3px solid #526e2d;outline-offset:3px;border-radius:4px}
.public-profile-option form>.primary-button{width:100%;min-height:48px;margin-top:25px;font-size:12px}
.profile-signout{display:inline-block;margin-top:24px;font-size:11px}
.signup-card .field-label,.profile-form .field-label{display:block;font-size:12px;font-weight:600;color:#48553a;margin:20px 0 9px}
.signup-card .form-input,.profile-form .form-input{width:100%;min-width:0;min-height:45px;font-size:12px;background:#fff;border-color:#d8dfce;color:#303a28;line-height:1.5}
.signup-card .form-input::placeholder,.profile-form .form-input::placeholder{color:#727d65;opacity:1}
.signup-card .field-note,.profile-form .field-note,.field-note{font-size:11px;line-height:1.7;color:#66745a;margin:10px 0 0;overflow-wrap:anywhere}
.import-row{display:flex;gap:9px;align-items:stretch;min-width:0}
.import-row .form-input{flex:1;min-width:0;width:0}
.import-row .secondary-button{flex:none;white-space:nowrap;justify-content:center;font-size:11px;color:#40552f;border-color:#d6e2c4;background:#f1f7e7;padding:11px 14px}
.import-row .secondary-button:hover{background:#e7f1d5}
.signup-card .reel-form-title{margin-top:24px;padding-top:23px}
.signup-card .reel-form-title h3,.profile-form .reel-form-title h3{font-size:13px;color:#3d4b30}
.signup-card .reel-form-title>span,.profile-form .reel-form-title>span{color:#677557}
.signup-card .reel-url-row{gap:9px}
.signup-card .reel-url-row>span{color:#63714f;font-size:11px;flex:none}
.reel-url-row button{min-width:34px;min-height:42px;color:#667451}
.signup-card form>.primary-button{width:100%;min-height:48px;margin-top:25px;font-size:12px}
.auth-card .form-error,.profile-form .form-error{color:#a43e30;font-size:12px;line-height:1.7}
.invite-pill{min-height:39px;padding:10px 16px;border:1px solid #d1dfb6;border-radius:24px;background:#eef6df;color:#415431;font-size:11px;font-weight:600;white-space:nowrap}
.invite-pill:hover{background:#e2f0c9;border-color:#bccf99}
.header-right{flex-shrink:0}
.page-header>div:first-child{min-width:0}
.page-header h1,.page-header p{overflow-wrap:break-word}
.media-loading{position:absolute;inset:0;z-index:7;display:grid;place-items:center;padding:24px;background:#1a241df5;color:#f1f6e9;text-align:center;font-size:13px;line-height:1.7}
.loading-orbit{width:31px;height:31px;margin:28px auto 0;border:3px solid #e7eedb;border-top-color:#7b9640;border-radius:50%;animation:loading-spin .85s linear infinite}
#instagram-embed,.instagram-embed{position:absolute;top:70px;left:18px;width:calc(100% - 36px);height:calc(100% - 142px);border:0;border-radius:8px;background:#fff;z-index:1}
.reel-player:has(#instagram-embed:not([hidden])){background:#20291d}
.reel-player:has(#instagram-embed:not([hidden])) .video-shade{display:none}
.reel-player:has(#instagram-embed:not([hidden])) .reel-top,.reel-player:has(#instagram-embed:not([hidden])) .reel-progress{z-index:2}
.reel-player:has(#instagram-embed:not([hidden])) .reel-bottom{display:none}
.reel-player:has(#instagram-embed:not([hidden])) .reel-actions{z-index:2;inset:auto 18px 13px;flex-direction:row;justify-content:space-around;gap:14px}
.reel-player:has(#instagram-embed:not([hidden])) .reel-action{min-width:44px;min-height:44px;gap:5px}
.reel-player:has(#instagram-embed:not([hidden])) .reel-action .icon{height:23px;width:23px}
.reel-player:has(#instagram-embed:not([hidden])) .swipe-stamp{z-index:4}
.video-status{z-index:8;line-height:1.7;overflow-wrap:anywhere}
.video-status a{text-decoration:underline;text-underline-offset:3px;color:#e5f6be}
.reel-placeholder{height:100%;width:100%;display:grid;place-items:center;background:linear-gradient(145deg,#849967,#2e402a);color:#eef4df}
.reel-placeholder .icon{width:33px;height:33px;stroke-width:1.3}
.player-reel-navigation{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px}
.player-reel-navigation .round-button{width:44px;height:44px;flex:none}
.player-reel-navigation>span{font-size:10px;color:#66745a;min-width:40px;text-align:center}
.vibe-column .reel-navigation{display:none}
.end-feed .automatic-waiting{display:flex;align-items:center;gap:8px;padding:13px 18px;border-radius:24px;background:#edf5df;color:#4b6237;margin:0 0 22px}
.automatic-waiting .icon{width:16px;height:16px;flex:none}
.rotation-card:nth-child(2n) .reel-placeholder{background:linear-gradient(145deg,#a4a58b,#4b5640)}
.rotation-card:has(.reel-placeholder):after{background:linear-gradient(180deg,#0002,transparent 35%,#18241590)}
.rotation-card:focus-visible{outline:3px solid #526e2d;outline-offset:4px}
.auth-card a:focus-visible,.auth-card button:focus-visible,.auth-card input:focus-visible,.invite-pill:focus-visible{outline:3px solid #526e2d;outline-offset:3px}
.primary-button:disabled,.secondary-button:disabled{opacity:.65;color:#47543b}
@keyframes loading-spin{to{transform:rotate(360deg)}}
@media(max-width:950px) and (min-width:721px){.auth-card .brand{font-size:47px;margin-bottom:35px}.signup-card .brand{font-size:37px;margin-bottom:23px}.page-header{gap:18px}.header-right{gap:10px}.invite-pill{padding:10px 12px}}
@media(max-width:720px){
  .auth-screen{padding:24px 16px;align-items:flex-start}
  .auth-card{margin:auto 0;padding:32px 26px 27px;border-radius:19px}
  .auth-card .brand{font-size:43px;margin-bottom:31px}
  .auth-card h1{font-size:38px;letter-spacing:-1.6px;margin-bottom:21px}
  .auth-card>p{font-size:13px;line-height:1.8}
  .signup-card{padding:27px 23px;margin:0}
  .signup-card .brand{font-size:36px;margin-bottom:23px}
  .signup-card h1{font-size:29px;letter-spacing:-1.2px}
  .signup-card .form-input,.profile-form .form-input{font-size:16px;min-height:46px}
  .import-row{flex-wrap:wrap}
  .import-row .form-input{width:100%;flex:1 1 100%}
  .import-row .secondary-button{width:100%;min-height:43px;font-size:12px}
  .page-header{position:relative;gap:11px;align-items:flex-start}
  .page-header>div:first-child{flex:1}
  .page-header h1{font-size:23px;line-height:1.2;letter-spacing:-1px}
  .page-header p{font-size:10px;line-height:1.6}
  .header-right{gap:7px;margin-left:0;padding-top:17px}
  .invite-pill{font-size:0;padding:0;width:34px;min-height:34px;display:grid;place-items:center}
  .invite-pill:after{content:'↗';font-size:19px;line-height:1}
  .reel-player{min-height:330px;height:clamp(330px,calc(100svh - 396px),650px)}
  .viewer-column{max-width:410px;min-width:0}
  .profile-layout,.profile-form,.connection-grid{min-width:0}
  .profile-form{padding:23px 19px}
  .gesture-hint{white-space:normal;flex-wrap:wrap;row-gap:5px}
  .empty-state,.end-feed,.liked-empty{min-height:380px;padding:32px 18px}
  .chat-bubble,.conversation-header strong{overflow-wrap:anywhere}
}
@media(max-width:370px){.auth-screen{padding:18px 12px}.auth-card{padding:29px 22px}.auth-card h1{font-size:34px}.signup-card h1{font-size:27px}.signup-card{padding:26px 18px}.signup-card .reel-url-row{gap:5px}.page-header h1{font-size:21px}.header-right{gap:5px}.header-right .round-button,.invite-pill{width:31px;height:31px;min-height:31px}.auth-footnote{font-size:9px}}
@media(max-height:700px){.auth-screen{align-items:flex-start;padding-top:24px;padding-bottom:24px}.auth-card{margin:0}.signup-card .brand{margin-bottom:19px}.signup-card>p{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.loading-orbit{animation:none}}
