.social-toggle{position:fixed;z-index:196;display:grid;place-items:center;width:42px;height:44px;padding:9px;border:1px solid #b99452;border-radius:6px;background:linear-gradient(145deg,#161c2c,#070b14);color:#efcf8a;box-shadow:0 4px 18px #0006;cursor:pointer}
.social-toggle svg{width:24px;height:24px}.social-toggle[hidden],#social-modal[hidden],.social-viewer[hidden]{display:none!important}
.social-viewer-toolbar img{width:34px;height:34px;border-radius:50%;object-fit:cover;object-position:center top}
.social-toggle:focus-visible,.social-panel button:focus-visible{outline:2px solid #f2cf8a;outline-offset:3px}
#social-modal{position:fixed;inset:0;z-index:400;display:flex;justify-content:center;padding:18px 12px;background:#000b;backdrop-filter:blur(10px);color:#f2f0ee;font:15px/1.5 Arial,sans-serif}
.social-panel{width:min(580px,100%);max-height:100%;display:flex;flex-direction:column;position:relative;overflow:hidden;background:#0e1015;border:1px solid #ffffff1c;border-radius:18px;box-shadow:0 30px 90px #000a}
.social-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #ffffff13;background:#11141a;flex-shrink:0}
.social-title{margin:0;font:italic 700 29px Georgia,serif;letter-spacing:-1px}.social-subtitle{margin:0;color:#999fab;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.social-close,.social-profile-back,.social-viewer-close{border:1px solid #ffffff20;background:#20242d;color:#f1f1f1;border-radius:50%;width:42px;min-height:42px;font-size:23px;cursor:pointer;flex-shrink:0}
.social-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}
.social-people{display:flex;gap:16px;overflow:auto;padding:23px 20px 18px;border-bottom:1px solid #ffffff13;scrollbar-width:thin}
.social-person{flex:0 0 68px;padding:0;border:0;background:transparent;color:#eee;cursor:pointer;font:12px/1.4 Arial,sans-serif;text-align:center}
.social-person-ring{display:block;padding:3px;margin-bottom:8px;border-radius:50%;background:linear-gradient(40deg,#fbbf56,#d0559a,#6c4bdd)}
.social-person img{display:block;width:62px;height:62px;object-fit:cover;object-position:center top;border-radius:50%;border:3px solid #11141a}
.social-person[aria-pressed=true] .social-person-ring{box-shadow:0 0 0 2px #edd4a1}
.social-profile{padding:20px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #ffffff13}
.social-profile img{width:58px;height:58px;border-radius:50%;object-fit:cover;object-position:center top}.social-profile h2{margin:0;font-size:19px}.social-profile p{margin:2px 0;color:#9a9da7;font-size:13px}.social-profile-back{margin-left:auto;font-size:20px}
.social-empty{margin:0;padding:60px 28px 72px;text-align:center;color:#9b9fac}.social-empty-mark{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 20px;border:1px solid #d4b87566;border-radius:50%;color:#dfc68e;font-size:30px}.social-empty h2{color:#e6e6e9;font-size:20px;font-weight:500;margin:0 0 9px}.social-empty p{margin:0;font-size:14px;line-height:1.7}
.social-post{border-bottom:1px solid #ffffff15;padding-bottom:20px}.social-post-header{padding:15px 20px;display:flex;align-items:center;gap:10px}.social-post-header img{width:34px;height:34px;border-radius:50%;object-fit:cover;object-position:center top}.social-post-header strong{font-size:14px}
.social-photo-open{display:block;width:100%;border:0;padding:0;background:#090a0d;cursor:zoom-in}.social-photo-open img{display:block;width:100%;height:auto;max-height:660px;object-fit:contain}
.social-post-actions{display:flex;align-items:center;gap:8px;padding:10px 16px 0}.social-like{border:0;background:transparent;color:#f3f1f1;min-width:44px;min-height:44px;padding:8px;cursor:pointer}.social-like svg{display:block;width:27px;height:27px}.social-like[aria-pressed=true]{color:#ff5470}.social-like-label{color:#b4b7c0;font-size:13px}.social-caption{padding:0 20px;margin:9px 0 0;overflow-wrap:anywhere}
.social-viewer{position:absolute;inset:0;background:#07080b;display:flex;flex-direction:column;z-index:2;overflow:auto}.social-viewer-toolbar{display:flex;align-items:center;gap:12px;padding:16px;flex-shrink:0;border-bottom:1px solid #ffffff18}.social-viewer-close{margin-left:auto}.social-viewer-image{width:100%;min-height:0;flex:1;object-fit:contain;background:#050507}.social-viewer .social-post-actions{padding:12px 18px 18px;flex-shrink:0}
@media(max-width:600px){#social-modal{padding:0;background:#0e1015}.social-panel{border:0;border-radius:0;width:100%;height:100%;max-height:100svh}.social-header{padding-top:calc(15px + env(safe-area-inset-top))}.social-scroll{padding-bottom:env(safe-area-inset-bottom)}.social-toggle{width:38px;height:42px}.social-title{font-size:27px}}



#page-arrow-btn{z-index:10000!important;pointer-events:auto!important;opacity:1!important;touch-action:manipulation}

.day6-consequence{display:flex;align-items:center;gap:16px;margin:24px 0 36px}.day6-consequence button{flex:none;width:48px;height:48px;border-radius:50%;border:2px solid #d8b56a;color:#f1d796;background:#101724;font-weight:bold;font-size:22px;cursor:pointer}.day6-consequence p{color:#f1d796;font-size:18px}.day6-consequence p[hidden]{display:none}
.social-unread-badge{position:absolute;right:-6px;top:-6px;min-width:18px;height:18px;border-radius:50%;background:#e94869;color:white;font-size:12px;display:grid;place-items:center;padding:2px}.social-unread-badge[hidden]{display:none}
.social-notification{position:fixed;z-index:500;right:12px;bottom:max(22px,env(safe-area-inset-bottom));max-width:calc(100vw - 90px);padding:14px 20px;border:1px solid #d8b56a;border-radius:14px;background:#111824;color:#f1d796;box-shadow:0 8px 32px #0009;font-size:16px;text-align:left;cursor:pointer}.social-notification strong,.social-notification span{display:block}.social-notification span{margin-top:4px;color:#eee}.social-notification[hidden]{display:none}

.dialogue-card.valentina-dialogue .dialogue-portrait{object-position:center top;border-color:#d8b56a}.valentina-dialogue .speaker{color:#f1d796}

#day3-page34 .day6-consequence{padding-left:80px;scroll-margin-top:200px}

.day6-message-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:32px 0 48px}.day6-message-card{min-width:0;padding:18px;border:1px solid #6f6040;border-radius:18px;background:rgba(10,16,27,.95);font-family:Arial,sans-serif}.day6-message-card header{display:flex;align-items:center;gap:10px;color:#f1d796;font-weight:700}.day6-message-card img{width:54px;height:54px;object-fit:cover;border-radius:50%;border:2px solid #d8b56a;flex:none}.day6-message-card p{margin:16px 0 0;font-size:20px;line-height:1.5;overflow-wrap:anywhere}@media(max-width:600px){.day6-message-grid{gap:10px}.day6-message-card{padding:12px}.day6-message-card img{width:40px;height:40px}.day6-message-card header{gap:7px;font-size:15px}.day6-message-card p{font-size:16px}}

#day3-page36 .day6-message-card .dialogue-portrait{display:block;position:static;width:54px;height:54px;min-width:54px;max-width:54px;margin:0;object-fit:cover;border:2px solid #d8b56a;border-radius:50%;box-shadow:none}@media(max-width:600px){#day3-page36 .day6-message-card .dialogue-portrait{width:40px;height:40px;min-width:40px;max-width:40px}}

/* Compact Instagram across desktop and mobile, with independent feed scrolling. */
#social-modal{align-items:center;padding:20px 14px;font-size:14px}
.social-panel{width:min(460px,100%);height:min(760px,86svh);max-height:86svh;border-radius:16px}
.social-header{padding:12px 16px}.social-title{font-size:25px}
.social-people{gap:12px;padding:16px 14px 12px}
.social-person{flex-basis:54px;font-size:11px}.social-person img{width:48px;height:48px;border-width:2px}.social-person-ring{margin-bottom:5px}
.social-profile{padding:14px}.social-profile img{width:48px;height:48px}
.social-post-header{padding:12px 16px}.social-photo-open img{max-height:480px}
.social-post{padding-bottom:14px}.social-caption{padding:0 16px}.social-viewer-toolbar{padding:12px}
@media(max-width:600px){
 #social-modal{padding:16px 14px;background:#000b}
 .social-panel{width:min(460px,100%);height:82svh;max-height:82svh;border:1px solid #ffffff1c;border-radius:16px}
 .social-header{padding:12px 14px}.social-title{font-size:24px}
}

.social-close-friends-badge{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:4px 7px;border:1px solid #3bca7b66;border-radius:999px;background:#123421;color:#64e59b;font:600 11px/1.3 Arial,sans-serif;white-space:nowrap;flex-shrink:0}.social-notification .social-close-friends-badge{margin:7px 0 0;color:#64e59b;display:inline-flex}.social-viewer-toolbar .social-close-friends-badge{margin-left:auto}.social-viewer-toolbar .social-close-friends-badge+.social-viewer-close{margin-left:0}
