/* Goltomo member UI. Shared SNS rendering remains owned by the SNS plugin. */
.gtm,.gtm-public{--gtm-green:#087846;--gtm-ink:#103d2b;--gtm-muted:#6b7c72;--gtm-line:#e3ebe6;--gtm-soft:#f2f7f4;color:var(--gtm-ink);font-family:Arial,"Hiragino Sans","Yu Gothic Medium",Meiryo,sans-serif;line-height:1.65}
.gtm{display:grid;grid-template-columns:210px minmax(0,1fr)272px;gap:24px;align-items:start}
.gtm.gtm-dedicated{grid-template-columns:210px minmax(0,1fr)}
.gtm.gtm-dedicated .gtm-page-heading{display:none}
.gtm *,.gtm-public *{box-sizing:border-box}
.gtm-page-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;position:relative;overflow:hidden;border-radius:16px;background:linear-gradient(115deg,#103d2b,#1e6048);color:#fff;box-shadow:0 6px 20px #103d2b12}
.gtm-page-heading h1{margin:0;font-size:29px;font-weight:750;line-height:1.4;letter-spacing:.03em;color:#fff}
.gtm-title-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 55%}
.gtm-page-heading:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#002718bd,#00271840)}
.gtm-title-group{position:relative;z-index:2;display:flex;align-items:center;gap:14px}
.gtm-page-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff70;border-radius:10px;background:#ffffff10}
.gtm-page-icon .gtm-nav-icon{width:26px;height:26px}
.gtm-public-link{position:relative;z-index:2;display:inline-flex;align-items:center;gap:16px;padding:10px 14px;border:1px solid #ffffff60;border-radius:9px;background:#ffffff12;font-size:13px;font-weight:600;text-decoration:none;color:#fff;white-space:nowrap}
.gtm .gtm-public-link:hover,.gtm .gtm-public-link:focus-visible,.gtm-public .gtm-public-link:hover,.gtm-public .gtm-public-link:focus-visible{background:#087846;border-color:#087846;color:#fff;text-decoration:none}
.gtm .gtm-public-link:hover span,.gtm .gtm-public-link:focus-visible span,.gtm-public .gtm-public-link:hover span,.gtm-public .gtm-public-link:focus-visible span{color:inherit}
.gtm-side,.gtm-profile,.gtm-right section,.gtm-member-side section,.gtm-item,.gtm-profile-details{background:#fff;border:1px solid var(--gtm-line);border-radius:16px;padding:22px;box-shadow:0 5px 22px rgba(16,61,43,.035)}
.gtm-side{align-self:start;display:flex;flex-direction:column;gap:5px;padding:18px 10px}
.gtm-side h3{font-size:15px;font-weight:700;letter-spacing:.02em;color:var(--gtm-ink);margin:0 12px 14px}
.gtm-side a{display:flex;align-items:center;gap:12px;min-height:50px;padding:12px;border-radius:9px;color:#41604e;text-decoration:none;font-size:15px;font-weight:600;transition:background .15s,color .15s}
.gtm-nav-icon{flex:0 0 22px;width:22px;height:22px}
.gtm-side a:hover{background:var(--gtm-soft)}
.gtm-side a.gtm-selected{background:var(--gtm-green);color:#fff;font-weight:700;box-shadow:0 4px 10px #0878461a}
.gtm-side .gtm-side-logout{margin-top:10px;border-top:1px solid var(--gtm-line);border-radius:0;padding-top:17px;color:#6b7c72;font-weight:600}
.gtm-side .gtm-side-logout:hover{background:transparent;color:var(--gtm-green)}
.gtm-mobile-logout{display:none}
.gtm-main,.gtm-person-copy{min-width:0}
.gtm-profile{padding:24px;overflow:hidden}
.gtm-profile-cover{margin:-24px -24px 0;overflow:hidden}
.gtm-profile-cover img{display:block;width:100%;height:155px;object-fit:cover}
.gtm-person{display:flex;gap:18px;align-items:flex-start;padding-top:20px}
.gtm-avatar-wrap{position:relative;flex:0 0 100px;width:100px}
.gtm-profile-cover+.gtm-person .gtm-avatar-wrap{margin-top:-44px}
.gtm-person .gtm-avatar{display:block;width:100px;height:100px;object-fit:cover;border:5px solid #fff;border-radius:50%;background:#fff;box-shadow:0 3px 12px #103d2b15}
.gtm-avatar-edit{position:absolute;right:-3px;bottom:0;padding:4px 7px;background:var(--gtm-green);color:#fff;border:2px solid #fff;border-radius:14px;font-size:10px;text-decoration:none;white-space:nowrap}
.gtm-person h2{margin:0 0 7px;font-size:23px;font-weight:750;line-height:1.4;overflow-wrap:anywhere;color:var(--gtm-ink)}
.gtm-person p{margin:0;font-size:14px;line-height:1.75}
.gtm-profile-meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin-bottom:7px;font-size:12px;color:var(--gtm-muted);overflow-wrap:anywhere}
.gtm-profile-bio{white-space:pre-line;overflow-wrap:anywhere}
.gtm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:22px;border:1px solid #eaf0ec;border-radius:10px;overflow:hidden;background:#f6f9f7;font-size:12px}
.gtm-stats>*{padding:12px 6px;text-align:center;text-decoration:none;border-right:1px solid var(--gtm-line);color:#688071}
.gtm-stats>*:last-child{border-right:0}
.gtm-stats b{display:block;margin-top:2px;font-size:23px;font-weight:750;line-height:1.3;color:var(--gtm-ink);font-variant-numeric:tabular-nums}
.gtm-tabs{display:flex;gap:4px;overflow-x:auto;margin:22px 0 18px;padding:5px;border:1px solid var(--gtm-line);border-radius:11px;background:#edf3ef}
.gtm-tabs a{flex:1;text-align:center;white-space:nowrap;padding:11px 9px;border-radius:8px;text-decoration:none;color:#5b7163;font-weight:600;font-size:13px}
.gtm-tabs a.active{background:var(--gtm-green);color:#fff;box-shadow:0 2px 6px #103d2b12}
.gtm-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gtm-item{padding:10px;min-width:0}
.gtm-item a{display:block;text-decoration:none;color:var(--gtm-ink)}
.gtm-item img{display:block;width:100%;object-fit:cover;border-radius:9px;margin-bottom:9px}
.gtm-item strong{display:block;font-size:14px;overflow-wrap:anywhere}
.gtm-item small{display:block;color:var(--gtm-muted);margin-top:8px;font-size:12px}
.gtm-empty{grid-column:1/-1;text-align:center;padding:38px 20px;color:var(--gtm-muted);font-size:14px;background:#fff;border:1px dashed var(--gtm-line);border-radius:12px}
.gtm-right,.gtm-member-side{display:flex;flex-direction:column;gap:18px;min-width:0}
.gtm-right section,.gtm-member-side section{padding:22px}
.gtm-right h3,.gtm-member-side h3,.gtm-profile-details h3{font-size:16px;font-weight:700;letter-spacing:.02em;margin:0 0 16px;color:var(--gtm-ink)}
.gtm-right p,.gtm-member-side p{display:flex;justify-content:space-between;gap:10px;font-size:13px;line-height:1.7}
.gtm-score-summary p{margin:0;padding:10px 0;border-bottom:1px solid #edf2ef}
.gtm-score-summary p:last-child{border-bottom:0;padding-bottom:0}
.gtm-score-summary b{font-size:19px;line-height:1.3;color:var(--gtm-ink);font-variant-numeric:tabular-nums}
.gtm-mobile-top{display:none}
.gtm-create-actions{display:grid;gap:10px}
.gtm .gtm-create-action{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:50px;padding:12px 14px;border:1px solid #c8dcd0;border-radius:9px;background:#fff;color:var(--gtm-green);text-align:left;text-decoration:none;font-size:15px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.gtm .gtm-create-sns{background:var(--gtm-green);color:#fff;border-color:var(--gtm-green);box-shadow:0 3px 8px #08784615}
.gtm-create-action svg{flex:0 0 23px;width:23px;height:23px}
.gtm .gtm-create-action:hover{background:#eaf4ee;color:#075d36}
.gtm .gtm-create-sns:hover{background:#07663c;color:#fff}
.gtm .gtm-create-action[aria-disabled="true"]{background:#f3f5f3;color:#738177;border-color:#d4dcd6;cursor:default;flex-wrap:wrap}
.gtm-create-action small{font-size:11px;font-weight:400}
.gtm-create-short{display:none}
.gtm-content{min-height:160px}
.gtm-content[aria-busy="true"]{opacity:.65}
.gtm-profile-details dl{margin:0}
.gtm-profile-details dl>div{display:grid;grid-template-columns:minmax(65px,.8fr) minmax(0,1.2fr);gap:10px;padding:11px 0;border-top:1px solid #eaf0ec;font-size:12px;line-height:1.65}
.gtm-profile-details dt{font-weight:600;color:#688071}
.gtm-profile-details dd{margin:0;overflow-wrap:anywhere;white-space:pre-line;color:var(--gtm-ink)}
.gtm-profile-details .gtm-profile-note{display:block;font-size:11px;line-height:1.7;color:var(--gtm-muted);margin:12px 0 0}
.gtm-profile-more,.gtm-profile-edit-link a{display:inline-block;margin-top:16px;color:var(--gtm-green);font-size:12px;font-weight:700;text-decoration:none}
.gtm-profile-socials{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.gtm-profile-socials a{padding:7px 11px;border:1px solid var(--gtm-line);border-radius:7px;color:var(--gtm-green);font-size:13px}
.gtm-score-editor{max-width:650px;margin:0 auto;padding:26px;background:#fff;border:1px solid var(--gtm-line);border-radius:16px}
.gtm-score-editor h2{font-size:22px;color:var(--gtm-ink);margin:0 0 20px}
.gtm-score-editor label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}
.gtm-score-editor input,.gtm-score-editor textarea{box-sizing:border-box;max-width:100%;width:100%;padding:12px;border:1px solid #d7e3db;border-radius:8px;font:inherit;background:#fcfdfc}
.gtm-score-editor form{max-width:560px}
/* Profile and photo editors share the full-width central card used by notification settings. */
.gtm-profile-editor{width:100%;max-width:none;margin:0;padding:24px;border-radius:14px}
.gtm-profile-editor form{max-width:none}
.gtm-score-editor form p{margin:0 0 19px}
.gtm-score-input-wrap{position:relative;display:block}
.gtm-score-editor .gtm-score-input-wrap input{height:46px;padding-top:8px;padding-bottom:8px;padding-right:46px}
.gtm-score-unit{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:var(--gtm-ink);font-size:14px;font-weight:600;line-height:1;pointer-events:none}
.gtm-score-editor button{min-height:46px;padding:12px 24px;background:var(--gtm-green);color:white;border:0;border-radius:8px;font-weight:600;cursor:pointer}
.gtm-score-editor small{display:block;font-size:12px;margin-top:6px;color:var(--gtm-muted)}
.gtm{box-sizing:border-box;width:100%;margin:0 auto 56px;padding:0}
.gtm-public-wrap{box-sizing:border-box;width:100%;max-width:1200px;margin:30px auto 56px;padding:0 16px}
.gtm-public{max-width:900px;margin:auto}
.gtm-public .gtm-profile,.gtm-public .gtm-profile-details{margin-bottom:0}
.gtm-public .gtm-items{grid-template-columns:repeat(3,minmax(0,1fr))}
.gtm-public.gtm-member-layout{max-width:none;width:100%;display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:24px;align-items:start}
.gtm-member-main{min-width:0}
.gtm-member-home-short{display:none}
.gtm-member-follow{padding:22px;border:1px solid var(--gtm-line);border-radius:14px;background:#fff}
.gtm-member-follow h2{margin:0 0 12px;font-size:20px;color:var(--gtm-ink)}
.gtm-follow-list{display:grid;gap:8px}
.gtm-follow-person{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--gtm-line);border-radius:10px;background:#fff;text-decoration:none;color:var(--gtm-ink)}
.gtm-follow-person img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.gtm-follow-page{max-width:900px;margin:24px auto}
.gtm-follow-help{margin:0 0 20px;color:#66756b;line-height:1.7;font-size:14px}
.gtm-follow-switch{display:flex;gap:6px;padding:5px;background:#edf3ef;border-radius:10px;margin:0 0 18px}
.gtm-follow-switch a{flex:1;text-align:center;padding:11px 12px;text-decoration:none;color:#2e6342;border-radius:7px;font-size:13px}
.gtm-follow-switch a.active{background:var(--gtm-green);color:#fff;font-weight:700}
.gtm-sns-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 18px;padding:14px;border:1px solid var(--gtm-line);border-radius:12px;background:#fff}
.gtm-sns-filters{display:flex;gap:4px;flex-wrap:wrap}
.gtm-sns-filters a,.gtm-sns-pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid transparent;border-radius:8px;background:#f3f7f4;color:#587061;text-decoration:none;font-size:12px;font-weight:600;line-height:1.4}
.gtm-sns-filters a[aria-current="true"]{background:var(--gtm-green);color:#fff;border-color:var(--gtm-green);font-weight:700}
.gtm-sns-sort{display:flex;align-items:center;gap:5px;margin:0}
.gtm-sns-sort select,.gtm-diary-sort select{min-height:40px;border:1px solid var(--gtm-line);border-radius:7px;background:#fff;color:#41604e;padding:7px 8px;font:inherit;font-size:12px;cursor:pointer;max-width:100%}
.gtm-items.gtm-sns-grid{grid-template-columns:repeat(var(--gtm-sns-columns,2),minmax(0,1fr))}
.gtm-items.gtm-sns-list{grid-template-columns:1fr}
.gtm-sns-media{display:block;position:relative;aspect-ratio:1;overflow:hidden;border-radius:9px;background:#edf3ee}
.gtm-sns-media img{display:block;width:100%;height:100%;aspect-ratio:auto;margin:0;object-fit:cover}
.gtm-sns-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;color:#56745f}
.gtm-sns-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#183b2aba;color:#fff;font-size:23px;padding-left:3px}
.gtm-sns-copy{display:block;padding-top:8px}
.gtm-sns-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}
.gtm-sns-list .gtm-sns-item>a{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:center}
.gtm-sns-list .gtm-sns-copy{padding:0}
.gtm-sns-pagination{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;font-size:13px}
.gtm a:focus-visible,.gtm button:focus-visible,.gtm select:focus-visible,.gtm input:focus-visible,.gtm textarea:focus-visible{outline:3px solid #276e99;outline-offset:3px}
.gtm-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gtm-sns-shared.gtv-independent-sns{padding:0;min-height:0;background:transparent}
.gtm-sns-shared.gtv-independent-sns .gtm-sns-shared-grid.gtm-sns-grid{grid-template-columns:repeat(var(--gtm-sns-columns,2),minmax(0,1fr));gap:18px;align-items:start}
.gtm-sns-shared.gtv-independent-sns .gtm-sns-shared-grid.gtm-sns-list{grid-template-columns:minmax(0,1fr)}
.gtm-sns-shared-card{align-self:start;min-width:0;display:flex;flex-direction:column;border:1px solid var(--gtm-line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 18px #103d2b06}
.gtm-sns-shared-card .gtv-independent-sns__card{flex:none;width:100%;margin:0;border:0;border-radius:0;box-shadow:none}
.gtm-sns-shared-card .gtv-sns-card-content{max-height:5.25em;overflow:hidden;font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.gtm-sns-shared-card .gtv-sns-card-content p{font-size:14px;line-height:1.75;margin:0}
.gtm-sns-shared-card .gtv-independent-sns__stats{gap:8px;flex-wrap:wrap}
.gtm-sns-shared-card .gtv-independent-sns__stats button{min-width:44px;min-height:44px}
.gtm-sns-shared-card .gtv-sns-carousel,.gtm-sns-shared-card .gtv-independent-sns__media{cursor:pointer}
.gtm-sns-open{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:46px;margin:0;padding:11px 17px;border:0;border-top:1px solid #edf2ef;background:#fff;color:var(--gtm-green);font-size:12px;font-weight:700;text-decoration:none}
.gtm-sns-open:after{content:"↗";font-size:15px}
.gtm-sns-open:hover{background:#f3f8f5}
/* Saved round action: compact shared pill. Alignment only changes by viewport. */
.gtm-saved-action{display:flex;justify-content:center;margin-top:7px}
.gtm-saved-action>*{box-sizing:border-box;width:auto!important;min-width:0!important;min-height:31px!important;height:31px!important;margin:0!important;padding:5px 12px!important;border-radius:999px!important;font-size:11px!important;line-height:19px!important;white-space:nowrap}

@media(max-width:980px){
 .gtm-public.gtm-member-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}
 .gtm{grid-template-columns:200px minmax(0,1fr);gap:20px}
 .gtm-right{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .gtm-right .gtm-profile-details{grid-column:1/-1}
 .gtm-items{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Diary / round cards share one visual rule across desktop and mobile. */
.gtm-diary-items{align-items:start}
.gtm-diary-item,.gtm-round-item{min-height:0}
.gtm-diary-item>a,.gtm-round-item>a{display:block;min-width:0;text-decoration:none}
.gtm-diary-item img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;margin-bottom:9px}
.gtm-diary-item strong,.gtm-round-item strong{display:-webkit-box;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.gtm-diary-item small,.gtm-round-item small{display:flex;align-items:center;gap:5px;margin-top:0;padding-top:7px;white-space:nowrap;color:#56685e;font-weight:600}
.gtm-diary-item small:before,.gtm-round-item small:before{content:"";display:inline-block;box-sizing:border-box;width:11px;height:10px;flex:0 0 11px;border:1px solid currentColor;border-radius:2px;background:linear-gradient(currentColor,currentColor) 0 2px/100% 1px no-repeat}
.gtm-round-thumb{display:block;position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;margin:0 0 9px;border-radius:9px;background:#edf3ee}
.gtm-round-thumb>img{display:block;width:100%;height:100%;margin:0;object-fit:cover;object-position:center}
.gtm-round-status{position:absolute;left:8px;top:8px;max-width:calc(100% - 16px);padding:5px 9px;border-radius:7px;background:#087b4b;color:#fff;font-size:12px;font-weight:700;line-height:1.25;white-space:nowrap}
.gtm-round-status-full{background:#64748b}
.gtm-round-status-remaining{background:#d97706}
.gtm-card-excerpt{display:-webkit-box;margin-top:5px;color:#65766d;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.gtm-date-label,.gtm-date-value{font:inherit;color:inherit}

@media(max-width:650px){
 .gtm-public.gtm-member-layout{display:block}
 .gtm-member-layout .gtm-page-heading h1{font-size:20px}
 .gtm-member-layout .gtm-title-group{gap:10px}
 .gtm-member-layout .gtm-page-heading{flex-wrap:wrap}
 .gtm-member-layout .gtm-public-link{white-space:nowrap;max-width:none;flex-shrink:0}
 .gtm-member-home-label{display:none}
 .gtm-member-home-short{display:inline}
 .gtm-member-side{margin-top:20px}
 .gtm{display:block;margin:0 auto 32px;padding:0 2px}
 .gtm-page-heading{align-items:center;padding:18px 16px;gap:12px;margin-bottom:16px}
 .gtm-page-heading h1{font-size:25px}
 .gtm-public-link{padding:8px 10px;font-size:10px;gap:5px;margin-top:0;white-space:normal;max-width:108px}
 .gtm-mobile-top{display:flex;gap:3px;overflow-x:auto;margin:0 0 16px;padding:5px;background:#fff;border:1px solid var(--gtm-line);border-radius:12px}
 .gtm-mobile-top a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:62px;min-height:62px;padding:7px 3px;border-radius:8px;text-decoration:none;color:#688071;font-size:10px;white-space:nowrap}
 .gtm-mobile-top a.gtm-selected{color:var(--gtm-green);background:#eaf4ee;font-weight:700}
 .gtm-mobile-logout{display:flex;align-items:center;justify-content:center;min-height:44px;margin:-5px 0 16px;border:1px solid var(--gtm-line);border-radius:9px;background:#fff;color:#6b7c72;text-decoration:none;font-size:12px;font-weight:600}
 .gtm-side{display:none}
 .gtm-profile{padding:18px}
 .gtm-profile-cover{margin:-18px -18px 0}
 .gtm-profile-cover img{height:136px}
 .gtm-person{gap:12px;padding-top:16px}
 .gtm-avatar-wrap{flex-basis:82px;width:82px}
 .gtm-person .gtm-avatar{width:82px;height:82px;border-width:4px}
 .gtm-profile-cover+.gtm-person .gtm-avatar-wrap{margin-top:-36px}
 .gtm-person h2{font-size:20px}
 .gtm-person p{font-size:13px}
 .gtm-profile-meta{font-size:11px;gap:3px}
 .gtm-stats{margin-top:18px}
 .gtm-stats>*{padding:10px 3px;font-size:11px}
 .gtm-stats b{font-size:21px}
 .gtm-tabs{margin:20px 0 16px}
 .gtm-tabs a{font-size:12px;padding:11px 4px}
 .gtm-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .gtm-items:has(.gtm-diary-item),.gtm-items:has(.gtm-round-item){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .gtm-item{padding:7px}
 .gtm-item strong{font-size:12px}
 .gtm-right,.gtm-member-side{display:flex;margin-top:20px;gap:16px}
 .gtm-right section,.gtm-member-side section{padding:22px}
 .gtm-create-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .gtm .gtm-create-action{flex-direction:column;justify-content:center;gap:6px;padding:10px 3px;font-size:12px;min-height:76px;text-align:center}
 .gtm-create-label{display:none}
 .gtm-create-short{display:inline}
 .gtm-public-wrap{margin:16px auto;padding:0 12px}
 .gtm-public .gtm-item strong{font-size:12px}
 .gtm-follow-switch a{padding:10px 9px;font-size:12px}
 .gtm-score-editor{padding:20px} .gtm-score-editor h2{font-size:20px}
 .gtm-sns-toolbar{grid-template-columns:minmax(0,1fr) auto;padding:10px 8px;gap:5px}
 .gtm-sns-filters{grid-column:auto;min-width:0;display:grid;grid-template-columns:repeat(3,56px);gap:5px;flex-wrap:nowrap}
 .gtm-sns-sort{grid-column:auto}
 .gtm-sns-filters a{width:56px;min-width:56px;height:40px;min-height:40px;padding:0 6px;font-size:12px;line-height:1;white-space:nowrap}
 .gtm-sns-sort select,.gtm-diary-sort select{min-height:44px;font-size:12px}
 .gtm-sns-list .gtm-sns-item>a{grid-template-columns:90px minmax(0,1fr);gap:10px}
 .gtm-sns-list .gtm-sns-item strong{font-size:14px}
 .gtm-sns-shared-card .gtv-sns-card-content{max-height:none;overflow:visible}
 .gtm-sns-open{display:none}
 .gtm-items.gtm-sns-grid{grid-template-columns:minmax(0,1fr)}
 .gtm-sns-shared.gtv-independent-sns .gtm-sns-shared-grid.gtm-sns-grid{grid-template-columns:minmax(0,1fr)}

 .gtm-round-item .gtm-round-thumb{margin-bottom:7px}
 .gtm-round-item .gtm-round-status{left:6px;top:6px;max-width:calc(100% - 12px);padding:4px 7px;font-size:11px}
 .gtm-round-item small,.gtm-diary-item small{gap:3px;padding-top:6px;font-size:10px;line-height:1.25;white-space:normal;flex-wrap:wrap}
 .gtm-card-excerpt{margin-top:4px;font-size:11px;line-height:1.4}
 .gtm-round-item small:before,.gtm-diary-item small:before{width:10px;height:9px;flex-basis:10px}
 .gtm-diary-item img{margin-bottom:7px}
 .gtm-saved-action{justify-content:center}
 .gtm-profile-details dl>div{font-size:14px;line-height:1.65}
 .gtm-profile-details .gtm-profile-note{font-size:13px}
 .gtm-profile-more,.gtm-profile-edit-link a{font-size:13px}
}

/* Guest view: a single centered invitation linking to Zoomy's existing login screen. */
.gtm-guest-login{box-sizing:border-box;max-width:1200px;margin:30px auto 56px;padding:0 16px;color:#103d2b;font-family:Arial,"Hiragino Sans","Yu Gothic Medium",Meiryo,sans-serif}
.gtm-guest-login-inner{box-sizing:border-box;max-width:520px;margin:0 auto;padding:46px 30px 48px;text-align:center;background:#fff;border:1px solid #e3ebe6;border-radius:16px;box-shadow:0 5px 22px rgba(16,61,43,.035)}
.gtm-guest-mark{display:block;margin-bottom:14px;font-size:26px}
.gtm-guest-login h1{margin:0 0 12px;color:#103d2b;font-size:27px;line-height:1.4}
.gtm-guest-login p{margin:0 0 28px;color:#5b7163;font-size:14px;line-height:1.8}
.gtm-guest-login-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:16px;min-width:210px;min-height:50px;padding:12px 24px;border-radius:9px;background:#087846;color:#fff;text-decoration:none;font-size:15px;font-weight:700}
.gtm-guest-login-button:hover,.gtm-guest-login-button:focus{background:#07663c;color:#fff}
@media(max-width:767px){.gtm-guest-login{margin:16px auto 40px}.gtm-guest-login-inner{padding:36px 20px 40px}.gtm-guest-login h1{font-size:23px}.gtm-guest-login-button{width:100%;max-width:300px}}

.gtm-diary-sort{display:flex;justify-content:flex-end;margin:0 0 14px}.gtm-diary-sort select{min-height:40px;border:1px solid var(--gtm-line);border-radius:7px;background:#fff;color:#41604e;padding:7px 8px;font:inherit;font-size:12px;cursor:pointer}

/* Central notifications / account settings */
.gtm-panel{padding:24px;border:1px solid var(--gtm-line);border-radius:14px;background:#fff}
.gtm-panel>h2{margin:0 0 20px;color:var(--gtm-ink);font-size:22px}
.gtm-notification-list{display:grid;gap:10px}
.gtm-notification{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:start;padding:14px;border:1px solid var(--gtm-line);border-radius:11px;background:#fff}
.gtm-notification.is-unread{background:#f0f8f3}
.gtm-notification img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.gtm-notification p{margin:0;color:var(--gtm-ink);font-size:14px;line-height:1.65}
.gtm-notification a{display:inline-block;margin-top:5px;color:var(--gtm-green);font-size:12px;font-weight:700;text-decoration:none}
.gtm-notification time{display:block;margin-top:5px;color:var(--gtm-muted);font-size:11px}
.gtm-settings-form{display:grid;gap:13px;padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid var(--gtm-line)}
.gtm-settings-form h3,.gtm-danger-zone h3{margin:0;color:var(--gtm-ink);font-size:17px}
.gtm-settings-form label{display:grid;gap:7px;color:var(--gtm-ink);font-size:13px;font-weight:700}
.gtm-settings-form input{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--gtm-line);border-radius:8px;background:#fff;font:inherit;font-weight:400;color:#111}
.gtm-settings-form button{justify-self:start;min-height:44px;padding:10px 18px;border:0;border-radius:8px;background:var(--gtm-green);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.gtm-form-success,.gtm-form-error{padding:11px 13px;border-radius:8px;font-size:13px}.gtm-form-success{background:#edf8f1;color:#17663d}.gtm-form-error{background:#fff1f1;color:#9b2929}
.gtm-danger-zone{padding-top:2px}.gtm-danger-zone p{font-size:12px;color:var(--gtm-muted);line-height:1.7}.gtm-danger-zone a{display:inline-block;color:#a12b2b;font-size:13px;font-weight:700;text-decoration:none}
@media(max-width:767px){.gtm-profile-editor{padding:20px} .gtm-panel{padding:18px}.gtm-panel>h2{font-size:20px}.gtm-notification{grid-template-columns:42px minmax(0,1fr);padding:12px}.gtm-notification img{width:42px;height:42px}.gtm-notification p{font-size:13px}.gtm-settings-form button{width:100%}}

.gtm-edit-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gtm-photo-editor>p{margin:0 0 12px;color:#52665a;font-size:14px}
.gtm-photo-editor p[role="status"]{padding:10px 12px;border-radius:8px;background:#edf7f0;color:#08743c;margin:0 0 14px}
.gtm-photo-field{margin:0;padding:12px 0 16px;border-bottom:1px solid #e5ece7}
.gtm-photo-field-title{font-size:16px;font-weight:700;color:var(--gtm-ink);margin-bottom:10px}
.gtm-photo-field-body{min-width:0}
.gtm-photo-avatar-field .gtm-photo-field-body{display:flex;align-items:center;gap:22px}
.gtm-photo-preview{display:block;width:100%;max-width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin:0 0 14px}
.gtm-photo-preview.is-avatar{flex:none;width:112px;height:112px;aspect-ratio:1;border-radius:50%;margin:0}
.gtm-photo-controls{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.gtm-photo-editor .gtm-photo-upload{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid #b9d5c4;border-radius:8px;background:#f1f8f3;color:#08763e;font-size:14px;font-weight:700;cursor:pointer;margin:0}
.gtm-photo-editor .gtm-photo-file{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gtm-photo-editor .gtm-photo-file::file-selector-button{border:0;border-radius:6px;padding:7px 10px;background:#eaf3ed;color:#12683c;font-weight:700;margin-right:10px}
.gtm-photo-editor .gtm-photo-remove{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:400;cursor:pointer}
.gtm-photo-editor .gtm-photo-remove input{width:18px;height:18px;flex:none;margin:0;accent-color:#08763e}
.gtm-photo-header-field .gtm-photo-controls{flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px 18px}
.gtm-photo-actions{display:flex;align-items:center;gap:12px;margin-top:18px}
.gtm-photo-cancel{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border:1px solid #d7e3db;border-radius:8px;color:#385446;text-decoration:none;font-weight:600}
@media(max-width:420px){.gtm-photo-avatar-field .gtm-photo-field-body{gap:14px}.gtm-photo-preview.is-avatar{width:96px;height:96px}.gtm-photo-editor .gtm-photo-upload{padding:9px 12px}}

@media(max-width:480px){.gtm-edit-two{grid-template-columns:1fr}}
/* ゴル友TV メッセージ: 統合デザイン */
.gtm-msg-layout{display:grid;grid-template-columns:minmax(245px,34%) minmax(0,1fr);min-height:0;flex:1;border:1px solid #dfe8e2;border-radius:16px;overflow:hidden;background:#fff}
.gtm-msg-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid #e5ebe7;background:#fff}
.gtm-msg-list-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px}
.gtm-msg-list-header h3{font-size:17px;font-weight:700;margin:0;color:#123d2b}
.gtm-msg-new{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eaf5ed;color:#187443;text-decoration:none;font-size:25px;line-height:1}
.gtm-msg-search{display:flex;gap:8px;padding:0 14px 12px}
.gtm .gtm-msg-search input,.gtm .gtm-msg-new-panel input{min-width:0;flex:1;background:#f5f7f6;border:1px solid #e4eae6;border-radius:10px;padding:10px 12px;font-size:14px}
.gtm .gtm-msg-search button,.gtm .gtm-msg-new-panel button{border:0;background:#237b4b;color:#fff;border-radius:10px;padding:9px 12px;font-size:13px}
.gtm-msg-filters{display:flex;gap:8px;padding:0 14px 12px}
.gtm-msg-filters a{border:1px solid #e1e7e3;border-radius:20px;padding:6px 16px;text-decoration:none;color:#52635a;font-size:13px}
.gtm-msg-filters a.is-current{background:#237b4b;border-color:#237b4b;color:#fff}
.gtm-msg-list{display:flex;flex-direction:column;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.gtm-msg-item{cursor:pointer;display:flex;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid #eef1ef;text-decoration:none;color:#183b2a;min-width:0}
.gtm-msg-item img{width:48px;height:48px;flex:none;border-radius:50%;object-fit:cover;background:#f0f2f0}
.gtm-msg-item span{display:grid;gap:5px;flex:1;min-width:0}
.gtm-msg-item strong{font-size:15px;font-weight:700}
.gtm-msg-item small{color:#78847d;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gtm-msg-item.is-active{background:#edf6f0}
.gtm-msg-unread{min-width:20px;height:20px;padding:2px 6px;box-sizing:border-box;border-radius:99px;background:#237b4b;color:#fff;text-align:center;font-size:12px}
.gtm-msg-content{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;background:#fff}
.gtm-msg-heading{display:flex;align-items:center;gap:12px;padding:15px 18px;border-bottom:1px solid #e6ece8;min-height:54px;box-sizing:border-box}
.gtm-msg-heading h3{margin:0;font-size:17px;color:#153e2b}
.gtm-msg-back{display:none;align-items:center;justify-content:center;flex:none;width:32px;height:36px;color:#237b4b;text-decoration:none}.gtm-msg-back-icon{display:block;width:23px;height:23px}.gtm-msg-new-heading a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px}
.gtm-msg-thread{display:flex;flex-direction:column;gap:13px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px;background:#f7f9f7}
.gtm-msg-bubble{align-self:flex-start;max-width:min(82%,480px);background:#fff;border:1px solid #e7ede9;border-radius:16px 16px 16px 5px;padding:11px 14px;box-shadow:0 1px 2px #183b2a08;overflow-wrap:anywhere}
.gtm-msg-bubble.is-mine{align-self:flex-end;background:#e0f2e5;border-color:#d9ebdd;border-radius:16px 16px 5px 16px}
.gtm-msg-bubble p{margin:0;line-height:1.55;overflow-wrap:anywhere}
.gtm-msg-bubble time{display:block;margin-top:6px;font-size:10px;color:#73847a;text-align:right}
.gtm-msg-photo{display:block;max-width:100%;max-height:340px;width:auto;height:auto;object-fit:contain;border-radius:10px}
.gtm-msg-compose{isolation:isolate;display:grid;grid-template-columns:44px minmax(0,1fr) 62px;gap:8px;align-items:center;margin:0;padding:12px 14px;border-top:1px solid #e5ece7;background:#fff;min-width:0}
.gtm-msg-compose>input[type=hidden]{display:none}
.gtm-msg-compose textarea{font-size:16px;position:relative;z-index:0;grid-column:2;grid-row:1;box-sizing:border-box;width:100%;min-width:0;min-height:44px;height:44px;max-height:110px;padding:10px 12px;border:1px solid #dce6df;border-radius:12px;resize:none;font:inherit;line-height:1.4;background:#f9fbf9}
.gtm-msg-compose button[type=submit]{position:relative;z-index:1;grid-column:3;grid-row:1;width:100%;min-height:44px;border:0;border-radius:12px;background:#237b4b;color:white;padding:6px;font-size:14px}
.gtm-msg-compose button[type=submit]:disabled{background:#e5eae7;color:#8c9b91;cursor:default;opacity:1}
.gtm-msg-photo-label{z-index:1;grid-column:1;grid-row:1;display:grid;place-items:center;position:relative;overflow:hidden;width:44px;height:44px;min-width:0;box-sizing:border-box;margin:0;border-radius:12px;background:#edf5ef;cursor:pointer;font-size:21px}
.gtm-msg-photo-label input{position:absolute;left:0;top:0;width:1px;height:1px;opacity:0;cursor:pointer;font-size:0;pointer-events:none}
.gtm-msg-empty{margin:auto;padding:20px;text-align:center;color:#7a8a80}
.gtm-msg-new-panel{padding:20px;overflow-y:auto;min-height:0}.gtm-msg-new-panel form{display:flex;gap:8px;margin:16px 0}.gtm-msg-new-heading{display:flex;align-items:center;gap:14px}.gtm-msg-new-heading h3{margin:0;font-size:18px;color:#153e2b}.gtm-msg-new-heading a{color:#237b4b;text-decoration:none}.gtm-msg-new-panel .gtm-msg-item{border-radius:8px}
.gtm-msg-hint,.gtm-msg-no-results{padding:16px;color:#78877e;font-size:14px}
.gtm-msg-error{padding:12px;border:1px solid #dca5a5;border-radius:8px;color:#923;background:#fff4f4}
.gtm-msg-item:focus-visible,.gtm-msg-new:focus-visible{outline:2px solid #237b4b;outline-offset:-2px}
/* Independent messages and notifications: the outer page is full-width. */
.gtm.gtm-message-page,.gtm.gtm-notice-page{display:block;width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box;background:#fff}
.gtm-message-page .gtm-mobile-top,.gtm-message-page .gtm-mobile-logout,.gtm-message-page .gtm-side{display:none}
.gtm-message-page .gtm-main,.gtm-message-page .gtm-content{display:block;width:100%;max-width:none;min-width:0;box-sizing:border-box}
.gtm-message-page .gtm-content{display:flow-root;padding:0;background:#f5f6f5}
/* The title is a full-bleed sibling, not part of the centered conversation card. */
.gtm-message-page-title{margin:0;padding:13px 16px;text-align:center;font-size:20px;line-height:1.4;font-weight:700;color:#168044;border-bottom:1px solid #e4ebe6;background:#fff}
.gtm-message-page .gtm-messages{display:block;width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent;overflow:visible;height:auto;min-height:0}
.gtm-message-page .gtm-msg-layout{display:grid;grid-template-columns:minmax(245px,34%) minmax(0,1fr);width:calc(100% - 40px);max-width:1100px;height:650px;min-height:0;margin:24px auto 48px;overflow:hidden;border:1px solid #dfe8e2;border-radius:12px;background:#fff}
.gtm-message-page .gtm-msg-sidebar,.gtm-message-page .gtm-msg-content{height:100%;min-height:0;overflow:hidden}
.gtm-message-page .gtm-msg-list,.gtm-message-page .gtm-msg-thread{flex:1;min-height:0}
@media(max-width:767px){
 .gtm-message-page .gtm-content{background:#fff}
 .gtm-message-page .gtm-msg-layout{display:block;width:100%;max-width:none;height:calc(100dvh - 170px);min-height:420px;margin:0;border:0;border-radius:0}
 .gtm-message-page .gtm-msg-sidebar{border-right:0}
 .gtm-message-page .gtm-msg-layout.has-thread .gtm-msg-sidebar{display:none}
 .gtm-message-page .gtm-msg-layout:not(.has-thread):not(.has-new) .gtm-msg-content{display:none}
 .gtm-message-page .gtm-msg-layout.has-new .gtm-msg-sidebar{display:none}
 .gtm-message-page .gtm-msg-layout.has-new .gtm-msg-content{display:flex}
 .gtm-message-page .gtm-msg-heading{padding:12px 14px}
 .gtm-message-page .gtm-msg-back{display:inline-flex}
 .gtm-message-page .gtm-msg-thread{padding:14px 12px}
 .gtm-message-page .gtm-msg-compose{padding:10px 8px;grid-template-columns:44px minmax(0,1fr) 56px;gap:8px}
 .gtm-message-page .gtm-msg-compose button[type=submit]{font-size:13px}
}


/* Profile destinations inside the conversation list */
.gtm-msg-member{display:block;flex:none;line-height:0}
.gtm-msg-member-name,.gtm-msg-preview,.gtm-msg-heading-member{color:inherit;text-decoration:none}
.gtm-msg-preview{display:block;min-width:0}
.gtm-msg-heading-member{display:flex;align-items:center;gap:10px;min-width:0}
.gtm-msg-heading-member img{width:32px;height:32px;object-fit:cover;border-radius:50%}
.gtm-msg-heading-member strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gtm-msg-compose{flex:none;position:relative;z-index:2}
.gtm-msg-thread{scroll-padding-bottom:12px}

/* Draft marker belongs to the participant name, not the preview text. */
.gtm-msg-member-name{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%}
.gtm-draft-marker{font-size:15px;color:#237b4b;line-height:1;font-weight:500}
/* iOS keyboard: pin only the conversation to the visual viewport while typing.
   Keep its DOM inside the standalone main, within the standalone page. */
@media (max-width:767px){
 .gtm-message-page .gtm-msg-layout.gtm-keyboard-layout{
  position:fixed;
  top:var(--gtm-keyboard-top);
  left:0;
  right:0;
  width:100%;
  height:var(--gtm-keyboard-height);
  min-height:0;
  margin:0;
  z-index:1000;
 }
}
/* Tablet chat occupies the available screen; only the message list scrolls.
   Limit to touch tablets so the desktop 650px card remains unchanged. */
@media (min-width:768px) and (max-width:1199px) and (pointer:coarse){
 .gtm-message-page .gtm-msg-layout{
  height:calc(100dvh - 190px);
  min-height:0;
  margin-top:12px;
  margin-bottom:0;
 }
}
/* During keyboard input only the conversation history should scroll. */
html.gtm-chat-typing,html.gtm-chat-typing body{overflow:hidden;overscroll-behavior:none}
.gtm-message-page .gtm-msg-compose{flex-shrink:0}
.gtm-message-page .gtm-msg-thread{min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}

/* New-talk rows open conversations; avatar and name retain independent profile links. */
.gtm-msg-new-panel .gtm-msg-search-result{cursor:pointer}
.gtm-msg-new-panel .gtm-msg-search-result .gtm-msg-member{display:flex;flex:none}
.gtm-msg-new-panel .gtm-msg-search-result .gtm-msg-member-name{display:inline-block;width:fit-content;max-width:100%;text-decoration:none}
.gtm-msg-new-panel .gtm-msg-search-result .gtm-msg-member-name:focus-visible{outline:2px solid #237b4b;outline-offset:2px}

/* Public member follow control */
.gtm-member-layout .gtm-member-follow-action{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:10px 0 14px}
.gtm-member-follow-button{border:1px solid #25834c;background:#25834c;color:#fff;border-radius:8px;padding:9px 20px;font:inherit;font-weight:600;cursor:pointer}
.gtm-member-follow-button.is-following{background:#f1f3f2;color:#50645a;border-color:#d8e0dc}
.gtm-member-follow-button:disabled{opacity:.55;cursor:wait}
.gtm-follow-error{font-size:12px;color:#b03030}

/* Member profile: centered name with inline actions. */
.gtm-member-layout .gtm-person{align-items:center}
.gtm-member-layout .gtm-person-copy{flex:1;min-width:0}
.gtm-member-name-row{display:flex;align-items:center;gap:9px;min-width:0}
.gtm-member-name-row h2{flex:1;min-width:0;margin:0}
.gtm-member-layout .gtm-member-follow-button,.gtm-member-message-button{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border-radius:8px;font-size:12px;line-height:1.3;text-decoration:none;white-space:nowrap}
.gtm-member-message-button{border:1px solid #25834c;background:#fff;color:#237b4b;font-weight:600}
.gtm-member-layout .gtm-profile-meta{margin-top:5px}
@media(max-width:480px){.gtm-member-name-row{gap:6px;flex-wrap:wrap}.gtm-member-name-row h2{font-size:19px}.gtm-member-layout .gtm-member-follow-button,.gtm-member-message-button{min-height:32px;padding:6px 8px;font-size:11px}}
/* Inline image preview: only visible after file selection. */
.gtm-msg-compose .gtm-photo-selection[hidden]{display:none}
.gtm-msg-compose .gtm-photo-selection{grid-column:1/-1;grid-row:2;min-width:0;padding:10px;border:1px solid #e2eae4;border-radius:12px;background:#f7f9f7}
.gtm-photo-selection-heading{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#62766a;margin-bottom:8px}
.gtm-photo-selection-body{display:flex;align-items:center;gap:10px;min-width:0}
.gtm-photo-selection-image{width:82px;height:70px;object-fit:cover;border-radius:8px;background:#e9efeb;flex:none}
.gtm-photo-selection-filename{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#52645a}
.gtm-photo-selection-remove{border:1px solid #d7e2db;border-radius:8px;padding:7px 9px;background:white;color:#3f5b4b;cursor:pointer;white-space:nowrap;font-size:12px}

/* Conversation sound control: OFF / iOS permission needed / ready */
.gtm-msg-sound-toggle{margin-left:auto;border:0;background:transparent;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:none;border-radius:9px}
.gtm-msg-sound-toggle svg{display:block;width:30px;height:30px;min-width:30px;min-height:30px;flex:none}

.gtm-msg-sound-toggle[data-sound-state="pending"]{background:#f1f5f2;color:#61776a}
.gtm-msg-sound-toggle[data-sound-state="ready"]{color:#267748}
.gtm-msg-sound-toggle[data-sound-state="off"]{color:#85918a}
.gtm-msg-sound-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.gtm-msg-sound-hint{display:block;font-size:11px;color:#6a7b70;padding:3px 8px 8px;text-align:right}
.gtm-msg-sound-hint[hidden]{display:none}

/* Independent notification preferences */
.gtm-notification-form{display:grid;gap:0;min-width:0}
.gtm-notification-help{color:#66716b;margin:0 0 16px}
.gtm-notification-settings .gtm-notification-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--gtm-line);cursor:pointer;min-width:0}
.gtm-notification-settings .gtm-notification-row>span{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.gtm-notification-settings .gtm-notification-row strong{display:block;font-size:15px;line-height:1.5;color:var(--gtm-ink)}
.gtm-notification-settings .gtm-notification-row small{display:block;font-size:12px;line-height:1.6;color:#66716b}
.gtm-notification-settings .gtm-notification-row input[type=checkbox]{display:block;appearance:auto;-webkit-appearance:checkbox;accent-color:var(--gtm-green);width:22px;height:22px;min-width:22px;margin:0;flex:0 0 22px;cursor:pointer}
.gtm-push-status{font-size:12px;line-height:1.6;color:#66716b;margin:16px 0}
.gtm-notification-save{justify-self:start;min-height:44px;border:0;border-radius:8px;padding:10px 24px;background:var(--gtm-green);color:#fff;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:767px){.gtm-notification-save{width:100%}}

/* Dedicated messages screen: Zoomy's fixed posting shortcuts and the theme's
   ordinary page footer must not overlap the full-height chat UI. */
body.gtm-conversation-screen #js-footer-bar,
body.gtm-conversation-screen .c-footer-bar.p-footer-bar--logged-in,
body.gtm-conversation-screen #footer,
body.gtm-conversation-screen footer#footer{display:none}

/* Independently injected fixed posting bar on the dedicated message screen. */
body.gtm-conversation-screen [data-gtm-chat-hidden-postbar]{display:none}
@supports(padding:max(0px)){:root{--gtm-chat-safe-bottom:max(16px, env(safe-area-inset-bottom))}}

/* Mobile-only unified messaging list design (D). Desktop/tablet retain card UI. */
@media(max-width:767px){
 .gtm-message-page .gtm-msg-list-header{padding:16px 16px 12px}
 .gtm-message-page .gtm-msg-list-header h3{font-size:19px}
 .gtm-message-page .gtm-msg-search{padding:0 14px 12px}
 .gtm-message-page .gtm-msg-filters{padding:0 14px 14px;border-bottom:1px solid #e4ebe6}
 .gtm-message-page .gtm-msg-list>.gtm-msg-item{position:relative;border-bottom:0;padding:15px 16px;min-height:76px;box-sizing:border-box}
 .gtm-message-page .gtm-msg-list>.gtm-msg-item:not(:last-child)::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:#e4ebe6}
 .gtm-message-page .gtm-msg-list .gtm-msg-item strong{font-size:17px}
 .gtm-message-page .gtm-msg-list .gtm-msg-item small{font-size:14px}
 .gtm-message-page .gtm-msg-new-panel{padding:16px 0 20px}
 .gtm-message-page .gtm-msg-new-heading{padding:0 16px;gap:12px}
 .gtm-message-page .gtm-msg-new-heading h3{font-size:19px}
 .gtm-message-page .gtm-msg-new-panel>p:not(.gtm-msg-hint):not(.gtm-msg-no-results){margin:12px 16px;color:#53685a}
 .gtm-message-page .gtm-msg-new-panel form{margin:14px 16px 0;padding:0 0 16px;border-bottom:1px solid #e4ebe6}
 .gtm-message-page .gtm-msg-new-panel .gtm-msg-hint{margin:0;padding:14px 16px;color:#78877e;font-size:13px}
 .gtm-message-page .gtm-msg-new-panel .gtm-msg-search-result{position:relative;border:0;border-radius:0;padding:15px 16px;min-height:76px;box-sizing:border-box;cursor:pointer}
 .gtm-message-page .gtm-msg-new-panel .gtm-msg-search-result:not(:last-child)::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:#e4ebe6}
 .gtm-message-page .gtm-msg-new-panel .gtm-msg-search-result strong{font-size:17px}
 .gtm-message-page .gtm-msg-new-panel .gtm-msg-search-result:active{background:#f3f8f4}
}

/* iOS push-install guidance: shown only when JavaScript identifies iPhone Safari. */
.gtm-ios-install[hidden],.gtm-ios-guide[hidden]{display:none}
.gtm-ios-install{margin:16px 0 0;padding:16px;border:1px solid #d5e5dc;border-radius:12px;background:#f2f8f4;color:#194b34}
.gtm-ios-install strong{display:block;font-size:15px}.gtm-ios-install p{font-size:13px;line-height:1.7;margin:8px 0 12px}
.gtm-ios-guide-open{background:#fff;color:#087b4b;border:1px solid #83b59b;border-radius:8px;padding:10px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.gtm-ios-guide{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}
.gtm-ios-guide-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58)}
.gtm-ios-guide-dialog{position:relative;box-sizing:border-box;width:min(100%,460px);max-height:90dvh;overflow-y:auto;background:#fff;border-radius:16px;padding:22px;color:#183f2c;box-shadow:0 16px 60px #0003}
.gtm-ios-guide-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.gtm-ios-guide-top h3{font-size:18px;margin:0}.gtm-ios-guide-top button{border:0;background:#eef4f0;border-radius:50%;width:38px;height:38px;font-size:24px;cursor:pointer}
.gtm-ios-guide-count{text-align:right;font-size:12px;color:#65796d;margin:12px 0 6px}.gtm-ios-guide-progress{height:4px;background:#e7efea;border-radius:4px;overflow:hidden}.gtm-ios-guide-progress span{display:block;height:100%;width:25%;background:#087b4b;transition:width .2s}
.gtm-ios-guide-body{text-align:center;padding:28px 4px}.gtm-ios-guide-symbol{display:inline-flex;align-items:center;justify-content:center;width:76px;height:76px;padding:0;border-radius:12px;box-sizing:border-box;background:#eff7f2;color:#087b4b;font-size:21px;font-weight:700}.gtm-ios-guide-body h4{font-size:18px;margin:18px 0 10px}.gtm-ios-guide-body p{font-size:14px;line-height:1.8;margin:0;color:#4f6257}
.gtm-ios-guide-actions{display:flex;gap:10px}.gtm-ios-guide-actions button{flex:1;padding:12px;border:1px solid #bdd4c6;border-radius:9px;background:#fff;color:#087b4b;font:inherit;font-weight:700;cursor:pointer}.gtm-ios-guide-actions button:last-child{background:#087b4b;color:#fff}.gtm-ios-guide-actions button:disabled{opacity:.4;cursor:default}

/* Standalone notification screen: same edge-to-edge title treatment as messages. */
/* Independent notifications: one responsive component for desktop and mobile. */
.gtm-notice-page .gtm-notice-screen{background:#f6f8f6;min-height:65vh;width:100%;box-sizing:border-box}
.gtm-notice-title{background:#fff;border-bottom:1px solid #e4ebe6;text-align:center;padding:13px 16px}
.gtm-notice-title h1{font-size:20px;line-height:1.4;color:#168044;margin:0;font-weight:700}
.gtm-notice-layout{max-width:1120px;margin:0 auto;padding:24px 18px 48px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:22px;align-items:start}
.gtm-notice-tabs{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid #e5ebe6;border-radius:12px;padding:10px}
.gtm-notice-tabs a{display:flex;align-items:center;gap:10px;min-width:0;border-radius:8px;padding:12px 14px;color:#526459;text-decoration:none;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:0;white-space:nowrap}
.gtm-notice-tabs a.active{color:#fff;background:#168044;font-weight:600}
.gtm-notice-tabs a .dashicons{font-size:19px;width:19px;height:19px}
.gtm-notice-tabs a small{margin-left:auto;color:inherit;opacity:.75;font-size:11px}
.gtm-notice-content{background:#fff;border:1px solid #e5ebe6;border-radius:12px;overflow:hidden;min-width:0}
.gtm-notice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px;border-bottom:1px solid #e8ede9}
.gtm-notice-toolbar h2{font-size:18px;line-height:1.5;margin:0;font-weight:600;color:#263a2d;letter-spacing:0}
.gtm-notice-all-read{margin:0}
.gtm-notice-all-read button,.gtm-notice-item form button{border:0;background:transparent;color:#168044;cursor:pointer;font-size:13px}
.gtm-notice-item{display:flex;align-items:flex-start;gap:12px;padding:18px 20px;border-bottom:1px solid #e8ede9;background:#fff}
.gtm-notice-item:last-child{border-bottom:0}
.gtm-notice-item.is-unread{background:#f1f8f3}
.gtm-notice-item>img,.gtm-notice-item>.gtm-notice-avatar-link{display:block;width:44px;height:44px;flex:0 0 44px;border-radius:50%;object-fit:cover}
.gtm-notice-item>.gtm-notice-avatar-link{overflow:hidden}
.gtm-notice-item>.gtm-notice-avatar-link>img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.gtm-notice-item-body{flex:1;min-width:0}
.gtm-notice-item-body p{margin:0 0 5px;line-height:1.6}
.gtm-notice-item-body .gtm-member-news-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}
.gtm-notice-item-body .gtm-member-news-text.is-expanded{display:block;overflow:visible}
.gtm-notice-item-body .gtm-member-news-toggle{display:inline-block;margin:2px 0 8px;padding:0;border:0;background:none;color:#168044;font-size:13px;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.gtm-notice-item-body time{display:block;font-size:12px;color:#7c8a80}
.gtm-notice-item-body a{display:inline-block;margin-top:7px;color:#168044}
.gtm-notice-empty{margin:0;padding:36px 16px;text-align:center;color:#64766a;font-size:16px;font-weight:400;line-height:1.7}
.gtm-notice-page .gtm-main,.gtm-notice-page .gtm-content{width:100%;max-width:none;min-width:0;box-sizing:border-box;padding:0}
@media(max-width:767px){
 .gtm-notice-layout{display:block;padding:0 0 32px}
 .gtm-notice-tabs{display:flex;flex-direction:row;justify-content:safe center;overflow-x:auto;gap:7px;border:0;border-bottom:1px solid #e5ebe6;border-radius:0;padding:10px 12px;background:#fff;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .gtm-notice-tabs::-webkit-scrollbar{display:none}
 .gtm-notice-tabs a{flex:none;border-radius:24px;padding:9px 13px;background:#f2f5f2;font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0}
 .gtm-notice-tabs a .dashicons{display:none}
 .gtm-notice-tabs a small{margin-left:0}
 .gtm-notice-content{border:0;border-radius:0}
 .gtm-notice-toolbar{padding:10px 16px;min-height:0;border-bottom:0}
 .gtm-notice-toolbar.is-no-actions{display:none}
 .gtm-notice-toolbar h2{display:none}
 .gtm-notice-toolbar .gtm-notice-all-read{margin-left:auto}
 .gtm-notice-item{padding:15px 16px}
 .gtm-notice-empty{padding:28px 16px}
}


/* Standalone endpoints bypass Zoomy page.php and its outer gutters. */
/* Standalone document layout: keep the main in normal flow before the footer. */
body.gtm-standalone-document{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body.gtm-standalone-document>.gtm-standalone-main{display:block;position:relative;flex:1 0 auto;clear:both;width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box;background:#fff}
body.gtm-standalone-document>.l-footer{position:relative;flex:0 0 auto;clear:both;width:100%;margin-top:auto}


/* Notification controls and incremental list navigation */
.gtm-notice-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.gtm-notice-actions form{margin:0;display:block}
.gtm-notice-actions button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #91c7a1;border-radius:9px;padding:9px 16px;background:#fff;color:#187944;font-size:13px;font-weight:700;line-height:1.35;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.gtm-notice-actions button:disabled{opacity:.48;cursor:default;background:#f5f7f5;border-color:#d5ddd7;color:#7c8980}
.gtm-notice-actions button:not(:disabled):hover,.gtm-notice-actions button:not(:disabled):focus-visible{background:#edf8f0;border-color:#328d51}
.gtm-notice-actions .gtm-notice-delete button{background:#fff;color:#ae4545;border-color:#e3baba}
.gtm-notice-actions .gtm-notice-delete button:hover,.gtm-notice-actions .gtm-notice-delete button:focus-visible{background:#fff3f3;border-color:#c66a6a}
.gtm-notice-more{display:flex;justify-content:center;align-items:center;padding:22px 16px 26px;border-top:1px solid #e8ede9;background:#fff}
.gtm-notice-more a{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:270px;max-width:100%;border:1px solid #91c7a1;border-radius:24px;padding:11px 22px;color:#187944;background:#fff;text-decoration:none;font-size:14px;font-weight:700;line-height:1.4;transition:background .15s ease,border-color .15s ease}
.gtm-notice-more a:hover,.gtm-notice-more a:focus-visible{background:#edf8f0;border-color:#328d51;color:#146b3b;text-decoration:none}
.gtm-notice-more a .dashicons{font-size:18px;width:18px;height:18px;line-height:1;flex:none}
.gtm-notice-more a small{font-size:12px;font-weight:500;color:#64766a}
@media(max-width:767px){.gtm-notice-actions{width:100%;justify-content:flex-end;gap:8px}.gtm-notice-toolbar{padding:12px 14px}.gtm-notice-actions button{min-height:38px;padding:9px 12px;font-size:12px}.gtm-notice-more{padding:18px 16px 24px}.gtm-notice-more a{width:100%;max-width:340px;min-width:0}}

/* Desktop photo editor: keep header preview compact without changing the uploaded image. */
@media(min-width:768px){.gtm-photo-header-field .gtm-photo-preview{max-width:600px}}
.gtm-photo-preview[hidden]{display:none}

/* Conversation controls */
.gtm-msg-manage-form{display:inline-flex;margin:0;flex:none}
.gtm-msg-manage-form button{font:inherit;font-size:12px;line-height:1.2;border:1px solid #dce5df;border-radius:8px;background:#fff;color:#526b5a;padding:8px 10px;cursor:pointer;white-space:nowrap}
.gtm-msg-manage-form button:hover{background:#f1f6f2}
.gtm-msg-list-delete button{font-size:11px;padding:6px 8px}
.gtm-msg-heading-delete{margin-left:auto}
.gtm-msg-heading-block button{color:#9b4545}
.gtm-msg-blocked-notice{padding:16px;margin:0;text-align:center;background:#fff4f4;color:#8a3535;font-size:13px}
.gtm-msg-heading-member{flex:1}
.gtm-msg-heading-delete{margin-left:0}
@media(max-width:600px){.gtm-msg-heading{gap:6px;padding:10px 8px}.gtm-msg-heading-member{min-width:0}.gtm-msg-heading .gtm-msg-manage-form button{padding:7px 6px;font-size:11px}.gtm-msg-list-delete button{padding:6px 8px}}
