body #main#main .member-teaching-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 28px));max-height:80dvh;overflow:auto;padding:22px;background:#0c1b2b;color:#e8f5ff;border:1px solid #8ce7ef;border-radius:18px;corner-shape:bevel}body #main#main .member-teaching-dialog::backdrop{background:#010710cc}body #main#main .member-teaching-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}body #main#main .member-teaching-dialog input{width:100%;box-sizing:border-box;margin:12px 0}body #main#main .member-teaching-dialog [data-titles]>button{display:block;width:100%;height:auto!important;min-height:48px;margin-top:10px;padding:12px 20px!important;white-space:normal!important;text-align:left;line-height:1.4!important;overflow-wrap:anywhere}body #main#main .member-teaching-dialog small{display:block;margin-top:5px;color:#b4cbdd}body #main#main .member-teaching-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}body #main#main .member-teaching-title-row h3{min-width:0;overflow-wrap:anywhere}body #main#main button.member-teaching-icon{display:grid;place-items:center;flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;aspect-ratio:1!important}body #main#main .constellation-photo-import{margin-top:16px;padding:18px}body #main#main .constellation-photo-import input{width:100%;max-width:100%;font-size:14px}


/* The catalogue glyph is centered inside its own 44px octagon. */
body #main#main button.member-teaching-icon{position:relative!important;display:grid!important;place-items:center!important;align-self:center!important;box-sizing:border-box!important;max-width:44px!important;max-height:44px!important;margin:0!important;padding:0!important;overflow:hidden!important}
body #main#main button.member-teaching-icon>svg{position:absolute!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;display:block!important;width:22px!important;height:22px!important;margin:0!important;translate:none!important;transform:translate(-50%,-50%)!important;pointer-events:none!important}
body #main#main .stellar-portrait{overflow:hidden}
body dialog.profile-photo-dialog{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:92dvh;overflow:auto;padding:20px;background:#0a1b2c;color:#eaf7ff;border:1px solid #9ce9f2;border-radius:18px;corner-shape:bevel}
body dialog.profile-photo-dialog::backdrop{background:#010710d9}
body dialog.profile-photo-dialog h3{margin:0 0 10px;font-size:20px}
body dialog.profile-photo-dialog p{font-size:14px;line-height:1.5;margin:0 0 12px;color:#bacfde}
body dialog.profile-photo-dialog .profile-photo-viewport{position:relative;width:100%;max-height:52dvh;overflow:hidden;touch-action:none;user-select:none;background:#07111f;border:1px solid #8ce3ef;border-radius:12px;corner-shape:bevel}
body dialog.profile-photo-dialog .profile-photo-viewport img{display:block;width:100%;height:100%;object-fit:cover;will-change:transform;pointer-events:none}
body dialog.profile-photo-dialog label{display:block;font-size:14px;margin:14px 0}
body dialog.profile-photo-dialog input[type=range]{display:block;box-sizing:border-box;width:100%;height:30px;padding:0;margin-top:8px;accent-color:#95e7f4}
body dialog.profile-photo-dialog .profile-photo-buttons{display:flex;flex-wrap:wrap;gap:8px}
body dialog.profile-photo-dialog button{flex:1 1 auto;min-height:44px;padding:10px 14px;font:inherit;font-size:14px;line-height:1.3;color:#eaf7ff;background:#143449;border:1px solid #80d9e8;border-radius:10px;corner-shape:bevel}

body #main#main[data-page="memberlives"]>section>.row.between:has(>button.member-teaching-icon){display:grid!important;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:10px;align-items:center}
body #main#main[data-page="memberlives"]>section>.row.between:has(>button.member-teaching-icon)>h3{min-width:0;overflow-wrap:anywhere}
body #main#main[data-page="memberlives"]>section>.row.between:has(>button.member-teaching-icon)>button:last-child{justify-self:end;max-width:100%;min-width:0;white-space:normal}

body .fighter-scene>.occupant-photo>.occupant-photo-crop{display:block;position:absolute;inset:9px;overflow:hidden;clip-path:var(--holo-cut);z-index:1;background:#102033}
body .fighter-scene>.occupant-photo>.occupant-photo-crop>img{display:block;position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;max-height:none;min-width:0;min-height:0;margin:0;padding:0;object-fit:cover;border:0;border-radius:0;clip-path:none!important}


/* Profile cards also appear in the account modal, outside #main. */
body .fighter-scene>.occupant-photo>.occupant-photo-crop{position:absolute!important;inset:9px!important;width:calc(100% - 18px)!important;height:calc(100% - 18px)!important;display:block!important;overflow:hidden!important;clip-path:var(--holo-cut,polygon(29.3% 0,70.7% 0,100% 29.3%,100% 70.7%,70.7% 100%,29.3% 100%,0 70.7%,0 29.3%))!important;contain:paint;box-sizing:border-box;z-index:1}
body .fighter-scene>.occupant-photo>.occupant-photo-crop>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block!important;margin:0!important;padding:0!important;clip-path:none!important;object-fit:cover!important}
body .fighter-scene>.stellar-portrait{overflow:hidden!important}
