/* The village is the canvas. Navigation and report content float above it. */
#people-fullscreen{display:none}
.scene-status{position:absolute;z-index:20;top:45%;left:40%;transform:translate(-50%,-50%);width:min(340px,calc(100% - 32px));padding:26px;text-align:center;background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 15px 70px #0004}
.scene-loading-mark{display:block;color:var(--red);font-size:40px;margin-bottom:14px;line-height:1}
.scene-status strong{display:block;font-size:16px;font-weight:500}
.scene-status p{font-size:12px;color:var(--secondary);line-height:1.7;margin:12px 0 0}
.scene-status button{margin-top:20px;border:1px solid var(--line);background:var(--text);color:var(--bg);padding:11px 16px;border-radius:10px;font-size:12px}
.experience:is([data-view=brands],[data-view=retailers]) .scene-status{display:none}
.experience:not([data-scene-state=ready]) #people-pins{visibility:hidden}
.experience[data-scene-state=error] #gathering-plane{opacity:.2}
#people-viewport:not([data-scene-visible=true])>.spatial-canvas,
#people-viewport:not([data-scene-visible=true])>#people-pins{opacity:0;pointer-events:none}
#people-viewport[data-scene-visible=true]>.spatial-canvas,
#people-viewport[data-scene-visible=true]>#people-pins{animation:people-scene-arrival .18s ease-out both}
@keyframes people-scene-arrival{from{opacity:0}to{opacity:1}}
.village-preparation{position:absolute;z-index:5;left:30%;top:55%;transform:translate(-50%,-50%);margin:0;color:var(--secondary);font-size:13px;text-align:center}
.village-preparation[hidden]{display:none}
@media(max-width:800px){.village-preparation{left:50%;top:40%;width:80%}}
body[data-motion=paused] #people-viewport[data-scene-visible=true]>.spatial-canvas,
body[data-motion=paused] #people-viewport[data-scene-visible=true]>#people-pins{animation:none}
@media(prefers-reduced-motion:reduce){
  #people-viewport[data-scene-visible=true]>.spatial-canvas,
  #people-viewport[data-scene-visible=true]>#people-pins{animation:none}
}
@media(max-width:800px){.scene-status{left:50%;top:35%;padding:20px}}
.experience[data-view=people]{
  --glass:color-mix(in srgb,var(--panel) 90%,transparent);
  position:relative;isolation:isolate;width:100%;max-width:none;height:100svh;min-height:660px;
  margin:50px 0 0;padding:0;border:0;border-radius:0;overflow:hidden;scroll-margin-top:0;
  background:var(--bg);
}
.experience[data-view=people] .experience-head{
  position:absolute;inset:22px 28px auto;z-index:12;min-height:0;padding:0;border:0;
  display:flex;align-items:center;justify-content:flex-start;gap:12px;pointer-events:none;
}
.experience[data-view=people] .experience-head>*{pointer-events:auto}
.experience[data-view=people] .view-tabs{
  width:auto;gap:5px;padding:5px;border:1px solid var(--line);border-radius:14px;
  background:var(--glass);backdrop-filter:blur(20px);box-shadow:0 6px 25px #0002;
}
.experience[data-view=people] .view-tabs button{font-size:12px;padding:10px 15px;border-radius:9px;gap:9px}
.experience[data-view=people] .view-tabs button:after{display:none}
.experience[data-view=people] .view-tabs button.active{background:var(--raised);color:var(--text)}
.experience[data-view=people] .view-tabs button.active>span{color:var(--red)}
.experience[data-view=people] #share,.experience[data-view=people] #share-status{display:none}
.experience[data-view=people] #people-fullscreen{
  display:flex;align-items:center;gap:10px;margin-left:0;padding:11px 16px;min-height:44px;
  font-size:12px;border:1px solid var(--line);border-radius:12px;background:var(--glass);backdrop-filter:blur(20px);
}
#people-fullscreen>span{font-size:19px;line-height:1}
.experience[data-view=people] .explorer-context{
  position:absolute;z-index:7;left:30px;top:95px;right:30px;padding:0;margin:0;
  display:flex;align-items:center;gap:25px;pointer-events:none;
}
.experience[data-view=people] .context-title>span{font-size:8px;letter-spacing:1.8px}
.experience[data-view=people] .context-title h2{font-size:35px;margin-top:7px;letter-spacing:-1.4px}
.experience[data-view=people] .country-pair{pointer-events:auto;margin-left:auto;gap:0;width:auto}
.experience[data-view=people] .country-pair label{
  background:var(--glass);border:1px solid var(--line);border-radius:12px;padding:9px 14px;backdrop-filter:blur(20px);
}
.experience[data-view=people] .country-pair label>span:first-child{font-size:7px;display:block;margin-bottom:3px}
.experience[data-view=people] .flag-select select{font-size:12px;max-width:150px}
.experience[data-view=people] .experience-footer{
  position:absolute;z-index:8;bottom:11px;left:30px;right:30px;margin:0;padding:0;border:0;font-size:8px;pointer-events:none;
}
.experience[data-view=people] .experience-footer button{font-size:9px;pointer-events:auto}
.experience[data-view=people] #selection-summary{display:none}
#people-view{position:absolute;inset:0;animation:none}
#people-view::before{content:'';position:absolute;inset:0;z-index:6;pointer-events:none;background:linear-gradient(to bottom,var(--bg),color-mix(in srgb,var(--bg) 90%,transparent) 120px,transparent 235px,transparent calc(100% - 120px),color-mix(in srgb,var(--bg) 85%,transparent))}
#people-view .people-grid,#people-view .people-stage{
  position:absolute;inset:0;display:block;border:0;border-radius:0;overflow:visible;background:none;
}
#people-view .people-viewport{
  position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;border-radius:0;
  background:radial-gradient(ellipse at 45% 60%,#62667540,transparent 65%);
}
#people-view .people-stage .stage-toolbar{
  z-index:8;top:170px;left:30px;right:auto;max-width:calc(100% - 60px);pointer-events:none;
}
#people-view .stage-toolbar>span{display:none}
#people-view .stage-toolbar>div{display:flex;gap:7px;width:auto;justify-content:start;pointer-events:auto}
#people-view .stage-toolbar button{min-height:36px;padding:8px 12px;font-size:10px;background:var(--glass);backdrop-filter:blur(20px)}
#people-view .stage-toolbar #reset-people{background:var(--text);color:var(--bg)}
#people-view .stage-toolbar #people-info-toggle{border-color:var(--line);color:var(--secondary)}
#people-view>.cast-strip{
  position:absolute;z-index:10;top:auto;left:50%;bottom:40px;transform:translateX(-50%);
  width:max-content;max-width:calc(100% - 56px);margin:0;padding:7px;display:flex;gap:4px;
  border:1px solid var(--line);border-radius:16px;background:var(--glass);backdrop-filter:blur(24px);
  box-shadow:0 12px 45px #0004;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;
}
#people-view>.cast-strip button{flex:none;font-size:11px;min-width:0;min-height:40px;padding:9px 14px;border-color:transparent;border-radius:10px}
#people-view>.cast-strip button:hover{background:var(--raised)}
#people-view>.cast-strip button.active{background:var(--red);color:#fff}
#people-view .detail-panel{
  position:absolute;z-index:9;top:170px;right:28px;bottom:auto;left:auto;width:304px;max-height:calc(100% - 300px);
  display:block;padding:22px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;
  border:1px solid var(--line);border-radius:18px;background:var(--glass);backdrop-filter:blur(24px);box-shadow:0 16px 50px #0002;
}
#people-view .detail-panel h3{font-size:29px;max-width:none;margin:15px 0 9px}
#people-view .detail-top{font-size:8px;gap:8px;flex-wrap:wrap}
#people-view .detail-subtitle{font-size:10px}
#people-view .persona-activity{font-size:10px;max-width:none;margin-bottom:12px}
#people-view .person-budget{position:static;display:flex;gap:12px;margin:15px 0;align-items:center}
#people-view .person-budget strong{font-size:55px;letter-spacing:-3px}
#people-view .person-budget span{font-size:10px;max-width:none}
#people-view .person-navigation{margin:0 0 16px;padding-bottom:13px}
#people-view .person-navigation button{width:32px;height:32px;display:grid;place-items:center;padding:0;line-height:1;flex-shrink:0}
#people-view .person-navigation button svg{display:block;width:18px;height:18px}
#people-view .person-reading{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
#people-view .person-reading>summary{cursor:pointer;font-size:11px;color:var(--secondary);display:flex;justify-content:space-between;gap:12px;list-style:none}
#people-view .person-reading>summary::-webkit-details-marker{display:none}
#people-view .person-reading[open]>summary>span{transform:rotate(45deg)}
#people-view .detail-story{font-size:11px;line-height:1.7;max-width:none;margin:16px 0}
#people-view .person-compare{width:100%;display:block}
#people-view .overview-copy{display:block}
#people-view .overview-copy .eyebrow{font-size:7px}
#people-view .overview-copy h3{font-size:30px;margin:16px 0;line-height:1.12}
#people-view .overview-copy h3 br{display:block}
#people-view .overview-copy p{font-size:11px;max-width:none;line-height:1.8}
#people-view .overview-copy>p:first-of-type{display:none}
#people-view .overview-stat{position:static;display:block;font-size:65px;line-height:1;margin:22px 0 14px;letter-spacing:-4px}
#people-view .overview-stat small{font-size:24px;letter-spacing:-1px}
#people-view .overview-copy button{margin-top:18px;font-size:11px}
#people-view .people-camera-controls{left:30px;right:auto;bottom:117px;z-index:8;background:var(--glass);backdrop-filter:blur(20px)}
#people-view .people-camera-controls button{width:34px;height:34px}
#people-view .globe-actions{left:360px;right:auto;bottom:118px;max-width:none;z-index:9;gap:12px}
#people-view .globe-actions button{background:var(--glass);backdrop-filter:blur(20px);min-height:44px}
#people-view .people-help summary{background:var(--glass);border:1px solid var(--line);border-radius:30px;padding:12px}
#people-view .people-help[open]>div{bottom:55px;left:auto;right:0}
#people-view .scene-bottom{display:none}
#people-view .people-wheel-hint{top:auto;bottom:177px}
#people-view[data-focused=true] .person-pin.selected>span{opacity:0}
#index-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:var(--bg);color:var(--text);overflow:hidden}
#index-dialog::backdrop{background:var(--bg)}
#index-dialog .experience[data-view=people]{width:100%;height:100%;min-height:0;margin:0}
#index-dialog .experience:not([data-view=people]){position:relative;width:100%;height:100%;min-height:0;margin:0;padding:0 28px 25px;overflow:auto;scrollbar-width:thin}
#index-dialog .experience:not([data-view=people]) .experience-head{position:sticky;z-index:12;top:0;padding:20px 0;background:var(--bg);display:flex;align-items:center;justify-content:flex-start;gap:12px}
#index-dialog .experience:not([data-view=people]) .experience-head .view-tabs{gap:25px}
#index-dialog .experience:not([data-view=people]) .experience-head .view-tabs button{font-size:12px}
#index-dialog .experience:not([data-view=people]) .experience-head .view-tabs button:after{display:none}
#index-dialog .experience:not([data-view=people]) #share,#index-dialog .experience:not([data-view=people]) #share-status{display:none}
#index-dialog .experience:not([data-view=people]) #people-fullscreen{display:flex;align-items:center;gap:10px;margin-left:0;padding:10px 14px;min-height:42px;font-size:12px;border:1px solid var(--line);border-radius:12px}
#index-dialog .experience:not([data-view=people]) .explorer-context{padding:25px 0}
#index-dialog .experience:not([data-view=people]) .map-grid{min-height:60vh}
#index-dialog .experience:not([data-view=people]) .world-map{height:60vh;min-height:400px}
body.village-immersive{overflow:hidden}
body.village-immersive main>:not(#index-dialog),body.village-immersive>.site-header,body.village-immersive>footer,body.village-immersive>.skip{visibility:hidden}
html:has(body.village-immersive){overflow:hidden;scroll-behavior:auto}

@media(max-width:1100px){
  #people-view .detail-panel{width:270px;padding:18px}
  #people-view>.cast-strip button{font-size:10px;padding:9px 10px}
  #people-view .globe-actions{left:auto;right:28px}
  #people-view .globe-actions .people-help{display:none}
}
@media(max-width:800px){
  #index-dialog .experience:not([data-view=people]){padding:0 16px 20px}
  #index-dialog .experience:not([data-view=people]) .experience-head{padding:12px 0;gap:8px}
  #index-dialog .experience:not([data-view=people]) .experience-head .view-tabs{gap:14px;width:auto}
  #index-dialog .experience:not([data-view=people]) .experience-head .view-tabs button{font-size:10px;gap:4px}
  #index-dialog .experience:not([data-view=people]) #people-fullscreen{font-size:10px;padding:8px 10px;min-height:36px;gap:5px}
  .experience[data-view=people]{height:100svh;min-height:640px;margin-top:35px}
  .experience[data-view=people] .experience-head{inset:12px 12px auto;gap:8px}
  .experience[data-view=people] .view-tabs{padding:4px;gap:0}
  .experience[data-view=people] .view-tabs button{font-size:10px;padding:8px 9px;gap:5px}
  .experience[data-view=people] .view-tabs button>span{font-size:7px}
  .experience[data-view=people] #people-fullscreen{font-size:10px;padding:8px 10px;min-height:38px;gap:5px;white-space:nowrap}
  .experience[data-view=people] .explorer-context{left:16px;right:16px;top:74px;gap:8px}
  .experience[data-view=people] .context-title>span{font-size:6px;letter-spacing:1px}
  .experience[data-view=people] .context-title h2{font-size:25px;letter-spacing:-1px;margin-top:5px}
  .experience[data-view=people] .country-pair label{padding:7px 9px}
  .experience[data-view=people] .country-pair label>span:first-child{display:none}
  .experience[data-view=people] .flag-select select{font-size:10px;max-width:90px}
  #people-view .people-stage .stage-toolbar{top:130px;left:16px;right:16px;max-width:none}
  #people-view .stage-toolbar>div{gap:5px;flex-wrap:wrap}
  #people-view .stage-toolbar button{min-height:32px;padding:6px 9px;font-size:9px}
  #people-view .stage-toolbar kbd{display:none}
  #people-view .detail-panel{top:auto;bottom:145px;left:16px;right:16px;width:auto;max-height:42%;padding:14px 16px;border-radius:15px}
  #people-view .detail-panel h3{font-size:23px;margin:7px 0;max-width:60%}
  #people-view .person-navigation{padding:0;border:0;margin:0 0 8px;gap:5px}
  #people-view .person-navigation button{width:28px;height:28px;font-size:17px}
  #people-view .person-navigation span{font-size:8px}
  #people-view .detail-top{font-size:7px;max-width:70%}
  #people-view .detail-rank{display:none}
  #people-view .persona-activity,#people-view .detail-subtitle:not(.persona-address){display:none}
  #people-view .persona-address{font-size:9px;max-width:60%;margin-bottom:0}
  #people-view .person-budget{position:absolute;top:56px;right:17px;margin:0;gap:7px}
  #people-view .person-budget strong{font-size:36px;letter-spacing:-2px}
  #people-view .person-budget span{font-size:8px}
  #people-view .person-reading{margin-top:12px;padding-top:10px}
  #people-view .person-reading>summary{font-size:10px}
  #people-view .overview-copy{padding-right:70px}
  #people-view .overview-copy .eyebrow,#people-view .overview-copy h3{display:none}
  #people-view .overview-copy p{font-size:10px;line-height:1.6}
  #people-view .overview-stat{position:absolute;right:16px;top:19px;margin:0;font-size:40px;letter-spacing:-2px}
  #people-view .overview-stat small{font-size:15px}
  #people-view .overview-copy button{font-size:10px;margin-top:9px}
  #people-view>.cast-strip{left:12px;right:12px;bottom:34px;max-width:none;width:auto;transform:none;justify-content:flex-start;padding:5px;border-radius:13px}
  #people-view>.cast-strip button{font-size:10px;min-height:36px;padding:8px 12px}
  #people-view .people-camera-controls{left:16px;bottom:94px;padding:3px;gap:0}
  #people-view .people-camera-controls button{width:28px;height:29px;font-size:18px}
  #people-view .people-camera-controls output{min-width:36px;font-size:9px}
  #people-view .people-camera-controls>span{margin:0 2px}
  #people-view .globe-actions{left:auto;right:16px;bottom:94px}
  #people-view #shake-globe{padding:7px;width:36px;height:37px;min-height:0;overflow:hidden;font-size:0;gap:0;justify-content:center;border-radius:10px}
  #people-view #shake-globe>span{font-size:20px}
  #people-view .people-wheel-hint{bottom:300px;font-size:9px}
  .experience[data-view=people] .experience-footer{left:17px;right:17px;bottom:10px;font-size:6px}
  .experience[data-view=people] .experience-footer button{font-size:8px}
}
@media(max-width:380px){
  .experience[data-view=people] .view-tabs button>span{display:none}
  .experience[data-view=people] .view-tabs button{padding:8px}
  .experience[data-view=people] .context-title h2{font-size:22px}
}
@media(max-height:620px) and (min-width:801px){
  .experience.is-immersive .explorer-context{top:80px}
  .experience.is-immersive #people-view .stage-toolbar{top:144px}
  .experience.is-immersive #people-view .detail-panel{top:144px;max-height:calc(100% - 254px)}
}

/* A single village console; the report controls belong to the selected person. */
.experience[data-view=people] .country-pair{display:none}
#people-view .detail-panel{top:106px;width:320px;max-height:calc(100% - 150px)}
#people-view .village-invitation{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:25px}
#people-view .persona-budget-region{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
#people-view .budget-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#people-view .budget-heading>span{font-size:10px;color:var(--secondary)}
#people-view .persona-select{position:relative;display:flex;align-items:center;gap:7px;border-bottom:1px solid var(--line);padding:5px 0 5px 6px;min-width:0;width:150px;max-width:60%;transition:border-color .2s}
#people-view .persona-select:hover,#people-view .persona-select:focus-within{border-color:var(--red)}
#people-view .persona-select>svg{position:absolute;right:0;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none;color:var(--secondary)}
#people-view .persona-country img{width:17px;height:12px;object-fit:cover}
#people-view .persona-select select{appearance:none;width:100%;min-width:0;max-width:none;min-height:28px;margin:0;font:inherit;font-size:12px;color:var(--text);border:0;border-radius:0;background:transparent;padding:0 23px 0 0;cursor:pointer;text-overflow:ellipsis}
/* The unit toggle sits under the name so long names ("Your mother-in-law") keep the full width. */
#people-view .persona-title-row{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:14px;margin:15px 0 9px}
#people-view .persona-title-row .budget-units{justify-self:end;margin-left:auto}
#people-view .persona-title-row .no-hyphen-break{white-space:nowrap}
#people-view .detail-panel .persona-title-row h3{margin:0;min-width:0;overflow-wrap:normal}
.budget-units{display:inline-flex;gap:2px;margin:0;padding:3px;border:1px solid var(--line);border-radius:20px;background:var(--raised)}
.budget-units button{padding:5px 11px;border-radius:16px;font-size:10px;line-height:1.4;color:var(--muted);transition:background .2s,color .2s}
.budget-units button[aria-pressed=true]{background:var(--text);color:var(--bg)}
.budget-units button:hover:not([aria-pressed=true]){color:var(--text)}
#people-view .person-budget span{max-width:100px;line-height:1.5}
#people-view .budget-note{font-size:9px;color:var(--muted);line-height:1.6;margin:-8px 0 16px}
#people-view .budget-source{font-size:10px;color:var(--muted);line-height:1.7;margin:14px 0}
#people-view .budget-source a{color:var(--secondary);text-decoration:underline;text-underline-offset:3px}
#people-view .budget-rank{font-size:10px;color:var(--muted);line-height:1.6;margin:-6px 0 17px}
#people-view .person-compare{padding:0;border:0}
#people-view #compare-people{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 0;font-size:11px;border-top:1px solid var(--line);color:var(--secondary);text-align:left}
#people-view #compare-people:hover,#people-view #compare-people[aria-expanded=true]{color:var(--red)}
#people-view #compare-people>span:last-child{font-size:18px;font-weight:300}
#people-view #person-comparison{padding:8px 0 2px}
#people-view #person-comparison .comparison-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px}
#people-view #person-comparison p{font-size:11px;line-height:1.7;margin:12px 0 3px}
#people-view .person-reading{margin-top:0}

/* Painted signboards: warm paper, red lettering and a little wooden post. */
#people-view .people-viewport #people-pins .person-pin{
  width:max-content;min-width:82px;max-width:150px;height:34px;padding:3px 12px;
  border:1px solid #a4493f;border-radius:4px;background:#fff4df;color:#962f33;
  box-shadow:inset 0 3px 0 #fffdf6,0 2px 0 #ba9f82,0 4px 8px #37261d33;
  backdrop-filter:none;gap:0;transition:background .2s,color .2s,box-shadow .2s;
}
#people-view .people-viewport #people-pins .person-pin:before{content:'';position:absolute;inset:3px;border:1px solid #b66c5838;border-radius:1px;pointer-events:none}
#people-view .people-viewport #people-pins .person-pin:after{content:'';position:absolute;top:calc(100% + 2px);left:calc(50% - 2px);width:4px;height:11px;background:linear-gradient(90deg,#785744,#bf9777,#785744);box-shadow:1px 2px 2px #0002;pointer-events:none}
#people-view .person-pin>b{display:block;font:italic 600 17px/1 Georgia,'Times New Roman',serif;white-space:nowrap;letter-spacing:-.35px}
#people-view .people-viewport #people-pins .person-pin:hover,#people-view .people-viewport #people-pins .person-pin.hovered,#people-view .people-viewport #people-pins .person-pin.selected{background:#9d3036;color:#fff7e8;border-color:#b0574d;box-shadow:inset 0 3px 0 #fff5e3,0 2px 0 #69312b,0 5px 14px #37261d44}
#people-view .people-viewport #people-pins .person-pin.peer{background:#294e40;color:#fff7e8;border-color:#57806e;box-shadow:inset 0 3px 0 #fff5e3,0 2px 0 #1b392e,0 5px 14px #37261d44}
#people-view .people-viewport #people-pins .person-pin:focus-visible{outline:3px solid var(--red);outline-offset:4px}

#people-view .people-camera-controls{
  left:calc((100% - 350px)/2);right:auto;bottom:34px;transform:translateX(-50%);
  width:max-content;max-width:calc(100% - 36px);padding:5px 9px;gap:0;border-radius:14px;z-index:10;
  background:var(--glass);backdrop-filter:blur(20px);box-shadow:0 8px 40px #0003;
}
#people-view .village-control-group{display:flex;align-items:center;gap:3px}
#people-view .village-control-group+.village-control-group{border-left:1px solid var(--line);padding-left:12px;margin-left:12px}
#people-view .people-camera-controls button{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;height:42px;padding:0 9px;font-size:11px;white-space:nowrap}
#people-view .people-camera-controls button:disabled{opacity:.35}
#people-view .people-camera-controls svg{width:24px;height:22px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
#people-view .people-camera-controls .village-zoom button{width:32px;padding:0;font-size:23px;font-weight:300}
#people-view .people-camera-controls output{width:44px;min-width:44px;flex:none;font-size:10px;font-variant-numeric:tabular-nums}
#people-view .people-camera-controls .village-rotation>button{width:84px;flex:none}
#people-view .village-rotation>span{font-size:9px;color:var(--muted);margin-right:4px}
#people-view .people-camera-controls .snow-symbol{font-size:24px;color:#e5eefa}
#people-view .people-help{display:block;position:relative;margin-left:3px}
#people-view .people-help summary{display:grid;place-items:center;width:30px;height:32px;padding:0;border:0;border-radius:7px;background:transparent;font-size:14px;list-style:none}
#people-view .people-help summary::-webkit-details-marker{display:none}
#people-view .people-help summary:hover{color:var(--text);background:var(--raised)}
#people-view .people-help[open]>div{bottom:55px;left:auto;right:-10px;width:300px;padding:20px}
#people-view .people-help #people-full-globe{width:100%;height:36px;border:1px solid var(--line);margin-top:10px}
#people-view .people-wheel-hint{bottom:105px}
@media(max-width:1100px){
  #people-view .detail-panel{width:280px}
  #people-view .people-camera-controls{left:50%}
  #people-view .village-control-group+.village-control-group{padding-left:8px;margin-left:8px}
}
/* Pair the scene controls with the view tabs when both islands fit on one row. */
@media(min-width:1200px){
  #people-view .people-camera-controls{
    top:22px;right:28px;bottom:auto;left:auto;transform:none;height:50px;
    background:color-mix(in srgb,var(--panel) 92%,transparent);
    backdrop-filter:blur(22px);box-shadow:0 6px 25px #0002;
  }
  #people-view .people-camera-controls button{height:38px}
  #people-view .people-help[open]>div{top:calc(100% + 16px);bottom:auto;right:-10px}
}
@media(max-width:800px){
  #people-view .detail-panel{top:auto;bottom:143px;left:16px;right:16px;width:auto;max-height:43%;padding:14px 16px}
  #people-view .detail-panel h3{max-width:none}
  #people-view .persona-budget-region{margin-top:12px;padding-top:10px}
  #people-view .budget-heading>span{font-size:10px}
  #people-view .persona-select select{font-size:11px}
  #people-view .person-navigation{position:sticky;top:0;z-index:2;background:var(--panel);padding-bottom:8px}
  #people-view .person-budget,#people-view .detail-panel:has(.person-navigation) .person-budget{position:static;top:auto;right:auto;margin:8px 0;gap:9px;justify-content:flex-start}
  #people-view .person-budget strong{font-size:38px}
  #people-view .person-budget span{font-size:9px}
  #people-view .budget-rank{font-size:9px;margin:0 0 8px}
  #people-view .village-invitation{display:none}
  #people-view .people-camera-controls{
    left:50%;bottom:29px;width:420px;max-width:calc(100% - 32px);
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    padding:6px;gap:0;border-radius:13px;
  }
  #people-view .people-camera-controls button{font-size:10px;height:40px;padding:0 4px}
  #people-view .people-camera-controls .village-zoom{display:grid;grid-template-columns:40px 44px 40px;justify-content:center;gap:0}
  #people-view .people-camera-controls .village-zoom button{width:40px}
  #people-view .people-camera-controls .village-rotation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-left:0;padding-left:6px;gap:0}
  #people-view .people-camera-controls .village-rotation>button{width:100%;min-width:0;gap:4px}
  #people-view .village-rotation>span{font-size:8px}
  #people-view .people-camera-controls svg{width:22px;height:21px}
  #people-view .people-camera-controls .village-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:0;width:100%;border-left:0;border-top:1px solid var(--line);padding:4px 0 0;margin:4px 0 0}
  #people-view .people-camera-controls .village-actions>button{width:100%;height:40px}
  #people-view .people-camera-controls .people-help{margin-left:0;border-left:1px solid var(--line)}
  #people-view .people-camera-controls .people-help summary{width:39px;height:40px}
  #people-view .people-help[open]>div{bottom:52px;right:0;width:min(300px,calc(100vw - 46px))}
  #people-view .people-viewport #people-pins .person-pin{min-width:64px;height:29px;padding:3px 8px;border-radius:4px}
  #people-view .person-pin>b{display:block;font-size:13px}
  #people-view .people-viewport #people-pins .person-pin:after{height:8px}
  #people-view .people-wheel-hint{bottom:145px}
}
#people-view .people-camera-controls #shake-globe{width:auto;min-height:0;height:42px;padding:0 9px;overflow:visible;font-size:11px;gap:6px;border-radius:7px}
#people-view .people-help[open]>div{max-height:65vh;overflow:auto;overscroll-behavior:contain}
/* Real façade lettering has a matching, generously sized HTML hit target. */
#people-view .people-viewport #people-pins .person-pin[data-placement=facade]{min-width:0;max-width:none;padding:0;border:0;border-radius:4px;background:transparent;color:transparent;box-shadow:none;backdrop-filter:none;transition:none}
#people-view .people-viewport #people-pins .person-pin[data-placement=facade]:before,
#people-view .people-viewport #people-pins .person-pin[data-placement=facade]:after{display:none}
#people-view .people-viewport #people-pins .person-pin[data-placement=facade]>b{opacity:0}
#people-view .people-viewport #people-pins .person-pin[data-placement=facade-compact]{min-width:0;max-width:none;height:22px;padding:1px 5px;box-shadow:inset 0 2px 0 #fffdf6,0 1px 2px #37261d33}
#people-view .people-viewport #people-pins .person-pin[data-placement=facade-compact]:after{display:none}
#people-view .people-viewport #people-pins .person-pin[data-placement=facade-compact]>b{font-size:10.5px;letter-spacing:-.25px}

/* Beige enamel and the same burgundy lettering as Geolocation's selected sign. */
#people-view .people-viewport #people-pins .person-pin{border-color:#bca378;border-radius:5px;background:#f8f4eb;color:#8c2937;box-shadow:0 3px 12px #15201f38}
#people-view .people-viewport #people-pins .person-pin:before{display:none}
#people-view .person-pin>b{font:600 15px/1.1 Inter,Arial,sans-serif;letter-spacing:-.025em}
#people-view .people-viewport #people-pins .person-pin:hover,#people-view .people-viewport #people-pins .person-pin.hovered,#people-view .people-viewport #people-pins .person-pin.selected{background:#fff4df;color:#8c2937;border-color:#8c2937;box-shadow:0 5px 16px #241a1c55}
#people-view .people-viewport #people-pins .person-pin.peer{background:#f8f4eb;color:#8c2937;border-color:#57806e;box-shadow:0 5px 16px #14221e55}
#people-view .people-viewport #people-pins .person-pin[data-placement=facade]:is(:hover,.hovered,.selected,.peer){background:transparent;color:transparent;border-color:transparent;box-shadow:none}
#people-view .people-viewport #people-pins .person-pin[data-placement=facade-compact]{box-shadow:0 1px 4px #37261d38}
@media(max-width:800px){
  #people-view .people-camera-controls #shake-globe{height:33px;padding:0 7px;font-size:10px}
  #people-view .people-camera-controls #shake-globe>span:not(.snow-symbol){font-size:10px}
}

/* The People card waits for the village: it shows once the globe has landed (loading done).
   Its box stays laid out, so the camera keeps framing the village beside it. */
/* The card comes once the whole cast has arrived (spatial.js: data-cast-settled). */
#index-dialog .experience:not([data-scene-state=error]):not([data-spatial=off]):not([data-people-scene=error]):has(#people-viewport:not([data-cast-settled])) #people-view #person-detail{visibility:hidden;pointer-events:none}
/* The signs belong to the village: they come in once the globe has landed, never before it. */
#index-dialog .experience:not([data-scene-state=error]):not([data-spatial=off]):not([data-people-scene=error]) #people-viewport:not([data-cast-revealed]) #people-pins{visibility:hidden;opacity:0}
#people-viewport #people-pins{transition:opacity .45s ease-out}
/* Phones: once the painted sign is large enough to read, the label over it steps aside. */
#people-view .people-viewport #people-pins .person-pin[data-placement=facade-compact]{transition:background .2s,color .2s,box-shadow .2s,opacity .2s}
#people-view .people-viewport #people-pins .person-pin[data-redundant=true]{opacity:0;pointer-events:none}

/* One loader for every tab, until the open tab's scene is on screen: the scene module is
   downloading, or the scene (and, for People, its figures) is being built and prepared. */
.scene-loader{position:absolute;z-index:19;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:14px;pointer-events:none;color:var(--secondary);font-size:11px;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .4s ease,visibility 0s linear .4s}
.scene-loader-progress{margin-top:-6px;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.06em}.scene-loader-progress:empty{display:none}
.scene-loader-ring{width:34px;height:34px;border-radius:50%;border:2px solid color-mix(in srgb,var(--text) 14%,transparent);border-top-color:var(--red);animation:scene-loader-spin .9s linear infinite}
@keyframes scene-loader-spin{to{transform:rotate(360deg)}}
.experience[data-scene-state=loading] .scene-loader,
.experience[data-scenes=loading] .scene-loader,
.experience[data-view=people]:not([data-people-scene=error]):has(#people-viewport:not([data-scene-visible=true])) .scene-loader,
.experience[data-view=geolocation]:has(#geolocation-view:not([data-map-countries])) .scene-loader,
.experience[data-view=assistants]:has(#assistants-view:not([data-race-scene=in]):not([data-race-fallback=true])) .scene-loader,
.experience:is([data-view=brands],[data-view=retailers]):not([data-brands-scene=error]):has(#brand-stage:not([data-scene-visible=true])) .scene-loader{opacity:1;visibility:visible;transition:opacity .25s ease .35s,visibility 0s linear .35s} /* scenes are built at opening: a tab's first frame only shows it if it is slow */
.experience:is([data-scene-state=loading],[data-scenes=loading]) .scene-loader{opacity:1;visibility:visible;transition:none} /* at once: a scene build may block the next frames */
.experience:is([data-scene-state=error],[data-spatial=off]) .scene-loader{display:none}
@media(min-width:801px){.experience:is([data-view=geolocation],[data-view=assistants]) .scene-loader{left:calc((100% - 360px)/2)}}
@media(prefers-reduced-motion:reduce){.scene-loader-ring{animation-duration:2.4s}}
