/* VisszaVilág 0.5 – cinematic mood selection, calibrated focus, accessible tour, rotary phone */
.eg-moods-home{padding:clamp(54px,7vw,100px) max(22px,calc((100vw - 1300px)/2));background:#e8e1d1;color:#24352b}
.eg-moods-heading{display:grid;grid-template-columns:1.6fr 1fr;align-items:end;gap:40px;margin-bottom:32px}
.eg-moods-kicker{display:block;color:#9a774c;font:bold 11px/1.5 sans-serif;letter-spacing:2.4px;margin-bottom:16px}
.eg-moods-heading h2{font:400 clamp(38px,4.1vw,64px)/1.07 Georgia,serif;letter-spacing:-.04em;margin:0}
.eg-moods-heading h2 em{font-weight:normal;color:#a4774d}
.eg-moods-heading p{font-size:14px;line-height:1.85;color:#657263;max-width:380px;margin:0}
.eg-mood-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.eg-mood-card{display:flex;flex-direction:column;justify-content:flex-end;min-height:290px;position:relative;padding:26px 26px 23px;text-decoration:none;overflow:hidden;color:#fcefd9;isolation:isolate;border:1px solid #ffffff3c;transition:transform .28s,box-shadow .28s}
.eg-mood-card::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,#132521ed 0,#22312b54 68%,#353b3878 100%),url('/assets/nappali_1998.webp') center / cover;transition:transform .5s;filter:saturate(.88)}
.eg-mood-card:hover,.eg-mood-card:focus-visible{transform:translateY(-5px);box-shadow:0 16px 30px #15261d33}
.eg-mood-card:hover::before{transform:scale(1.05)}
.eg-mood-card.mood-sun::before{background-position:center,40% 40%}
.eg-mood-card.mood-rain::before{background:linear-gradient(to top,#122733f2,#42627669),url('/assets/nappali_1998.webp') 84% 42% / cover}
.eg-mood-card.mood-night::before{background:linear-gradient(to top,#071725f2,#171d36a6),url('/assets/nappali_1998.webp') 66% 40% / cover}
.eg-mood-card span{font:600 10px sans-serif;letter-spacing:2px;color:#dec59c;margin-bottom:13px}
.eg-mood-card strong{font:400 clamp(26px,2.4vw,36px)/1.1 Georgia,serif;margin-bottom:9px}
.eg-mood-card small{font-size:12px;line-height:1.6;color:#e3ddcf;max-width:260px;min-height:40px}
.eg-mood-card b{margin-top:22px;font:700 12px sans-serif;color:#f2d9a8}
.eg-tour-link{display:inline-block;margin-top:22px;color:#31543d;font-weight:650;font-size:13px;text-decoration:underline;text-underline-offset:5px}
@media (max-width:800px){.eg-moods-heading{grid-template-columns:1fr;gap:15px}.eg-mood-cards{grid-template-columns:1fr}.eg-mood-card{min-height:215px}.eg-moods-home{padding:56px 18px}}
/* The actual guided tour lives inside the dedicated room and always keeps its controls visible. */
.eg-tour[hidden]{display:none!important}.eg-tour{background:linear-gradient(125deg,#d9c4a4,#efe0c5);border:1px solid #aa8555;padding:18px 22px 20px;box-shadow:0 6px 25px #0002;color:#25382b}
.eg-tour-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.eg-tour-head span{font:700 10px sans-serif;letter-spacing:1.6px;color:#766043}
.eg-tour-head button{border:0;background:#ffffff77;color:#2d3d32;min-width:42px;min-height:42px;cursor:pointer}
.eg-tour h3{margin:0 0 6px;font:normal 27px/1.14 Georgia,serif}.eg-tour p{font-size:13px;line-height:1.6;max-width:700px;margin:0 0 16px}
.eg-tour-actions{display:flex;flex-wrap:wrap;gap:8px}.eg-tour-actions button{border:1px solid #34513a;background:#304b3b;color:#fff4db;min-height:44px;padding:9px 16px;font-weight:600;cursor:pointer}
.eg-tour-actions button:first-child{background:transparent;color:#34513a}.eg-tour-actions button:disabled{opacity:.42;cursor:not-allowed}
.hotspot.eg-tour-target{box-shadow:0 0 0 4px #f4d18e,0 0 36px 15px #fff2aa9c!important;animation:eg-breathe 1.25s infinite alternate;z-index:7}
/* Close-up really samples the same source pixels and dynamic scene layer. */
.dialog-preview:has(.eg-photo-focus){background-image:none!important;min-height:0!important;padding:0!important}
.eg-photo-focus{width:100%;height:100%;background:#10231e;overflow:hidden}
.eg-photo-focus canvas{display:block;width:100%;height:auto;max-height:420px;aspect-ratio:640/380;object-fit:cover}
.eg-focus-toolbar{padding:9px 13px;background:#1a3028;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#dfcaa7}
.eg-focus-toolbar span{font:600 10px sans-serif;letter-spacing:1.2px}
.eg-focus-toolbar button{min-height:38px;border:1px solid #a68e63;background:#345044;color:#f4e3bf;cursor:pointer;padding:7px 10px;font-size:12px}
/* Authentic rotary dial (the photographed telephone is rotary, not a keypad phone). */
.eg-retro-phone{width:min(100%,400px);background:linear-gradient(135deg,#ded1b2,#a28e6f);border:6px solid #746047;border-radius:20px;margin:12px auto 16px;padding:13px 15px 20px;box-shadow:inset 0 4px 11px #fff8,0 14px 28px #0003;display:flex;align-items:center;flex-direction:column;gap:12px}
.eg-handset{background:linear-gradient(#e6d9bb,#908069);color:#322a24;border:4px solid #7d6a53;border-radius:100px!important;display:block;width:95%;min-height:48px;transform:rotate(-2deg);box-shadow:0 5px 5px #0002;font-weight:700;cursor:pointer}
.eg-retro-phone.eg-receiver-up .eg-handset{transform:rotate(2deg) translateY(-4px);background:linear-gradient(#f5ebd8,#b5a080)}
.eg-phone-display{font:600 15px 'Courier New',monospace;text-align:center;color:#3e3426;min-height:22px}
.eg-dial-shell{position:relative;width:min(240px,68vw);height:min(240px,68vw);border-radius:50%;border:10px solid #7d6b54;background:radial-gradient(circle,#877861 0 18%,#433d31 20% 27%,#e0d1b5 28% 100%);box-shadow:inset 0 8px 17px #0006,0 4px 0 #f7ebd8}
.eg-dial-rotor{position:absolute;inset:8px;border-radius:50%;background:radial-gradient(circle at 35% 22%,#e7d9bb,#9d8b6a);box-shadow:0 2px 6px #0006}
.eg-dial-rotor.eg-dial-moving{animation:eg-dial-return .65s cubic-bezier(.15,.55,.3,1) both}
.eg-dial-digit{position:absolute;transform:translate(-50%,-50%);border-radius:50%!important;width:34px!important;height:34px!important;min-width:34px;min-height:34px!important;padding:0!important;border:2px solid #67553b!important;background:#f4e8d0!important;color:#342b20!important;box-shadow:inset 1px 2px 3px #a5987b!important;font:700 16px Georgia,serif!important;cursor:pointer}
.eg-dial-digit:disabled{opacity:.68}.eg-phone-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:59px;height:59px;border-radius:50%;background:#ac9470;border:4px solid #6b5945;display:grid;place-items:center;color:#3b3326;font:bold 13px Georgia,serif;pointer-events:none}
@keyframes eg-dial-return{0%{transform:rotate(0)}40%{transform:rotate(var(--spin-angle,110deg))}100%{transform:rotate(0)}}
@media (max-width:540px){.eg-tour{padding:13px 10px 16px}.eg-tour-actions button{font-size:11px;padding:8px 10px}.eg-tour h3{font-size:23px}.eg-focus-toolbar{padding:7px}.eg-focus-toolbar span{font-size:9px}.eg-dial-digit{width:32px!important;height:32px!important;min-width:32px}}
@media (prefers-reduced-motion:reduce){.hotspot.eg-tour-target,.eg-dial-rotor.eg-dial-moving{animation:none!important}.eg-mood-card:hover{transform:none}}
.dialog-preview:has(.eg-photo-focus){height:auto!important;max-height:none!important}
.dialog-preview:has(.eg-photo-focus)::after{pointer-events:none}
