/* The Standard · Social Club Build 1. A white editorial extension, not a redesign. */
.std-nav.social-nav{grid-template-columns:repeat(5,minmax(0,1fr));background:rgba(255,255,255,.98)!important}
.std-nav.social-nav button{font-size:10px;min-width:0;gap:4px;white-space:nowrap}
.std-nav.social-nav button svg{width:21px;height:21px}
.std-nav.social-nav button.active{color:#861b32}
.social-screen,.social-entry{background:#fff;color:#141213;height:100dvh;overflow:hidden;display:flex;flex-direction:column;padding-bottom:calc(67px + env(safe-area-inset-bottom))}
.social-entry{padding-bottom:0}
.social-header{padding:calc(18px + env(safe-area-inset-top)) 21px 11px;flex:0 0 auto;background:#fff}
.social-header .std-wordmark{font-size:24px;line-height:1.12;letter-spacing:.09em}
.social-header .std-wordmark small{letter-spacing:.36em;margin-top:5px;font-size:6.5px}
.social-header h1{font:400 35px/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.04em;margin:18px 0 3px}
.social-header p{font-size:11px;color:#8b8181;line-height:1.55;margin:0}
.social-main{overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;padding:8px 20px 25px;-webkit-overflow-scrolling:touch}
.social-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:4px;margin:0 0 16px;border-radius:12px;background:#f2f2f2}
.social-tabs button{border:0;border-radius:9px;padding:12px 4px;font-size:11px;color:#8a8383;background:transparent;min-width:0}
.social-tabs button.active{background:#fff;color:#181515;box-shadow:0 1px 3px #00000013}
.social-section-title{display:flex;align-items:baseline;justify-content:space-between;margin:17px 0 9px;gap:8px}
.social-section-title h2,.social-detail-content h2,.social-admin-title{font:400 23px/1.15 Georgia,'Times New Roman',serif;margin:0;letter-spacing:-.02em}
.social-section-title button,.social-city-line button{background:transparent;border:0;color:#861b32;font-size:11px;font-weight:650;padding:8px 0}
.social-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 9px}
.social-group-card{display:flex;min-width:0;flex-direction:column;text-align:left;background:transparent;padding:0;border:0;color:#151313;cursor:pointer}
.social-group-card img{width:100%;height:98px;object-fit:cover;display:block;border-radius:10px;background:#ddd}
.social-group-card strong{font:400 15px/1.18 Georgia,'Times New Roman',serif;margin:6px 0 2px;letter-spacing:-.02em}
.social-group-card small{font-size:10px;color:#847a7a}
.social-group-list{border-bottom:1px solid #eee9e9}
.social-group-row,.social-person-row{border:0;border-top:1px solid #f0ecec;display:flex;align-items:center;gap:12px;padding:11px 0;background:#fff;text-align:left;width:100%;color:#161414}
.social-group-row img{height:58px;width:66px;object-fit:cover;border-radius:9px}
.social-group-row span,.social-person-row span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}
.social-group-row strong,.social-person-row strong{font:400 17px/1.16 Georgia,serif}
.social-group-row small,.social-person-row small{color:#877d7d;font-size:11px}
.social-group-row em,.social-person-row em{font-style:normal;color:#8d8585;font-size:20px}
.social-actions{display:flex;flex-direction:column;gap:10px;margin-top:19px}
.social-primary,.social-outline{width:100%;min-height:45px;border-radius:27px;padding:12px 15px;font-size:13px;font-weight:700;text-align:center;cursor:pointer}
.social-primary{color:#fff;background:#861b32;border:1px solid #861b32}
.social-outline{border:1px solid #861b32;color:#861b32;background:#fff}
.social-primary[disabled],.social-outline[disabled]{opacity:.52;cursor:default}
.social-text{background:none;border:0;color:#861b32;padding:13px;cursor:pointer;font-size:12px;text-decoration:underline}
.social-admin-quick{color:#861b32;border:0;background:none;padding:20px 0;font-size:12px;font-weight:600}
.social-city-line{display:flex;align-items:center;gap:6px;font-size:10px;color:#5b5052;margin-top:-7px}
.social-city-line span{font-size:8px;letter-spacing:.17em;color:#a29a99}
.social-city-line strong{flex:1;font-weight:600}
.social-demo-note{color:#861b32;font-size:9px;letter-spacing:.1em;margin:4px 20px 0;border-top:1px solid #eee;padding:6px 0}
.social-home-entry{flex:0 0 auto;border:1px solid #e8e2e2;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 3px 12px #0000000a;margin-top:3px}
.social-home-entry-image{height:103px;position:relative;overflow:hidden}
.social-home-entry-image img{width:100%;height:100%;object-fit:cover;object-position:center 48%;filter:brightness(.65)}
.social-home-entry-image span{position:absolute;left:14px;bottom:11px;color:#fff;font:600 8px/1.35 Georgia,serif;letter-spacing:.24em;text-shadow:0 1px 10px #000a}
.social-home-entry-image strong{font:400 25px/1.12 Georgia,serif;letter-spacing:-.03em}
.social-home-entry-image small{display:block;font:400 9px/1.6 system-ui,sans-serif;letter-spacing:0}
.social-home-entry>button{background:#fff;color:#861b32;border:0;display:flex;align-items:center;width:100%;min-height:45px;text-align:left;gap:9px;padding:7px 12px;font-size:11px}
.social-home-entry>button strong{flex:1;font-weight:650}
.social-home-entry>button em{font-style:normal;font-size:20px}
.social-card-symbol{display:grid;place-items:center;border-radius:50%;height:29px;width:29px;background:#861b32;color:#fff;font-size:20px}
.std-home-screen .social-home-entry{margin-top:4px}
.std-home-screen .std-home-date-card{background:#fff!important;border:1px solid #ded8d8!important;box-shadow:none!important;min-height:60px!important}
.std-home-screen .std-home-main{overflow-y:auto!important;scrollbar-width:none;padding-bottom:8px}
.std-home-screen .std-home-main::-webkit-scrollbar{display:none}
.std-home-screen .std-home-hero .std-wordmark,.social-screen .std-wordmark{color:#171313}
.std-home-screen .std-home-date-icon{background:#861b32!important}
.social-detail-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:30px}
.social-cover{height:188px;position:relative;margin:calc(env(safe-area-inset-top)) 10px 0;border-radius:12px 12px 0 0;overflow:hidden}
.social-cover>img{width:100%;height:100%;object-fit:cover}
.social-cover-back{position:absolute;top:9px;left:11px;width:33px;height:33px;border:0;border-radius:99px;background:#1913139e;color:#fff;font:30px/1 Georgia,serif}
.social-detail-content{padding:18px 21px 30px}
.social-detail-kicker,.social-eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:#861b32;text-transform:uppercase}
.social-detail-content h1{font:400 31px/1.1 Georgia,serif;letter-spacing:-.045em;margin:8px 0 7px}
.social-detail-desc,.social-muted{font-size:13px;line-height:1.55;color:#787070;margin:8px 0 16px}
.social-member-count{font-size:12px;color:#4c4545;margin:14px 0}
.social-joined{font-size:12px;color:#861b32;font-weight:600;border:1px solid #e7dadb;border-radius:30px;padding:12px 16px;text-align:center}
.social-detail-actions{display:flex;align-items:center;gap:10px;margin-top:9px}
.social-detail-actions .social-outline{flex:1}
.social-detail-divider{border-top:1px solid #ece8e8;margin:25px 0 19px}
.social-detail-content h2{font-size:24px}
.social-back{border:0;background:#fff;color:#861b32;font-size:12px;padding:12px 0 17px;display:block;text-align:left}
.social-page-title{font:400 33px/1.13 Georgia,'Times New Roman',serif;letter-spacing:-.035em;margin:9px 0 10px}
.social-form{display:flex;flex-direction:column;gap:16px;padding:7px 0 25px}
.social-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:#312b2b}
.social-form input:not([type=file]),.social-form textarea,.social-form select{background:#fff;border:1px solid #ded8d8;border-radius:9px;padding:12px;min-height:44px;width:100%;font:400 15px/1.3 system-ui,-apple-system,sans-serif;color:#201d1d;outline-offset:2px}
.social-form textarea{resize:vertical}
.social-form input[readonly]{background:#f6f5f5;color:#726a6a}
.social-form label:has(input[type=file]){font-size:12px;border:1px dashed #d5cdcd;border-radius:9px;padding:12px}
.social-form select{appearance:auto}
.social-form .social-primary{margin:5px 0 12px}
.social-entry-btn{display:block;width:calc(100% - 35px);margin:22px auto;padding:13px 15px;border:1px solid #861b32;border-radius:9px;background:#fff;color:#861b32;font-size:12px;line-height:1.45;font-weight:700;text-align:center}
.social-empty{grid-column:1/-1;font-size:12px;color:#7e7474;line-height:1.5}
.social-empty-state{text-align:center;max-width:320px;margin:48px auto;padding:0 12px}
.social-empty-state>span{font:34px Georgia;color:#861b32}.social-empty-state h2{font:400 26px/1.2 Georgia,serif;margin:9px 0}.social-empty-state p{font-size:13px;line-height:1.6;color:#786e6e}
.social-empty-state .social-outline{margin-top:13px}
.social-alert{color:#a02138;background:#fff6f6;border:1px solid #e8c3c9;border-radius:8px;padding:11px;font-size:12px;overflow-wrap:anywhere}
.social-notice{color:#555b4c;font-size:12px;line-height:1.4}
.social-person-row .social-avatar{flex-shrink:0}
.social-avatar{display:grid;place-items:center;height:48px;width:48px;border-radius:50%;background:#ece7e7;color:#861b32;object-fit:cover;font:400 23px Georgia,serif;flex-shrink:0}
.social-avatar.large{width:73px;height:73px;font-size:36px}
.social-sheet-overlay{position:fixed;inset:0;z-index:500;display:flex;flex-direction:column;justify-content:flex-end;background:#0005}
.social-sheet{border-radius:24px 24px 0 0;background:#fff;padding:10px 23px calc(25px + env(safe-area-inset-bottom));max-height:45dvh;overflow:auto}
.social-sheet-handle{background:#d5d0d0;border-radius:20px;height:4px;width:43px;margin:1px auto 22px}
.social-sheet-top{display:flex;align-items:center;gap:14px}
.social-sheet-top>div{flex:1;min-width:0}
.social-sheet-top h2{font:400 25px Georgia,serif;margin:0 0 3px}
.social-sheet-top p{font-size:12px;color:#797070;margin:4px 0}
.social-sheet-top>button{border:0;background:#f3f1f1;border-radius:50%;width:29px;height:29px;font-size:20px}
.social-sheet-bio{font-size:13px;line-height:1.5;color:#494343;margin:17px 0 8px}
.social-shared{font-size:11px;color:#861b32;margin:12px 0 0}
.social-photo-picker{display:flex;align-items:center;gap:16px;margin:20px 0}.social-photo-picker .social-outline{width:auto;min-height:0;font-size:11px}
.social-proposal,.social-admin-item{padding:14px 0;border-bottom:1px solid #e8e4e4;display:flex;flex-direction:column;gap:5px}
.social-proposal strong{font:400 18px Georgia,serif}.social-proposal span,.social-admin-item p,.social-admin-item small{font-size:12px;color:#736a6a;overflow-wrap:anywhere}
.social-admin-title{margin:23px 0 2px}
.social-admin-item{gap:4px}.social-admin-item strong{font-size:13px}.social-admin-item p{margin:3px 0;line-height:1.5}.social-admin-item>div{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0}
.social-admin-item button{background:#fff;color:#861b32;border:1px solid #d2aeb5;border-radius:7px;padding:8px 10px;font-size:11px;text-transform:capitalize}
.social-admin-item button[disabled]{opacity:.35}
.social-small{font-size:11px;line-height:1.5;color:#928889}
.social-home .social-home-hero{height:194px;background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:20px;border-radius:14px;margin:20px 0;color:#fff;position:relative;isolation:isolate}
.social-home .social-home-hero:before{content:'';position:absolute;inset:0;background:#0005;z-index:-1;border-radius:14px}
.social-home .social-home-hero>span{font:600 12px Georgia;letter-spacing:.15em}
.social-home .social-home-hero strong{font:400 38px Georgia;letter-spacing:-.03em}
.social-home .social-outline{margin-top:10px}
@media(max-height:760px){.social-header{padding-top:calc(9px + env(safe-area-inset-top))}.social-header h1{font-size:31px;margin-top:12px}.social-group-card img{height:82px}.social-feature-grid{gap:10px 9px}.social-cover{height:160px}.social-tabs button{padding:9px 2px}.social-home-entry-image{height:83px}}
@media(min-width:700px){.social-sheet{max-width:500px;width:100%;margin:auto auto 0}.social-sheet-overlay{align-items:center}}
.social-host-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #ece8e8;padding:13px 0}
.social-host-row>span{flex:1;display:flex;flex-direction:column;gap:3px}.social-host-row strong{font:400 17px Georgia,serif}.social-host-row small{font-size:11px;color:#857a7a;text-transform:capitalize}
.social-host-row .social-outline{width:auto;min-height:0;font-size:11px;padding:9px 11px}
.social-you-card{display:flex;align-items:center;gap:16px;border:1px solid #e5dfdf;border-radius:16px;padding:17px;margin:16px 0 23px}
.social-you-card>div{flex:1}.social-you-card h2{font:400 26px Georgia,serif;margin:0 0 7px}.social-you-card p{font-size:12px;color:#837979;margin:2px 0}
.social-you-row{padding:16px 3px;display:flex;gap:12px;align-items:center;border:0;border-bottom:1px solid #ece6e6;width:100%;background:#fff;color:#242020;text-align:left}
.social-you-row>span{flex:1;display:flex;flex-direction:column;gap:5px}.social-you-row strong{font-size:13px;font-weight:650}.social-you-row small{font-size:11px;color:#8c8181}.social-you-row em{font-style:normal;font-size:18px;color:#8c8181}

/* Social Club Build 2 · Gathering and chat UI. All new surfaces remain pure white. */
.social-activity-link{display:block;margin:-9px 0 12px auto;padding:6px 0;border:0;background:#fff;color:#861b32;font-size:11px;font-weight:650;text-align:right}
.social-event-list{display:flex;flex-direction:column;border-top:1px solid #eee9e9}
.social-event-row{width:100%;min-height:84px;display:flex;align-items:center;gap:12px;padding:11px 0;border:0;border-bottom:1px solid #eee9e9;background:#fff;text-align:left;color:#1e1919}
.social-event-row>img{height:72px;width:78px;border-radius:9px;object-fit:cover;background:#e8e3e3;flex:none}
.social-event-row>span{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.social-event-row strong{font:400 16px/1.15 Georgia,serif;letter-spacing:-.025em}
.social-event-row small{font:400 10px/1.35 system-ui,sans-serif;color:#827676}
.social-event-row em{font:400 22px Georgia,serif;color:#8c8181}
.social-event-meta{display:flex;flex-direction:column;gap:7px;margin:16px 0 18px}
.social-event-meta p{margin:0;font-size:12px;line-height:1.5;color:#514a4a}
.social-event-meta small{color:#8e8282;font-size:10px}
.social-reservation-label{border:1px solid #e2d5d6;border-radius:8px;padding:11px 12px;color:#861b32;font-size:12px;font-weight:650;line-height:1.35}
.social-reservation-label.confirmed{border-color:#ccd8ca;color:#365c42}
.social-event-row:focus-visible,.social-activity-item:focus-visible{outline:2px solid #861b32;outline-offset:2px}
.social-external{display:block;text-decoration:none;margin-top:12px}
.social-detail-actions .social-outline{min-width:0;padding:10px 4px;font-size:11px}
.social-manager{margin-top:20px;display:flex;flex-direction:column;gap:7px}
.social-manager small{font-size:11px;line-height:1.4;color:#777}
.social-report{display:block;margin:25px auto 0;color:#857676;font-size:11px}
.social-form label>small{font-size:10px;color:#888;font-weight:400}
.social-activity-item{display:flex;width:100%;flex-direction:column;gap:5px;padding:16px 12px;border:0;border-bottom:1px solid #eae4e4;background:#fff;text-align:left;color:#181414}
.social-activity-item.unread{border-left:3px solid #861b32;padding-left:9px}
.social-activity-item strong{font-size:13px;font-weight:650}
.social-activity-item small{font-size:11px;color:#786d6d}
.social-activity-item em{font-size:10px;font-style:normal;color:#958787}
.social-chat-header{flex:none;display:flex;align-items:center;gap:12px;background:#fff;padding:calc(13px + env(safe-area-inset-top)) 20px 13px;border-bottom:1px solid #ede8e8}
.social-chat-header>button{flex:none;border:0;background:transparent;color:#861b32;font:400 26px Georgia,serif;padding:4px}
.social-chat-header>span{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.social-chat-header strong{font:400 19px/1.13 Georgia,serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-chat-header small{font-size:10px;color:#827879}
.social-chat-header .social-chat-refresh{font:400 22px system-ui,sans-serif}
.social-chat-feed{flex:1;overflow-y:auto;min-height:0;padding:19px 18px 28px;display:flex;flex-direction:column;gap:14px;overscroll-behavior:contain}
.social-bubble{align-self:flex-start;max-width:87%;border-radius:13px 13px 13px 3px;background:#f2f1f1;padding:11px 13px;overflow-wrap:anywhere}
.social-bubble.mine{align-self:flex-end;color:#fff;background:#861b32;border-radius:13px 13px 3px 13px}
.social-bubble small{font-size:9px;color:#817575}
.social-bubble.mine small{color:#f6e2e8}
.social-bubble p{font-size:12px;line-height:1.48;margin:5px 0 0;white-space:pre-wrap}
.social-bubble>button{margin:8px 0 0;padding:0;border:0;background:transparent;color:#861b32;font-size:10px;text-decoration:underline}
.social-chat-empty{margin:auto;text-align:center}
.social-chat-form{flex:none;display:flex;align-items:center;gap:9px;background:#fff;border-top:1px solid #eee9e9;padding:9px 17px calc(10px + env(safe-area-inset-bottom))}
.social-chat-form input{flex:1;min-width:0;border:1px solid #e4dddd;border-radius:24px;background:#fff;min-height:44px;padding:10px 15px;font-size:13px;outline-offset:2px}
.social-chat-form button{flex:none;border:0;border-radius:50%;width:40px;height:40px;background:#861b32;color:#fff;font-size:21px}
.social-chat-form button:disabled{opacity:.45}
.social-chat-feed + .social-chat-form + .std-nav.social-nav{position:relative}
/* Explicit clearance under fixed five-tab bar; Build 1 Create a Group should not be cropped. */
.social-main,.social-detail-scroll{scroll-padding-bottom:48px}
.social-actions{padding-bottom:32px}
.social-screen:has(.social-chat-feed){padding-bottom:calc(67px + env(safe-area-inset-bottom))}
.social-screen:has(.social-chat-feed) .social-chat-form{padding-bottom:9px}
@media(max-width:360px){.social-event-row>img{height:60px;width:65px}.social-event-row strong{font-size:15px}.social-detail-content{padding-left:17px;padding-right:17px}}

.social-main{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
.social-detail-scroll{padding-bottom:calc(96px + env(safe-area-inset-bottom))}

/* Social Club Build 3 · People, attendance, visibility and small-screen clearance */
.social-main,.social-detail-scroll{scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom))}
.social-actions{padding-bottom:calc(48px + env(safe-area-inset-bottom))}
.social-people-hub{padding-bottom:45px}
.social-people-hub>.social-page-title{margin-bottom:8px}
.social-past-event{padding:14px 0 8px;border-top:1px solid #eee8e8}
.social-past-event>strong{display:block;font:400 19px/1.25 Georgia,serif;color:#1b1717}
.social-past-event>small{display:block;color:#786f6f;margin:5px 0 8px;font-size:11px}
.social-past-event .social-person-row{padding:11px 0}
.social-boundary{margin:26px 0 8px;padding:17px 16px;border:1px solid #e9e1e1;border-radius:13px;background:#fff}
.social-boundary strong{font:400 18px Georgia,serif}
.social-boundary p{font-size:12px;line-height:1.65;color:#685f5f;margin:8px 0 0}
.social-past-optin{margin:20px 0 16px;padding:18px 14px;border-top:1px solid #ece6e6;border-bottom:1px solid #ece6e6}
.social-past-optin>strong{font:400 18px Georgia,serif}
.social-past-optin>p{font-size:12px;line-height:1.5;color:#655d5d}
.social-past-optin label{display:flex;align-items:center;gap:10px;font-size:13px;cursor:pointer}
.social-past-optin input,.social-attendance-check input{accent-color:#861b32;width:18px;height:18px;flex:none}
.social-attendance-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #eee8e8}
.social-attendance-row .social-person-row{flex:1;min-width:0;border-bottom:0}
.social-attendance-check{display:flex;flex:none;align-items:center;gap:5px;font-size:11px;color:#514343;cursor:pointer}
.social-boundary,.social-past-optin{max-width:100%}
.social-plan-tools{margin:16px 0;padding:14px 0;border-top:1px solid #eee8e8;display:flex;flex-direction:column;gap:10px}
.social-plan-tools p{font-size:12px;line-height:1.55;color:#746767}
.std8-plan-change{display:flex;flex-direction:column;gap:8px;margin:16px 0 10px}
.std8-plan-change p{font-size:12px;line-height:1.6;color:#665d5d}

.social-chat-closed{flex:none;font-size:12px;color:#786d6d;border-top:1px solid #ede8e8;margin:0;padding:14px 20px calc(24px + env(safe-area-inset-bottom));background:#fff;text-align:center}

/* Home spacing refinement: let the Social Club photograph use the space
   between the Selections and Plan a Date without stretching either CTA.
   On shorter devices keep the original compact image and allow scrolling. */
.std-home-screen .social-home-entry {
  display:flex;
  flex-direction:column;
  flex:1 0 148px;
}
.std-home-screen .social-home-entry-image {
  flex:1 1 auto;
  height:auto;
  min-height:103px;
  max-height:190px;
}
.std-home-screen .social-home-entry > button {
  flex:0 0 auto;
}
@media (max-height:760px) {
  .std-home-screen .social-home-entry {
    flex-basis:128px;
  }
  .std-home-screen .social-home-entry-image {
    min-height:83px;
  }
}
