#socialDialog{width:min(1040px,calc(100vw - 24px));max-width:1040px;padding:0;background:#f8f7f0;color:#173c32;max-height:92dvh;overflow:auto;border-radius:24px}#socialDialog::backdrop{background:#0c2c27a8}.social-shell{padding:24px}.social-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.social-head h2{margin:5px 0 10px;font-size:32px}.social-head button{font-size:22px;width:42px;height:42px}.social-tabs,.social-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.social-tabs button,.social-actions button,.social-card button,.social-shell button{cursor:pointer;border-radius:12px;padding:10px 14px;border:1px solid #d1dacd;background:white;color:#173c32;font:inherit}.social-tabs button[aria-current=true],.social-shell button.primary{background:#184c3b;color:#fff;border-color:#184c3b}.social-shell button:disabled{opacity:.5;cursor:wait}.social-content{min-height:220px}.social-card,.social-empty{padding:18px;border:1px solid #dce0d3;border-radius:18px;background:#fff;margin-bottom:12px}.social-card p{margin:8px 0;overflow-wrap:anywhere}.social-muted{color:#61746a;font-size:14px}.social-person{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}.social-person h3{margin:0}.social-shell input,.social-shell textarea,.social-shell select{display:block;box-sizing:border-box;width:100%;padding:11px;border:1px solid #c6d0c3;border-radius:10px;background:#fff;color:#173c32;font:inherit;margin:6px 0 14px}.social-shell label{display:block;font-weight:600}.social-shell textarea{min-height:90px;resize:vertical}.social-search{display:flex;gap:8px;align-items:center}.social-search input{margin:0}.social-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.social-photo{margin:0;background:#fff;border:1px solid #dce0d3;border-radius:16px;overflow:hidden}.social-photo img{width:100%;height:180px;object-fit:cover;display:block}.social-photo figcaption{padding:12px;overflow-wrap:anywhere}.social-photo button{margin:5px}.social-map{height:330px;width:100%;background:#c9e4e9;border-radius:16px;overflow:hidden;margin:14px 0;z-index:0}.social-coords{display:grid;grid-template-columns:1fr 1fr;gap:12px}.social-photo-preview{max-width:100%;max-height:220px;object-fit:contain;border-radius:12px}.social-chat{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}.social-chat-list button{display:block;text-align:left;width:100%;margin-bottom:8px;overflow-wrap:anywhere}.social-messages{height:330px;overflow:auto;display:flex;flex-direction:column;gap:9px;padding:10px;background:#e9eee3;border-radius:14px}.social-bubble{max-width:85%;align-self:flex-start;background:white;padding:10px 14px;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}.social-bubble.mine{align-self:flex-end;background:#184c3b;color:#fff}.social-bubble time{display:block;font-size:11px;opacity:.7;margin-top:4px}.social-alert{color:#a22b27;min-height:22px;white-space:pre-wrap}.social-host{background:#eee8ce}.social-host strong{display:block;font-size:22px}.social-host .upcoming-badge{position:static;display:inline-block;margin:7px 0}.social-count{background:#e0b64c;color:#12352b;border-radius:12px;padding:2px 7px}.social-place-results{max-height:180px;overflow:auto}.social-place-results button{display:block;width:100%;text-align:left;margin:4px 0}.social-shell :focus-visible{outline:3px solid #b88219;outline-offset:3px}.social-full-photo{width:100%;max-height:65dvh;object-fit:contain;background:#e9eee3;border-radius:12px}@media(max-width:650px){.social-shell{padding:16px}.social-head h2{font-size:26px}.social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.social-photo img{height:140px}.social-chat{grid-template-columns:1fr}.social-chat-list{display:flex;gap:8px;overflow:auto}.social-chat-list button{min-width:140px;width:auto}.social-tabs{gap:5px}.social-tabs button{padding:9px 10px;font-size:14px}.social-map{height:280px}.social-messages{height:300px}.social-coords{gap:8px}}
.social-shared-invite{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px;background:#f5e8bc;color:#183f32;border:1px solid #e1cd8d;border-radius:14px;margin:12px}.social-shared-invite button{padding:10px 14px;border:0;border-radius:10px;background:#184c3b;color:#fff;font-weight:600;cursor:pointer}

.social-map-album{width:240px;max-width:60vw;color:#173c32}.social-map-album>strong{display:block;overflow-wrap:anywhere}.social-map-album>p{margin:6px 0}.social-map-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:210px;overflow:auto;overscroll-behavior:contain}.social-map-thumbs button{padding:0;border:0;overflow:hidden;border-radius:8px;width:100%;min-height:80px}.social-map-thumbs img{display:block;width:100%;height:85px;object-fit:cover}.social-map-album>button{width:100%;margin-top:8px}.social-photo-navigation{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin:12px 0}.social-photo-navigation>button:last-child{justify-self:end}.social-location-photos .social-photo>button{display:block;width:calc(100% - 10px);padding:0;overflow:hidden}

.social-gps-card h4{margin:0 0 8px;font-size:20px}.social-gps-location{padding:12px 0;border-top:1px solid #dce0d3}.social-gps-card .social-place-results{max-height:none}.social-gps-card p{font-size:14px}

#socialOriginalFile[hidden]{display:none}.social-metadata-report{font-size:14px;overflow-wrap:anywhere}.social-metadata-report ul{margin:8px 0 0;padding-left:20px}.social-metadata-report li{margin:6px 0}

.social-success{color:#184c3b;background:#e8f2e5;border:1px solid #a7bfa0;border-radius:12px;padding:14px;font-weight:600}.social-upload-ready{font-weight:600}#socialUploadError:not(:empty){padding:12px;border:1px solid currentColor;border-radius:10px;background:#fff6ee}

.social-gallery-filter{padding:16px;background:#edf1e7;border:1px solid #d1dacd;border-radius:14px;margin:16px 0}.social-gallery-filter p{margin:0;font-size:14px}.social-shell .social-enlarge-photo{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.social-enlarge-photo .social-full-photo{display:block}
dialog.social-photo-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0);border:0;border-radius:0;background:#081b16;color:#fff;overflow:hidden;overscroll-behavior:contain}dialog.social-photo-viewer[open]{display:flex;flex-direction:column}.social-photo-viewer::backdrop{background:#081b16}.social-photo-viewer header,.social-photo-viewer footer{flex:none;display:flex;align-items:center;gap:16px;padding:12px 20px}.social-photo-viewer header>div{flex:1;min-width:0}.social-photo-viewer header strong{display:block;overflow-wrap:anywhere}.social-photo-viewer header span{display:block;color:#c4d2c8;font-size:14px;margin-top:3px}.social-photo-viewer button{flex:none;min-width:48px;min-height:48px;border:1px solid #6d8177;background:#183c30;color:#fff;border-radius:12px;font-size:26px;cursor:pointer}.social-photo-viewer button:disabled{opacity:.35;cursor:default}.social-photo-viewer button:focus-visible{outline:3px solid #ffd984;outline-offset:3px}.social-viewer-image{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.social-viewer-image img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.social-viewer-error{position:absolute;padding:16px;background:#183c30;max-width:90%;text-align:center}.social-photo-viewer footer p{flex:1;min-width:0;margin:0;text-align:center;max-height:18dvh;overflow:auto;overflow-wrap:anywhere}.social-photo-viewer footer{padding-bottom:16px}@media(max-width:650px){.social-photo-viewer header,.social-photo-viewer footer{padding-left:12px;padding-right:12px;gap:10px}.social-photo-viewer header strong{font-size:16px}.social-photo-viewer footer p{font-size:14px}}

/* Membership is supplied by the server, independently of administrative roles. */
.tg-pro-badge{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;padding:4px 9px;border:1px solid #d7b46b;border-radius:999px;background:linear-gradient(125deg,#fff1be,#e7c26f 55%,#f7e3a5);color:#4d350e;font:800 10px/1.2 var(--sans,system-ui);letter-spacing:1px;box-shadow:0 2px 7px #66440b20;white-space:nowrap;text-transform:uppercase}.tg-pro-badge svg{width:13px;height:13px;fill:currentColor}.social-person h3,.social-card h3{line-height:1.5}[data-account-label] .tg-pro-badge{margin-left:6px}

.social-bulk-privacy{display:flex;flex-direction:column;gap:10px;margin:16px 0;padding:16px;border:1px solid #b6ccc3;border-radius:16px;background:#f2f7f4}.social-bulk-privacy .social-actions{flex-wrap:wrap}.social-bulk-privacy select{width:100%;min-height:44px}.social-bulk-privacy p{margin:0}.social-photo-select{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;background:#f2f7f4;cursor:pointer}.social-photo-select input[type=checkbox]{width:22px;height:22px;min-height:22px;margin:0;accent-color:#176b54}.social-photo.is-selected{outline:3px solid #176b54;outline-offset:1px}

.social-pro-coming{padding:18px;margin:14px 0;border:1px solid #d7c48f;border-radius:16px;background:#fff9e9;color:#493d22}.social-pro-coming h3{margin:12px 0 8px}.social-pro-coming .upcoming-badge{display:inline-block;padding:4px 10px;border-radius:999px;background:#e9e6de;color:#55534c;font-size:12px;font-weight:700}.social-pro-coming strong{display:block;font-size:18px}.social-pro-coming .social-muted{font-size:12px}

.social-photo-territory{display:flex;width:fit-content;align-items:center;gap:7px;margin:7px 0;color:#526b60;font-size:13px;font-weight:600;line-height:1.4;max-width:100%;vertical-align:middle}.social-photo-territory img.social-territory-flag{display:inline-block;flex:0 0 24px;width:24px;height:18px;min-height:0;max-height:18px;aspect-ratio:auto;object-fit:contain;border-radius:2px;margin:0;box-shadow:0 0 0 1px #183f2320}.social-photo-territory .social-territory-placeholder{flex:0 0 24px;width:24px;height:20px}.social-photo-viewer header .social-photo-territory{display:flex;gap:7px;color:inherit}.social-photo-viewer .social-photo-territory span{display:inline;margin:0}
.social-tag-list{list-style:none;padding:0;display:grid;gap:8px}.social-tag-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.social-tag-list button{overflow-wrap:anywhere}#socialTagSearch{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}#socialTagSearch label{grid-column:1/-1}#socialTagResults>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}#socialTagResults span{overflow-wrap:anywhere}@media(max-width:480px){#socialTagSearch{grid-template-columns:1fr}}

.photo-postcards{max-width:760px;margin:auto}.photo-postcards>.eyebrow{display:block;margin-top:24px}.photo-postcards h2{font-family:Georgia,serif;font-size:clamp(26px,5vw,36px)}.photo-postcards form,.postcard-share{display:grid;gap:16px}.photo-postcards label{display:grid;gap:8px}.photo-postcards input:not([type=checkbox]),.photo-postcards select,.photo-postcards textarea{width:100%;padding:12px;border:1px solid #aabcb0;border-radius:10px;background:#fff;color:#163d33;font:inherit}.postcard-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:430px;overflow-y:auto}.postcard-choice{border:2px solid #dce4db;border-radius:12px;overflow:hidden;background:#fff;cursor:pointer}.postcard-choice:has(input:checked){border-color:#16836a;background:#e9f6ef}.postcard-choice img{width:100%;aspect-ratio:4/3;object-fit:cover}.postcard-choice span{padding:8px;display:flex;align-items:center;gap:6px;font-size:12px}.postcard-choice input{accent-color:#16836a;width:18px;height:18px;flex:none}.postcard-disclosure{padding:16px;background:#eff3e9;border-radius:12px;font-size:13px;line-height:1.6}.postcard-share{padding:20px;border:1px solid #aabcb0;border-radius:16px;background:#fffdf5}.postcard-share a{text-align:center}.postcard-history{margin-top:32px}.postcard-history>p{font-size:13px;color:#5d7167}.postcard-history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #dae2d8}.postcard-history-row a{overflow-wrap:anywhere;color:inherit}.photo-postcards [data-pc-status]{white-space:pre-wrap}@media(max-width:480px){.postcard-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.postcard-history-row{align-items:flex-start;flex-direction:column}}

/* Location search is an explicit choice, not a free-text confirmation. */
.social-shell .social-place-hint{padding:14px 16px;margin:0 0 18px;border:2px solid #b67c16;border-radius:12px;background:#fff3d4;color:#62400b;font-size:15px;font-weight:650;line-height:1.5}
.social-shell .social-place-hint.is-selected{border-color:#267454;background:#e7f4e9;color:#174f39}
.social-shell .social-place-results button[data-social="place"]{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:12px 14px;margin:7px 0;border:2px solid #638e77;background:#f2f8ee;transition:background .15s,border-color .15s}
.social-shell .social-place-results button[data-social="place"]:hover,.social-shell .social-place-results button[data-social="place"]:focus-visible{background:#e0efdb;border-color:#184c3b}
.social-place-choice-label{font-weight:650;overflow-wrap:anywhere;min-width:0}
.social-place-choice-action{flex-shrink:0;background:#184c3b;color:#fff;padding:7px 10px;border-radius:8px;font-size:13px;font-weight:700}
@media(max-width:520px){.social-shell .social-place-results button[data-social="place"]{align-items:flex-start;flex-direction:column;gap:9px}.social-place-choice-action{align-self:flex-end}.social-shell .social-place-hint{font-size:14px}}

.social-shell .social-photo-location-step{display:block;box-sizing:border-box;margin:40px 0 28px;padding:24px;border:2px solid #b67c16;border-radius:18px;background:#fff9e9;box-shadow:0 4px 14px #62400b0c}
.social-shell .social-photo-location-step .social-photo-location-eyebrow{margin:0 0 12px;color:#80530b;font-size:12px;font-weight:800;letter-spacing:.08em;line-height:1.5}
.social-shell .social-photo-location-step>label{display:block;margin:0 0 14px;color:#173c32;font-size:22px;font-weight:750;line-height:1.3}
.social-shell .social-photo-location-step>input{min-height:54px;margin:0 0 16px;padding:14px 16px;border:2px solid #719581;font-size:16px;background:#fff}
.social-shell .social-photo-location-step .social-place-hint{border:0;border-left:4px solid #b67c16;border-radius:8px;padding:12px 14px}
@media(max-width:520px){.social-shell .social-photo-location-step{margin-top:32px;padding:18px 14px}.social-shell .social-photo-location-step>label{font-size:20px}}

.social-shell .social-unscored-notice{padding:16px 18px;margin:18px 0;border:2px solid #b67c16;border-left-width:6px;border-radius:12px;background:#fff0bd;color:#624008;font-size:16px;font-weight:750;line-height:1.55}
.social-shell #socialPlaceMore.social-unscored-more{background:#184c3b;color:#fff;border:2px solid #184c3b;font-weight:750;padding:12px 22px;min-height:48px}

.social-shell .social-caption-emojis{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.social-shell .social-caption-emojis button{min-width:44px;min-height:44px;margin:0;padding:7px;border:1px solid #b9cdbf;background:#fff;border-radius:10px;font-size:23px;line-height:1.2}.social-shell .social-caption-emojis button:hover,.social-shell .social-caption-emojis button:focus-visible{background:#fff0bd;border-color:#b67c16}

.tg-max-badge{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;padding:5px 11px;border:1px solid #d9bd7d;border-radius:999px;background:linear-gradient(125deg,#111e32,#24344b 55%,#111b2b);color:#ffe6a6;font:850 10px/1.2 var(--sans,system-ui);letter-spacing:1.6px;box-shadow:inset 0 1px 0 #fff4c640,0 2px 8px #111e3233;white-space:nowrap}.tg-max-badge svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}[data-account-label] .tg-max-badge{margin-left:6px}.social-max-benefits{margin:12px 0 20px;padding:14px 18px;border:1px solid #d9bd7d;border-radius:14px;background:#f8f5eb;color:#25364b}.social-max-benefits summary{cursor:pointer;font-weight:750;min-height:28px}.social-max-benefits strong{display:block;margin-top:14px}.social-max-benefits p{margin:10px 0}

.postcard-filters{display:grid;grid-template-columns:2fr 1fr;gap:12px}.postcard-selected{display:flex;gap:10px;flex-wrap:wrap}.postcard-selected>div{position:relative;width:calc(25% - 8px);min-width:70px;border:2px solid #16836a;border-radius:10px;overflow:hidden;background:#eef6ef}.postcard-selected img{width:100%;aspect-ratio:1;object-fit:cover}.postcard-selected span{display:block;padding:6px;font-size:12px}.postcard-selected button{position:absolute;right:2px;top:2px;background:white;border-radius:50%;width:32px;height:32px;font-size:22px;color:#143e32}.postcard-choice small{padding:0 8px 8px;color:#23694f}.postcard-closing-preview{font:italic 21px Georgia,serif;color:#216f59;margin:0}[data-pc-birthday-note]{padding:14px;border-radius:12px;background:#fff0c9;color:#584216}@media(max-width:480px){.postcard-filters{grid-template-columns:1fr}}

.social-photo-author{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin:8px 0;padding:6px 10px;border:1px solid #bfd5c9;border-radius:999px;background:#e9f2eb;color:#174d3d;font-size:13px;font-weight:700;text-decoration:none;overflow-wrap:anywhere}.social-photo-author span{font-size:11px;font-weight:500}.social-photo-author:hover{text-decoration:underline}.social-photo-author:focus-visible{outline:2px solid #a77c27;outline-offset:3px}

.postcard-occasions{margin:22px 0;padding:18px;border:1px solid #c3d7c9;border-radius:16px;background:#f4f8ef}.postcard-occasions legend{font-weight:800;padding:0 6px}.postcard-occasions>label{display:flex;align-items:center;gap:10px;padding:12px;margin:8px 0;border:1px solid #c8d6c9;border-radius:12px;background:#fffdf5;cursor:pointer}.postcard-occasions input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#19694f}.postcard-occasions>label:has(input:checked){border-color:#19694f;background:#e4f3e8}.postcard-occasions p{font-size:14px;line-height:1.5}
/* Photo-based postcard composer: all territories, tap selection, front and back. */
.pc-composer{max-width:960px;margin:auto}.pc-composer .pc-preview{max-width:460px;margin:24px auto 32px}.pc-front{position:relative;aspect-ratio:4/5;overflow:hidden;background:#dfe9e1;border-radius:16px;isolation:isolate;box-shadow:0 14px 35px #153f3320}.pc-mosaic{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:3px}.pc-mosaic img{width:100%;height:100%;min-height:0;object-fit:cover}.pc-count-1 .pc-mosaic{display:block}.pc-count-2 .pc-mosaic{grid-template-columns:1fr}.pc-count-3 .pc-mosaic img:first-child{grid-row:span 2}.pc-front:after{content:"";position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#000b);z-index:1;pointer-events:none}.pc-front-tag{position:absolute;bottom:8%;left:5%;width:90%;color:#fff;font:bold clamp(22px,4vw,34px)/1.2 Georgia,serif;text-align:center;overflow-wrap:anywhere;z-index:2}.pc-brand{position:absolute;bottom:3%;left:0;width:100%;color:#fff;text-align:center;font-weight:800;letter-spacing:.15em;z-index:2}.pc-empty{position:absolute;inset:35% 10%;text-align:center;color:#245746}.pc-back-preview{margin-top:12px;padding:20px;border:1px dashed #789689;border-radius:12px;background:#fffdf5}.pc-back-preview summary{cursor:pointer;font-weight:700}.pc-back-preview p{margin:12px 0 0}.pc-back-preview time{font-size:12px}.pc-stamps{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.pc-stamp{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:65px;max-width:150px;padding:10px;border:2px dashed #407967;outline:2px solid #fffdf5;background:#fffdf5;color:#174c3b;text-align:center;transform:rotate(-3deg);font-size:12px}.pc-stamp small{font-size:8px;letter-spacing:.13em}.pc-stamp strong{overflow-wrap:anywhere}.pc-composer form>details[data-pc-picker]>summary{font-size:19px;font-weight:750;cursor:pointer;padding:16px;background:#e2efe8;border-radius:12px}.pc-composer [data-pc-count]{float:right;background:#196b50;color:white;padding:3px 10px;border-radius:20px}.pc-composer .pc-groups{max-height:520px;overflow:auto;margin:16px 0;border:1px solid #d3e1d7;border-radius:12px;overscroll-behavior:contain}.pc-group h3{position:sticky;top:0;z-index:3;margin:0;padding:12px 16px;background:#f1f5ef;border-bottom:1px solid #cedbcd;font-size:16px}.pc-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px}.pc-photo-choice{position:relative;padding:0;border:3px solid transparent;border-radius:12px;overflow:hidden;background:#fff;min-width:0;aspect-ratio:1;cursor:pointer}.pc-photo-choice>img{width:100%;height:100%;object-fit:cover}.pc-photo-choice[aria-pressed=true]{border-color:#167356;box-shadow:0 0 0 2px #167356}.pc-photo-choice:disabled{opacity:.5}.pc-photo-choice .pc-stamp{position:absolute;bottom:5px;left:5px;max-width:85%;min-height:0;padding:3px 6px;font-size:10px}.pc-photo-choice .pc-stamp small{display:none}.pc-order{position:absolute;top:7px;right:7px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#175c47;font-weight:800}.pc-photo-choice[aria-pressed=true] .pc-order{background:#167356;color:#fff}.pc-tag-label{display:block!important;font-weight:800;margin-top:24px!important}.pc-composer input[data-pc-tag]{display:block;width:100%;margin-top:8px;padding:14px;font-size:18px}.pc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.pc-chips button{background:#eff5ee;border:1px solid #b5cbb9;border-radius:24px;padding:10px 14px;cursor:pointer}.pc-privacy{font-size:13px;line-height:1.6}.pc-composer #pc-privacy-info{font-size:13px;margin-bottom:16px}.pc-composer #pc-privacy-info:not([open]){display:none}.pc-composer [data-pc-create]{width:100%;background:#196d50;color:#fff;border:0;border-radius:12px;padding:17px;font-size:18px;font-weight:800}.pc-composer [data-pc-create]:disabled{opacity:.45}.pc-composer .postcard-selected b{position:absolute;left:6px;top:6px;background:#166b4e;color:#fff;padding:3px 8px;border-radius:50%}.pc-composer .postcard-selected>div{position:relative}.pc-composer .postcard-share .social-actions>*{padding:12px;border:1px solid #b8cebd;border-radius:10px}.pc-composer [data-pc-share-text]{width:100%;margin:10px 0}.pc-composer .postcard-history-row{gap:15px}.pc-composer .postcard-occasions{margin-top:20px}@media(max-width:600px){.pc-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pc-composer .pc-preview{margin-top:18px}.pc-composer .pc-groups{max-height:440px}.pc-composer .pc-back-preview{padding:14px}.pc-composer .postcard-occasions label{padding:10px}.pc-composer .pc-front-tag{font-size:27px}}

/* Mobile postcard selector: bounded columns, thumbnail states and persistent action. */
#photoPostcardBuilder,.pc-composer,.pc-composer form,.pc-composer details,.pc-composer .pc-groups,.pc-composer .pc-group,.pc-composer .pc-photo-grid{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#photoPostcardBuilder{overflow-x:hidden}.pc-composer{padding-bottom:90px;overflow-x:hidden}.pc-composer *{box-sizing:border-box}.pc-composer .pc-preview{width:100%;max-width:min(100%,360px)}.pc-composer input,.pc-composer textarea,.pc-composer fieldset{width:100%;max-width:100%;min-width:0}.pc-composer .pc-groups{overflow-x:hidden;overflow-y:auto}.pc-composer .pc-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:6px;padding:6px}.pc-composer .pc-photo-choice{padding:0!important;margin:0;min-width:0;width:100%;max-width:100%}.pc-composer .pc-photo-choice img{display:block;width:100%;height:100%;object-fit:cover}.pc-composer .pc-stamp{max-width:100%;overflow-wrap:anywhere}.pc-composer .pc-photo-choice .pc-stamp{font-size:9px}.pc-composer .pc-group h3{position:sticky;top:0;overflow-wrap:anywhere}.pc-territory-chips{display:flex;gap:6px;width:100%;max-width:100%;overflow-x:auto;padding:10px 0;scrollbar-width:thin}.pc-territory-chips button{flex:0 0 auto;max-width:240px;white-space:normal}.pc-territory-chips button[aria-pressed=true]{background:#184c3b;color:white}.pc-selection-bar{position:fixed;bottom:0;left:0;right:0;z-index:1100;display:flex;gap:16px;justify-content:center;align-items:center;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #b8cabb;background:#fffef7;box-shadow:0 -4px 20px #193e341a}.pc-selection-bar button{background:#19694f;color:white;min-height:44px}.pc-image-failed{display:none}.pc-photo-choice.pc-image-error .pc-image-failed{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;padding:12px;background:#edf0e7;color:#34493e;font-size:12px}.pc-photo-choice.pc-loading{background:#e1e6dd}.pc-composer [hidden]{display:none!important}.pc-composer [data-pc-load-status]:not(:empty){padding:12px;border-radius:10px;background:#fff0cf}.pc-composer .postcard-selected{max-width:100%;overflow-x:auto}.pc-composer .postcard-selected>div{flex-shrink:0}.pc-composer .pc-chips{flex-wrap:wrap}

.social-shell:has(.pc-composer),.social-content:has(.pc-composer){box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:hidden}.pc-composer .postcard-selected{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;overflow:hidden}.pc-composer .postcard-selected>div{min-width:0;width:100%;height:auto;aspect-ratio:1;position:relative}.pc-composer .postcard-selected img{width:100%;height:100%;object-fit:cover}.pc-composer .postcard-selected button{padding:3px!important;width:24px;height:24px}

/* Postcards use passport art, a full brand lockup and uncropped photos. */
.pc-front{background:#fffdf5}.pc-front:after{display:none}.pc-mosaic,.pc-front .photos{inset:10.74% 2.22% 26.3%;gap:2px;min-width:0;min-height:0}.pc-mosaic img,.pc-front .photos img{object-fit:contain;background:#e9eee6;min-width:0;min-height:0}.pc-front-tag,.pc-front h1{top:75%;bottom:auto;left:4%;width:92%;color:#193e34;font-size:clamp(13px,3vw,20px);line-height:1.2;max-height:6%;margin:0;text-align:center}.pc-front>.pc-brand{position:absolute;top:1.33%;left:24.07%;width:51.85%;height:8.3%;bottom:auto;object-fit:contain}.pc-front-stamps{position:absolute;top:80.74%;left:5%;width:90%;height:11.85%;display:flex;justify-content:center;gap:3px}.pc-stamp{display:block;min-width:0;min-height:0;width:140px;max-width:100%;padding:0;border:0;outline:0;background:transparent;transform:none}.pc-stamp img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.pc-front-stamps .pc-stamp{width:auto;height:100%;aspect-ratio:1}.pc-front-stamps .pc-stamp img{height:100%;width:auto}.pc-front>.pc-front-sender,.pc-front>.pc-front-invite{position:absolute;left:3%;width:94%;text-align:center;bottom:auto;z-index:2;letter-spacing:normal;color:#193e34;font-size:clamp(8px,1.8vw,11px);line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pc-front-sender{top:94%;font-weight:700}.pc-front-invite{top:97%}.pc-stamps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pc-stamps .pc-stamp{width:100%;max-width:180px;margin:auto}.pc-photo-choice .pc-stamp{width:38px!important;max-width:38px!important;height:38px;padding:0!important;background:#fffdf5e8;border-radius:4px}.pc-composer .pc-photo-choice .pc-stamp img{object-fit:contain}.pc-composer .pc-photo-choice>img,.pc-composer .postcard-selected img{object-fit:contain;background:#e9eee6}.pc-create-own{display:block;text-align:center;margin:24px 0 4px;padding:16px 20px;border-radius:12px;background:#196d50;color:white;text-decoration:none;font-weight:750}.pc-full-logo{display:block;width:260px;max-width:100%;height:auto;margin:auto}.pc-create-own:focus-visible{outline:3px solid #b77843;outline-offset:3px}

/* Separate short front tag from the full message on the postcard back. */
.pc-composer .pc-message-label{display:block;font-weight:700;margin:24px 0 8px}.pc-composer [data-pc-message]{display:block;box-sizing:border-box;width:100%;min-height:180px;margin:8px 0;padding:14px;font:16px/1.6 var(--sans,system-ui);resize:vertical;border:1px solid #9fb9a6;border-radius:12px;background:#fffdf7;color:#193e34}.pc-composer [data-pc-message]:focus-visible{outline:2px solid #196d50;outline-offset:2px}.pc-composer #pc-message-help,.pc-composer #pc-message-count{display:block;margin:5px 0;color:#526a5e}.pc-composer #pc-message-count{text-align:right}.pc-back-preview .pc-message{font:20px/1.6 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0}
