/* Application navigation and status UI; the four composition styles remain unchanged. */
.profile-theme .skip{position:fixed;top:-100px;left:16px;z-index:100;background:var(--paper);padding:12px}.profile-theme .skip:focus{top:12px}.profile-theme .site-header{position:relative;z-index:4}.profile-theme .brand img{width:54px;height:auto}.profile-theme .main-nav{display:flex;gap:24px;font-size:13px;margin-left:auto}.profile-theme .main-nav a,.profile-theme .locale-nav a{min-height:44px;display:inline-flex;align-items:center}.profile-theme .locale-nav{display:flex;gap:16px;margin-left:32px;font-size:12px}.profile-theme .locale-nav [aria-current]{text-decoration:underline;text-underline-offset:6px}.profile-theme .mobile-menu{font-size:12px}.profile-theme .mobile-menu summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.profile-theme .mobile-menu nav{position:absolute;right:var(--gutter);top:100%;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:20px;min-width:230px;display:grid;z-index:8}.profile-theme .mobile-menu nav a,.profile-theme .mobile-menu nav button{padding:10px 0;min-height:44px;text-align:left}.profile-theme .preview-banner,.theme-notice{font:12px/1.8 var(--sans);padding:10px var(--gutter);border-bottom:1px solid var(--line)}.theme-notice a{text-decoration:underline;margin-left:16px;display:inline-block;min-height:30px}.profile-theme .site-footer nav{display:flex;gap:4px 24px;flex-wrap:wrap;font-size:12px;max-width:900px}.profile-theme .site-footer nav a{min-height:44px;padding:10px 0}.profile-theme .site-footer .footer-top{display:block}.profile-theme #toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);padding:14px 24px;background:#1d332e;color:#fff;font-size:13px;max-width:calc(100% - 36px);width:max-content;z-index:50}.profile-theme #toast:empty{display:none}.profile-theme .theme-report{padding-block:24px;font-size:12px}.profile-theme .theme-report a{display:inline-block;min-height:44px;padding-block:10px}.profile-theme #confirm-dialog{padding:28px;max-width:500px}.profile-theme #confirm-dialog button{min-height:44px;border:1px solid currentColor;margin:12px;padding:10px}.profile-theme .theme-updates{max-width:900px;padding-block:60px}.theme-updates section+section{margin-top:36px}.theme-updates h2{font:24px/1.8 var(--serif);margin-bottom:16px}.profile-theme button[disabled]{cursor:default;opacity:.6}.profile-theme .prose{tab-size:4}@media(max-width:900px){.profile-theme .main-nav{display:none}.profile-theme .locale-nav{margin-left:auto;gap:0}.profile-theme .locale-nav a{min-width:44px;justify-content:center}.profile-theme .site-header{gap:8px}.profile-theme .brand img{width:48px}.profile-theme .mobile-menu summary{padding-left:6px}}

/* Additional photos (06 onward): retain the first five compositions in each theme. */
.profile-theme .scene-extra-photos,
.profile-theme .frames-extras,
.profile-theme .margins-extras{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 align-items:start;gap:32px 20px;min-width:0;
}
.profile-theme .scene-extra-photos{margin-top:48px}
.profile-theme .scene-last .scene-extra-photos>.photograph,
.profile-theme .frames-extras>.photograph,
.profile-theme .margins-extras>.photograph{
 width:100%;max-width:none;margin:0;min-width:0;
}
.profile-theme .frames-extras:not(:empty){padding-top:48px}
.profile-theme .margins-extras:not(:empty){padding-bottom:40px}
.profile-theme .scene-last .scene-extra-photos>.photograph:last-child:nth-child(odd),
.profile-theme .frames-extras>.photograph:last-child:nth-child(odd),
.profile-theme .margins-extras>.photograph:last-child:nth-child(odd){
 grid-column:1/-1;width:70%;max-width:560px;justify-self:center;
}
.profile-theme .scene-extra-photos .photo-open img,
.profile-theme .frames-extras .photo-open img,
.profile-theme .margins-extras .photo-open img{height:auto;object-fit:contain}
.profile-theme .scene-extra-photos figcaption>span:last-child,
.profile-theme .frames-extras figcaption>span:last-child,
.profile-theme .margins-extras figcaption>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(min-width:700px){
 .profile-theme .scene-extra-photos,
 .profile-theme .frames-extras,
 .profile-theme .margins-extras{gap:48px 36px}
 .profile-theme .scene-extra-photos{margin-top:72px}
 .profile-theme .frames-extras:not(:empty){padding-top:72px}
 .profile-theme .margins-extras:not(:empty){padding-bottom:56px}
}

/* Current activity uses the theme's own paper/ink tokens. */
.profile-theme .activity-section{margin-top:48px}
.profile-theme .activity-section>h2{font:24px/1.6 var(--serif);margin:4px 0 18px}
.profile-theme .activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.profile-theme .activity-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;border-top:1px solid var(--line);padding-top:14px}
.profile-theme .activity-card-image img{width:96px;height:120px;object-fit:cover}
.profile-theme .activity-card h3{font:18px/1.55 var(--serif);margin:4px 0 6px}
.profile-theme .activity-card h3 a,.profile-theme .activity-card .text-link{color:inherit}
.profile-theme .activity-meta,.profile-theme .activity-person{font:12px/1.7 var(--sans);opacity:.72;margin:4px 0}
.profile-theme .activity-person{display:flex;align-items:center;gap:7px;min-height:26px}
.profile-theme .activity-person-avatar{width:24px;height:24px;flex:0 0 24px;border-radius:50%;object-fit:cover}
.profile-theme .activity-person span{min-width:0}
.profile-theme .activity-card .eyebrow{font:11px/1.5 var(--sans);letter-spacing:.12em}
.profile-theme .activity-card .text-link{display:inline-flex;min-height:40px;align-items:center;font:12px/1.5 var(--sans)}
@media(max-width:700px){
 .profile-theme .activity-grid{grid-template-columns:1fr}
 .profile-theme .activity-card{grid-template-columns:82px minmax(0,1fr)}
 .profile-theme .activity-card-image img{width:82px;height:102px}
}

/* Place event discovery just after the four theme opening compositions. */
.profile-theme .theme-featured{max-width:1000px;padding-block:38px 12px}
.profile-theme .theme-featured:empty{display:none}
.profile-theme .theme-featured .activity-section{margin:0;border-block:1px solid var(--line);padding-block:20px}
.profile-theme .theme-featured .activity-section>h2{font:clamp(20px,2.5vw,26px)/1.55 var(--serif);margin:6px 0 18px}
.profile-theme .theme-featured .activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.profile-theme .theme-featured .activity-card{grid-template-columns:84px minmax(0,1fr);gap:12px}
.profile-theme .theme-featured .activity-card-image img{width:84px;height:104px}
.profile-theme .activity-card.is-image-free,
.profile-theme .theme-featured .activity-card.is-image-free{grid-template-columns:minmax(0,1fr)}
.profile-theme .activity-more{text-align:right;margin:18px 0 0}
.profile-theme .activity-more a{color:inherit;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;border-bottom:1px solid currentColor;font:12px/1.7 var(--sans)}
@media(max-width:700px){
 .profile-theme .theme-featured{padding-block:26px 6px}
 .profile-theme .theme-featured .activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .profile-theme .theme-featured .activity-card,
 .profile-theme .theme-featured .activity-card.is-image-free{display:block;min-width:0}
 .profile-theme .theme-featured .activity-card-image{display:block;margin-bottom:8px}
 .profile-theme .theme-featured .activity-card-image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
 .profile-theme .theme-featured .activity-card h3{font-size:15px;line-height:1.5}
 .profile-theme .theme-featured .activity-meta,
 .profile-theme .theme-featured .activity-person{font-size:11px;line-height:1.55}
 .profile-theme .theme-featured .activity-person-avatar{width:22px;height:22px;flex-basis:22px}
}


/* Guest handoff CTA — keep the claim action obvious inside profile-theme shells. */
.guest-preview-toolbar{
  position:relative;
  z-index:4;
  max-width:920px;
  margin:20px auto 32px;
  padding:20px;
  border:1px solid var(--line);
  background:var(--paper);
}
.guest-preview-toolbar>strong{
  display:block;
  font-size:clamp(20px,3.2vw,28px);
  line-height:1.6;
  margin-bottom:8px;
}
.guest-preview-toolbar>p:not(.eyebrow):not(.guest-preview-claim-note):not(.guest-preview-account){
  line-height:1.85;
}
.guest-preview-primary-actions{
  margin-top:18px;
}
.guest-preview-primary-actions .guest-preview-claim-button{
  display:flex;
  width:100%;
  min-height:56px;
  padding:14px 20px;
  align-items:center;
  justify-content:center;
  background:var(--ink);
  color:var(--paper);
  border:1px solid var(--ink);
  font-weight:700;
  line-height:1.5;
  text-align:center;
  text-decoration:none;
}
.guest-preview-primary-actions .guest-preview-claim-button:hover{
  opacity:.86;
}
.guest-preview-claim-note{
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}
.guest-preview-account{
  margin-top:14px;
  font-size:13px;
  line-height:1.7;
}
.guest-preview-account a{
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:4px;
}
.guest-handoff-questions{
  margin-top:20px;
}
@media(max-width:960px){
  .guest-preview-toolbar{
    margin:12px var(--gutter) 28px;
    padding:18px;
  }
}
