/* Version: Guest-first avatar entry, uncluttered portraits, and room orientation. */
#diazHomePage .diaz-guest-wall{width:100%;max-width:none;box-sizing:border-box;padding:18px;margin:16px 0 22px;border-radius:21px}
#diazHomePage .diaz-guest-wall-heading{font-size:16px;margin-bottom:12px;align-items:center}
#diazHomePage .diaz-guest-wall-heading small{font-size:12px}
#diazHomePage .diaz-guest-wall-track{
 display:grid;grid-template-columns:repeat(4,minmax(0,58px));grid-auto-rows:auto;
 gap:10px 12px;align-items:center;justify-content:center;
 width:100%;max-width:none;padding:3px 0 8px;margin:0;overflow:visible;
}
#diazHomePage .diaz-guest-face,#diazHomePage .diaz-guest-more{width:56px;height:56px;transform:none}
#diazHomePage .diaz-guest-face img{width:56px;height:56px;border-width:3px}
#diazHomePage .diaz-guest-face:hover,#diazHomePage .diaz-guest-face:focus-visible{transform:scale(1.06)}
#diazHomePage .dg-add-avatar{
 width:100%;min-height:52px;margin-top:12px;padding:10px 16px;
 display:flex;align-items:center;justify-content:center;gap:10px;
 border-radius:14px;border:1px solid #bfa783;background:#fffaf2;color:#55402b;
 font:700 15px/1.3 system-ui,sans-serif;cursor:pointer;
}
#diazHomePage .dg-add-avatar span:first-child{font-size:24px;line-height:1}
#diazHomePage .dg-add-avatar:focus-visible{outline:3px solid #aa7b36;outline-offset:3px}
@media(max-width:380px){#diazHomePage .diaz-guest-wall-track{grid-template-columns:repeat(4,minmax(0,51px));gap:8px}#diazHomePage .diaz-guest-face,#diazHomePage .diaz-guest-face img{width:50px;height:50px}}
/* Nothing avatar-related belongs on the ceremony programme. */
#diazSchedulePage .diaz-guest-wall,#diazSchedulePage .diaz-guest-wall-schedule{display:none!important}
#diazSchedulePage .diaz-schedule-content-grid{display:block!important}
/* Mobile-first name selection and simple three-choice avatar menu. */
.dg-avatar-sheet{
 width:min(440px,calc(100vw - 26px));max-height:84dvh;box-sizing:border-box;
 border:1px solid #ccb493;border-radius:20px;padding:18px;background:#fffaf1;
 color:#433527;box-shadow:0 22px 70px #1e16114d;overflow:auto;
}
.dg-avatar-sheet[open]{display:block}
.dg-avatar-sheet::backdrop{background:#211c1899}
.dg-avatar-sheet-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:16px}
.dg-avatar-sheet h2{margin:0;font:500 29px/1.15 Georgia,serif;color:#40362c}
.dg-avatar-sheet .dg-close{min-width:44px;height:44px;border:1px solid #d7c8b1;border-radius:50%;background:#fffdf8;color:#4b3b2b;cursor:pointer;font-size:20px}
.dg-avatar-sheet label{display:block;font:700 15px/1.4 system-ui,sans-serif;margin-bottom:8px}
.dg-avatar-sheet input{display:block;width:100%;min-height:54px;border:1px solid #bba17e;border-radius:12px;padding:12px;font:17px/1.4 system-ui,sans-serif;color:#433527;background:#fff}
.dg-guest-results{display:grid;gap:7px;margin-top:12px;max-height:44dvh;overflow-y:auto;overscroll-behavior:contain}
.dg-guest-results button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;padding:10px 13px;text-align:left;border:1px solid #e3d7c7;background:#fffdf9;border-radius:10px;color:#3f3328;font:600 15px/1.3 system-ui,sans-serif;cursor:pointer}
.dg-guest-results small{font-size:12px;white-space:nowrap;color:#7c6652}
.dg-for-guest{font:600 18px/1.35 Georgia,serif;margin:0 0 6px}
.dg-step-note{font:14px/1.4 system-ui,sans-serif;color:#6d5c4a;margin:0 0 14px}
.dg-avatar-options{display:grid;gap:8px}
.dg-avatar-options button{display:flex;align-items:center;gap:17px;text-align:left;min-height:58px;padding:13px 17px;border-radius:15px;background:#fffdf8;border:1px solid #d4c2a7;color:#362b23;font:600 17px/1.3 system-ui,sans-serif;cursor:pointer}
.dg-avatar-options button span{min-width:28px;font-size:25px;text-align:center}
.dg-back{padding:15px 2px;margin-top:8px;border:0;background:transparent;color:#78562c;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}
.dg-avatar-sheet :is(button,input):focus-visible{outline:3px solid #b78c4e;outline-offset:3px}
/* Always tell people where to begin, then compactly show Add or Change Avatar. */
.da-floating-preview{display:none!important}
.da-floating-avatar-controls[data-seat=""] .da-floating-avatar-action{background:#605c51}
.da-floating-avatar-controls[data-seat=""]{max-width:min(92vw,330px)}
@media(max-width:440px){.da-floating-avatar-controls[data-seat=""] .da-floating-avatar-action{white-space:normal;text-align:center;max-width:245px}}
/* When the fixed head table is scrolled off-screen, give an unobtrusive route back. */
.ds-head-landmark{scroll-margin-top:92px}
.dg-head-direction{
 position:fixed;bottom:calc(var(--diaz-nav-h,70px) + 12px + env(safe-area-inset-bottom,0px));
 left:14px;z-index:33;min-height:40px;padding:9px 13px;
 border:1px solid #c9ae87;border-radius:999px;background:#fffaf1f2;color:#59432e;
 box-shadow:0 5px 14px #2c211d26;backdrop-filter:blur(9px);
 font:700 12px/1.2 system-ui,sans-serif;cursor:pointer;
 opacity:0;transform:translateY(8px);pointer-events:none;visibility:hidden;
 transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
.dg-head-direction.is-visible{opacity:1;transform:translateY(0);pointer-events:auto;visibility:visible}
.dg-head-direction:focus-visible{outline:3px solid #b68c4d;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.dg-head-direction{transition:none}}
/* Touch targets remain comfortable for older guests and first-time visitors. */
.dg-head-direction{min-height:44px;font-size:14px}
.da-floating-avatar-controls[data-seat=""] .da-floating-avatar-action{min-height:44px;font-size:13px;line-height:1.25}
