
/* Compact profile galleries at every viewport. */
#profileMediaGrid.profile-media-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;width:100%;}
#profileMediaGrid .profile-media-tile,.public-media-tile{position:relative!important;display:block!important;width:100%!important;min-width:0!important;aspect-ratio:3/4!important;height:auto!important;padding:0!important;border:0!important;border-radius:3px!important;overflow:hidden!important;background:#211a2a;cursor:pointer;color:white;}
#profileMediaGrid .profile-media-tile img,#profileMediaGrid .profile-media-tile video,.public-media-tile img,.public-media-tile video{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;max-height:none!important;}
#profileMediaGrid .profile-media-tile span,.public-media-tile>span{position:absolute;bottom:5px;right:6px;background:#0008;border-radius:5px;padding:3px;color:white;font-size:12px;}
.person-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;align-content:start;}.person-posts>h2,.person-posts>.friend-button,.person-empty{grid-column:1/-1}.profile-counts{font-weight:700;color:#ffbdd7}.full-post-dialog{width:min(680px,92vw)}.full-post-dialog video,.full-post-dialog img{width:100%;max-height:75dvh;object-fit:contain}.full-post-dialog .person-post{margin:0;padding:10px}.person-about p{white-space:pre-wrap}
.live-gift-header{gap:6px!important;align-items:center!important}.supporter-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.supporter-avatar{overflow:hidden;position:relative}.supporter-avatar small{position:absolute;bottom:0;right:0;background:#b47824;color:white;font-size:9px}.live-people-button .presence-initial,.live-people-button .self-presence{display:none!important}.nz-live-host{display:flex;align-items:center;gap:6px;min-width:0;max-width:48%;font-size:12px}.nz-live-host img{width:30px;height:30px;border-radius:50%;object-fit:cover}.nz-live-host a{color:white;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nz-live-host button{font-size:11px;padding:6px 8px;border-radius:16px;background:#ff518e;color:white;border:0}.live-gift-header .live-goals-button{font-size:10px!important;max-width:80px}.audience-bar{pointer-events:auto}

html body #main #profileMediaGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;max-width:100%!important;}
html body #main #profileMediaGrid>button,html body #personProfile .person-posts>button.public-media-tile{position:relative!important;min-width:0!important;min-height:0!important;max-width:100%!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;display:block!important;padding:0!important;margin:0!important;overflow:hidden!important;}
html body #main #profileMediaGrid>button>img,html body #main #profileMediaGrid>button>video,html body #personProfile .public-media-tile>img,html body #personProfile .public-media-tile>video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;}
html body #personProfile .person-posts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px!important;width:100%!important;}
html body #personProfile .person-layout{display:block!important;max-width:1000px;margin:18px auto}.person-about{margin-bottom:16px}.person-about h2{font-size:16px}.person-about p{margin:8px 0}.profile-moments{max-width:1000px;margin:22px auto!important}
.joined .stage-shell .live-gift-header{display:flex!important;top:max(8px,env(safe-area-inset-top))!important;left:8px!important;right:8px!important;gap:7px!important;min-height:44px;}
.joined .live-gift-header .nz-live-host{display:flex!important;max-width:calc(100% - 60px)!important;flex:1;min-width:0}.joined .nz-live-host img{width:34px!important;height:34px!important;min-width:34px;border-radius:50%}.joined .nz-live-host a{font-size:13px!important;background:none!important;border:0!important;padding:0!important;min-height:0!important}.joined .nz-live-host button{min-height:28px!important;padding:5px 10px!important;font-size:11px!important;margin:0!important;background:#fa4889!important}.joined .live-gift-header .live-goals-button{display:none!important}.joined .live-gift-header>a{order:4;flex:none}.joined .live-gift-header .supporter-avatars{position:absolute;top:52px;left:0;margin:0!important}.joined .supporter-avatar{width:30px!important;height:30px!important}
.joined .stage-shell .audience-bar{top:max(13px,env(safe-area-inset-top))!important;right:56px!important;left:auto!important;max-width:72px!important;z-index:14!important;}
.joined .stage-shell .live-people-button{padding:8px!important;min-height:32px;background:#110d19aa}.joined .stage-shell .live-people-button .presence-initial,.joined .stage-shell .live-people-button .self-presence{display:none!important}
.joined .stage-shell .nz-live-host{padding-right:75px}.joined .live-person .presence-initial img,.voice-avatar>i img{width:100%;height:100%;object-fit:cover;border-radius:50%}.joined .live-person .presence-initial{overflow:hidden}.nz-country-flag{font-style:normal;font-size:14px;flex-shrink:0}
/* Group cameras occupy the upper canvas; comments have their own readable area. */
.joined .stage-shell:not(.solo-stage){display:flex!important;flex-direction:column!important;background:#08070b!important;padding-top:90px!important;box-sizing:border-box;}
.joined .stage-shell:not(.solo-stage) .video-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(0,1fr)!important;gap:3px!important;height:55dvh!important;max-height:62%;min-height:0!important;padding:0!important;flex:0 0 55dvh;}
.joined .stage-shell[data-camera-count="2"] .video-grid{grid-template-rows:1fr!important;}
.joined .stage-shell[data-camera-count="3"] .video-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:1fr!important;}
.joined .stage-shell[data-camera-count="5"] .video-grid,.joined .stage-shell[data-camera-count="6"] .video-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.joined .stage-shell:not(.solo-stage) .video-grid .video-card{grid-row:auto!important;grid-column:auto!important;min-height:0!important;height:100%!important;width:100%!important;aspect-ratio:auto!important;border-radius:3px!important;}
.joined .stage-shell:not(.solo-stage) .video-card video{width:100%!important;height:100%!important;object-fit:cover!important;}.joined .stage-shell:not(.solo-stage) .video-card .caption{top:auto!important;bottom:6px!important;max-width:85%;padding:4px 8px!important;border-radius:14px;background:#0008!important;font-size:11px!important;}
.joined .stage-shell:not(.solo-stage) .room-chat{position:relative!important;inset:auto!important;flex:1!important;min-height:0!important;height:auto!important;max-height:none!important;padding:12px 10px max(10px,env(safe-area-inset-bottom))!important;background:#08070b!important;}
.joined .stage-shell:not(.solo-stage) .room-chat .messages{max-height:none!important;flex:1!important;}.joined .stage-shell:not(.solo-stage) .messages p{font-size:13px!important;max-height:none!important;display:block!important;background:none!important;margin:7px 0!important;}.joined .stage-shell:not(.solo-stage) .live-rules-notice{display:none!important}
.nz-comment-avatar{width:25px!important;height:25px!important;object-fit:cover;border-radius:50%;float:left;margin:0 7px 2px 0}.joined .messages strong{margin-right:6px}
@media(max-width:420px){.joined .nz-live-host a{max-width:88px}.joined .nz-live-host img{width:28px!important;height:28px!important;min-width:28px}.joined .nz-live-host button{padding:4px 7px!important}.joined .stage-shell .live-gift-header{gap:4px!important}.joined .stage-shell[data-camera-count="3"] .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;}}

.gift-recipient{display:flex;align-items:center;gap:8px;margin:12px 0;color:#f6e7ff;font-size:14px}.gift-recipient select{max-width:230px;background:#2b1c38;color:white;border:1px solid #a374ac;border-radius:12px;padding:10px}
.participant-supporters{position:absolute;bottom:0;left:0;right:0;z-index:8;display:flex;justify-content:center;gap:6px;padding:4px 3px;background:#08070bf2;pointer-events:none;min-height:52px;box-sizing:border-box}.ranked-supporter{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;max-width:32%;}.ranked-supporter>small{font-size:9px;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}.ranked-supporter .supporter-avatar{width:25px!important;height:25px!important;margin:0!important}.ranked-supporter .supporter-avatar small{font-size:9px}.joined .stage-shell:not(.solo-stage) .video-card:has(.participant-supporters)>video{height:calc(100% - 52px)!important}.joined .stage-shell:not(.solo-stage) .video-card:has(.participant-supporters) .caption{bottom:56px!important}.joined .solo-stage .participant-supporters{bottom:155px;left:10px;right:auto;min-width:150px;max-width:65%;border-radius:16px;background:#08070ba8}.joined .solo-stage .ranked-supporter{max-width:72px}

/* Reference recording refinement: compact top row and deliberate camera layouts. */
.joined .stage-shell .live-gift-header{height:42px;min-height:42px!important;top:max(9px,env(safe-area-inset-top))!important;left:10px!important;right:10px!important;gap:6px!important;}
.joined .stage-shell .nz-live-host{max-width:none!important;padding-right:0!important;flex:1;overflow:hidden;gap:6px;}.joined .stage-shell .nz-live-host a{max-width:110px;padding:0!important;font-size:12px!important;}.joined .stage-shell .nz-live-host button{white-space:nowrap;flex-shrink:0;min-height:27px!important;}
.joined .stage-shell .audience-bar{top:max(14px,env(safe-area-inset-top))!important;right:87px!important;left:auto!important;z-index:14!important;max-width:58px!important;}.joined .live-people-button{border:0!important;padding:6px!important;background:#090710a8!important;}.joined .live-people-button b{font-size:11px!important;}
.joined .live-gift-header>.nz-top-menu{order:3;padding:4px!important;width:30px;min-width:30px;min-height:30px!important;margin:0 32px 0 65px!important;background:#08070b80!important;border:1px solid #ffffff65!important;font-size:14px!important;}
.joined .live-gift-header>a{position:absolute;right:0;top:4px;min-width:25px;min-height:28px!important;padding:3px!important;display:grid;place-items:center;border:0!important;background:#08070b80!important;}
.joined .stage-shell .supporter-avatars{left:0;top:49px!important;gap:3px!important;padding:0!important;}.joined .stage-shell .supporter-avatar{width:28px!important;height:28px!important;border-color:#ffa1c6;}
.joined .stage-shell .message-form{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;align-items:center!important;}.joined .stage-shell .message-form input{order:0;min-width:0!important;flex:1 1 60px!important;height:40px;box-sizing:border-box;font-size:13px!important;padding:9px 12px!important;background:#07060a99!important;}.joined .message-form .live-tools-trigger{display:none!important}.joined .message-form .live-gift-trigger{order:3;}.joined .message-form #sendMessage{order:1;font-size:0!important;min-width:30px!important;width:30px!important;padding:4px!important;background:transparent!important;}.joined .message-form #sendMessage:after{content:'↑';font-size:22px;color:#ff93bf;}
.joined .message-form .nz-footer-join,.joined .message-form .nz-footer-share,.joined .message-form .live-gift-trigger{display:grid!important;place-items:center;flex:0 0 37px;min-width:37px!important;width:37px!important;height:37px!important;min-height:37px!important;padding:5px!important;border:1px solid #ffffff35!important;border-radius:50%!important;background:#08070b66!important;color:white;}.joined .message-form .nz-footer-join{order:2}.joined .message-form .nz-footer-share{order:4}.joined .message-form .nz-footer-join svg,.joined .message-form .nz-footer-share svg{pointer-events:none}
.joined .stage-shell:not(.solo-stage){padding-top:88px!important;}.joined .stage-shell:not(.solo-stage) .video-grid{max-width:none!important;width:100%!important;flex:0 1 54dvh!important;height:54dvh!important;max-height:62%!important;grid-auto-flow:row;overflow:hidden;}
.joined .stage-shell[data-camera-count="3"]:not([data-layout="grid"]) .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;}.joined .stage-shell[data-camera-count="3"]:not([data-layout="grid"]) .video-grid>.host-tile{grid-column:1!important;grid-row:1 / span 2!important;}
.joined .stage-shell[data-layout="panel"]:not(.solo-stage) .video-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;grid-template-rows:repeat(var(--guest-rows,2),minmax(0,1fr))!important;}.joined .stage-shell[data-layout="panel"]:not(.solo-stage) .video-grid>.host-tile{grid-column:1!important;grid-row:1 / -1!important;}
.joined .stage-shell[data-layout="grid"][data-camera-count="3"] .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;}
.joined .stage-shell:not(.solo-stage) .room-chat{overflow:hidden!important;}.joined .stage-shell:not(.solo-stage) .room-chat .messages{overflow-y:auto;min-height:0;mask-image:linear-gradient(transparent,#000 10px);}.joined .stage-shell:not(.solo-stage) .room-chat .messages p{font-size:13px!important;line-height:1.4!important;padding:3px 2px!important;margin:5px 0!important;}.joined .messages strong{color:#fff!important;font-size:12px;}.joined .messages .nz-comment-avatar{width:27px!important;height:27px!important;}
.joined .stage-shell .video-card .voice-avatar{padding:8px!important;}.joined .stage-shell .video-card .voice-avatar>i{width:clamp(40px,12vw,92px)!important;font-size:22px;}.joined .stage-shell .video-card .voice-avatar>small{font-size:10px;}.joined .stage-shell .video-card .voice-avatar>b{font-size:12px;}.joined .stage-shell .video-card .caption{pointer-events:none;}
.joined .stage-shell .participant-supporters{gap:3px;min-height:49px;}.joined .stage-shell .participant-supporters .supporter-avatar{width:23px!important;height:23px!important;}.joined .stage-shell .participant-supporters .ranked-supporter>small{font-size:9px;}.joined .stage-shell:not(.solo-stage) .video-card:has(.participant-supporters)>video{height:calc(100% - 49px)!important;}.joined .stage-shell:not(.solo-stage) .video-card:has(.participant-supporters) .caption{bottom:52px!important;}
.nz-restore-controls{display:none!important}.joined.clean-view .nz-restore-controls{display:block!important;position:fixed;z-index:100;right:12px;bottom:max(20px,env(safe-area-inset-bottom));padding:10px 14px;color:white;background:#21162bdd;border:1px solid #ffb0d4;border-radius:22px;font:13px system-ui}.joined.clean-view .bottom-live-tools,.joined.clean-view .participant-supporters{display:none!important}.joined.clean-view .stage-shell:not(.solo-stage){padding-top:0!important;}.joined.clean-view .stage-shell:not(.solo-stage) .video-grid{flex:1!important;height:100dvh!important;max-height:100%!important;}.joined.clean-view .stage-shell:not(.solo-stage) .video-card>video{height:100%!important;}
.joined .bottom-live-tools[open]{position:fixed!important;top:auto!important;bottom:max(68px,env(safe-area-inset-bottom))!important;right:10px!important;left:auto!important;width:min(340px,calc(100vw - 20px))!important;max-height:65dvh!important;box-sizing:border-box;border:1px solid #98618c;backdrop-filter:blur(18px);}.joined .bottom-live-tools button,.joined .bottom-live-tools select{min-height:40px;font-size:13px;}.joined .bottom-live-tools>summary{padding:10px;font-weight:700}.joined .nz-join-actions{padding:8px 0;border-bottom:1px solid #ffffff25}.joined .nz-join-actions h3{font-size:15px;margin:7px 0}.joined .nz-join-actions p{font-size:12px;line-height:1.4}.joined .bottom-live-tools .call-help{font-size:11px}
@media(min-width:900px){.joined .stage-shell{max-width:760px!important;margin-inline:auto!important;border-inline:1px solid #3f2a49}.joined .bottom-live-tools[open]{right:max(10px,calc((100vw - 740px)/2))!important;}}

.nz-feed-live-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.nz-feed-live{aspect-ratio:3/4!important;min-height:420px!important}.nz-feed-live-info{padding-bottom:70px!important}.nz-feed-live-enter span{background:#21122aab!important;border-color:#ffc0dc99!important;border-radius:30px!important;font-size:14px}.nz-feed-live-stage{background:#09070e}.nz-feed-live-info h3{font-size:20px!important}.joined .gift-received-total{position:absolute;top:8px;left:7px;z-index:6;font:11px system-ui;color:white;background:#110b1abb;padding:4px 7px;border-radius:15px;pointer-events:none}.joined .solo-stage .gift-received-total{top:88px}.nz-gift-announcement[hidden]{display:none!important}.nz-gift-announcement{position:absolute;z-index:15;left:10px;bottom:158px;display:flex;align-items:center;gap:8px;max-width:min(340px,85%);padding:7px 11px;background:linear-gradient(100deg,#75294fe8,#24112be8);color:white;border:1px solid #fca2c975;border-radius:30px;font:12px system-ui;pointer-events:none}.nz-gift-announcement img{width:29px;height:29px;border-radius:50%;object-fit:cover}.joined .stage-shell:not(.solo-stage) .nz-gift-announcement{bottom:auto;top:52px;left:auto;right:9px;max-width:60%;font-size:10px;padding:5px 9px}.clean-view .nz-gift-announcement,.clean-view .gift-received-total{display:none!important}

.nz-preview-sound{position:absolute!important;z-index:5;right:12px;top:12px;display:block;padding:9px 12px!important;min-height:36px;border-radius:22px!important;border:1px solid #ffffff75!important;background:#170e20cc!important;color:white!important;font:600 12px system-ui!important;cursor:pointer;backdrop-filter:blur(8px)}.nz-preview-sound:focus-visible{outline:3px solid #ffb8db;outline-offset:3px}
