@media(max-width:780px){
 body.career-shell-active .shell{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
 .career-header .career-shortcuts{position:fixed;inset:auto 0 0;z-index:40;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:5px 5px calc(5px + env(safe-area-inset-bottom));background:#142038;border-top:1px solid #465a77;box-sizing:border-box;width:100%;}
 .career-header .career-shortcuts>button,.career-header .career-more summary{min-height:48px!important;display:flex;align-items:center;justify-content:center;padding:3px!important;font-size:11px;text-align:center;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
 .career-header .career-more>div{position:fixed;inset:auto 5px calc(62px + env(safe-area-inset-bottom));width:auto;max-height:55dvh;overflow:auto;grid-template-columns:repeat(2,minmax(0,1fr));}
 .career-more button,.career-activity .b34-choices button,.b32-story-choices button,.b79-event-results button,.b789-story-options button{min-height:48px!important;white-space:normal;}
 .b789-story-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,480px);max-width:100%;max-height:80dvh;box-sizing:border-box;padding:16px 16px calc(16px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;overflow:auto;}
 .b789-story-options{display:grid;gap:8px}.b789-story-options button,.b79-event-results button{width:100%}
}
.b79-opportunity button{min-height:48px;margin-top:6px}

.b79-results-sheet{width:min(540px,calc(100% - 24px));max-height:80dvh;padding:16px;box-sizing:border-box;color:#f0f4fc;background:#142038;border:1px solid #465a77;border-radius:16px;overflow:hidden}
.b79-results-sheet[open]{display:flex;flex-direction:column;gap:12px}
.b79-results-sheet::backdrop{background:#07101bbb}
.b79-results-sheet h2,.b79-results-sheet h3,.b79-results-sheet p{margin:0}
.b79-results-list{overflow-y:auto;overscroll-behavior:contain}
.b79-results-list article{display:grid;gap:5px;padding:10px 0;border-bottom:1px solid #465a77}
.b79-results-sheet form button{width:100%;min-height:48px}
@media(max-width:780px){
 .b79-results-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,540px);max-width:100%;padding-bottom:calc(16px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0}
 .b79-event-results p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
@media(max-width:350px){
 .career-header .career-shortcuts{gap:1px;padding-inline:3px}
}

.studio-credit{position:relative;display:grid;justify-items:center;gap:5px;margin:24px 0 8px;padding:12px 6px 2px;color:#d0d9eb;text-align:center}
.studio-credit img{width:56px;height:40px;object-fit:contain;display:block}
.studio-wordmark{display:grid;justify-items:center;color:#f0e6ff;line-height:1.15}
.studio-wordmark strong{font-size:12px;font-weight:650;letter-spacing:.29em;padding-left:.29em}
.studio-wordmark span{display:flex;align-items:center;gap:8px;font-size:8px;letter-spacing:.43em;padding-left:.43em;color:#e3bcd9}
.studio-wordmark span::before,.studio-wordmark span::after{content:"";width:20px;height:1px;background:#816681}
.studio-credit small{font-size:10px;color:#becbdf;line-height:1.4}

.b79-story-inbox{display:flex;flex-wrap:wrap;gap:8px}
.b79-story-inbox button,.b32-inbox-sheet button{flex:1;min-height:48px;white-space:normal}
.b32-inbox-sheet .b32-story-choices{display:grid;gap:8px;margin-top:12px}
@media(max-width:780px){
 .b27-event-shade{align-items:flex-end}
 .b27-event-box{width:min(100%,520px);border-radius:16px 16px 0 0;padding-bottom:calc(14px + env(safe-area-inset-bottom))!important}
 .b27-event-box button{min-height:48px}
}

@media (max-width: 850px) {
  body.career-shell-active .main > .b79-ai-market {
    display: block !important;
  }
}
