/* Campaign and employee game presentation. */
body{background:radial-gradient(ellipse at top right,#e0eeff,transparent 48%),#f5faff}
.app-nav{box-shadow:0 4px 20px #2f466015}.app-nav .nav-link{border-radius:10px;padding:.55rem .7rem!important}.app-nav .nav-link:hover,.app-nav .nav-link:focus-visible{background:#ffffff20;color:#fff}
.card{border:1px solid #dfe8f3;border-radius:20px;box-shadow:0 8px 28px #2f466009}.card-body{padding:1.5rem}
.btn{border-radius:12px;font-weight:650;padding:.65rem 1rem;min-height:44px}.btn-sm{font-size:.82rem;padding:.5rem .8rem}.btn:focus-visible,a:focus-visible{outline:3px solid #2f4660;outline-offset:3px}
.hero-card{position:relative;overflow:hidden;padding:2.5rem;border-radius:24px;background:radial-gradient(circle at 95% 10%,#ffffff20,transparent 40%),linear-gradient(115deg,#0d4484,#1d68c1 65%,#5997df)}.hero-card:after{content:none}.hero-card>*{position:relative;z-index:1}.hero-card p{max-width:40rem;line-height:1.6}.hero-links{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}.hero-links .btn-outline-light{border-color:#ffffff80;background:#ffffff10}
.activity-card .card-body{align-items:center}.activity-card form{flex-shrink:0}.activity-card h3{font-weight:750}.activity-card .badge{border-radius:8px;padding:.4rem .6rem}.activity-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;background:#f0f7ff;font-size:1.6rem;flex-shrink:0}.activity-info{flex:1;min-width:0}.activity-details{padding:.8rem 1rem;border-radius:12px;background:#f5faff;line-height:1.7}.activity-section-title{display:flex;align-items:center;gap:.7rem}.activity-section-title small{font-size:.75rem;background:#fff;border:1px solid #dae4ef;border-radius:100px;padding:.3rem .65rem;color:#546476}.empty-state{padding:2rem;text-align:center;background:#fff;border:1px dashed #bad0e9;border-radius:18px}.empty-state p{margin:0;color:#546476}.state-emoji{font-size:2.8rem;margin-bottom:.7rem}.badge-type{border-radius:100px;padding:.45rem .7rem}
.game-banner{border:1px solid #cbdaec;border-radius:22px;background:linear-gradient(120deg,#fff,#e9f3ff);padding:1.6rem;align-items:center}.game-banner .eyebrow{font-size:.8rem}.game-banner p{max-width:50rem;line-height:1.6}.timer-card{background:#2f4660;min-width:160px;flex-shrink:0;border-radius:16px;text-align:center;padding:1rem 1.25rem}.timer-card strong{font-size:2rem;font-variant-numeric:tabular-nums;letter-spacing:.03em}.timer-warning{background:#265d9e;outline:3px solid #d0e6ff}.game-play-card .card-body{padding:1.8rem}.game-help{display:flex;gap:.6rem;padding:1rem;border-radius:14px;background:#fff4d9;color:#694c17;line-height:1.6;margin-bottom:1.2rem}.game-progress{display:flex;flex-direction:column;gap:.5rem;color:#546476;font-size:.85rem;font-weight:650;margin-bottom:1rem}.game-progress progress{appearance:none;width:100%;height:9px;border:0;border-radius:100px;overflow:hidden;background:#e5ecf5;accent-color:#125cb3}.game-progress progress::-webkit-progress-bar{background:#e5ecf5;border-radius:100px}.game-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#125cb3,#5a99e4);border-radius:100px}.game-progress progress::-moz-progress-bar{background:#125cb3;border-radius:100px}
.question-block{padding:1.4rem 0}.question-block legend{font-weight:700;line-height:1.6;margin-bottom:.8rem}.question-number{display:inline-grid;place-items:center;width:32px;height:32px;background:#125cb3;color:#fff;border-radius:10px;font-size:.95rem;margin-right:.5rem}.answer-option{display:flex;align-items:center;gap:.8rem;min-height:52px;border:2px solid #e2e9f1;border-radius:13px;padding:.8rem 1rem;background:#fbfdff;transition:background .15s,border-color .15s}.answer-option:hover{border-color:#9dbbdf;background:#f2f8ff}.answer-option:has(input:checked){background:#e7f1fc;border-color:#125cb3;box-shadow:0 0 0 1px #125cb320;font-weight:650}.answer-option:focus-within{outline:3px solid #2f4660;outline-offset:2px}.answer-option input{width:19px;height:19px;flex-shrink:0;accent-color:#125cb3}.answer-option:has(input:disabled){opacity:.65}.game-feedback:not(:empty){padding:.8rem 1rem;background:#f4f9ff;border-radius:12px;color:#2f4660;font-weight:600;line-height:1.5}.game-actions{display:flex;flex-wrap:wrap;gap:.7rem;padding-top:1rem;border-top:1px solid #e2e9f1}.grid-cell{border-radius:7px;background:#f3f9ff;box-shadow:inset 0 0 0 1px #cedced;font-size:clamp(.7rem,2.5vw,1.15rem)}.grid-cell:focus-visible{outline:3px solid #2f4660;outline-offset:1px}.word-entry{border-radius:9px;padding:.55rem .7rem;margin-bottom:.4rem;background:#f3f9ff}.word-entry.found{background:#eaf6ee;color:#176b42}.word-entry.found:before{content:'✓ ';font-weight:800}.word-list{padding-left:1.2rem}.paused-card .card-body{padding:2rem}.result-celebration{background:linear-gradient(120deg,#fff,#f0f7ff);text-align:center;padding:2rem}.result-celebration h2{font-weight:800;color:#125cb3}
@media(max-width:767px){.hero-card{padding:1.5rem}.hero-card:after{content:none}.hero-links .btn{flex:1}.activity-card .card-body{flex-wrap:wrap;gap:.8rem!important}.activity-card form{width:100%}.activity-card form .btn{width:100%}.activity-icon{width:42px;height:42px;font-size:1.3rem}.card-body,.game-play-card .card-body{padding:1.2rem}.game-banner{padding:1.2rem}.timer-card{display:flex;align-items:center;justify-content:space-between;padding:.7rem 1rem;min-width:0}.timer-card strong{font-size:1.7rem}.game-actions .btn{flex:1 1 140px}.word-list{padding-left:0}.word-grid{gap:2px}.grid-cell{border-radius:4px}.game-help{font-size:.88rem}.hero-links .btn{font-size:.88rem}}
@media(prefers-reduced-motion:reduce){.activity-card,.answer-option{transition:none}.activity-card:hover{transform:none}}

/* Preserve the warning state in the blue campaign theme. */
.timer-warning{background:#a32638;outline-color:#ffd0d8}

/* Brand/actions above the navigation: links never squeeze the campaign name. */
.campaign-nav{padding:.75rem 0 .4rem}
.campaign-nav>.campaign-nav-shell{display:block}
.campaign-nav-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;width:100%}
.campaign-nav .navbar-brand{margin:0;font-size:1.25rem;line-height:1.4;white-space:normal;word-break:normal;overflow-wrap:break-word}
.campaign-nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;min-width:0}
.campaign-nav-actions form{margin:0;flex-shrink:0}
.campaign-nav-actions .btn{white-space:nowrap}
.campaign-nav-actions .navbar-text{color:#fff;max-width:16rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.campaign-nav .navbar-toggler{display:none}
.campaign-nav-menu{width:100%;margin-top:.7rem;padding-top:.4rem;border-top:1px solid #ffffff30}
.campaign-nav-menu .navbar-nav{flex-direction:row;flex-wrap:wrap;gap:.15rem .3rem;align-items:center}
.campaign-nav-menu .nav-item{flex:0 0 auto}
.campaign-nav-menu .nav-link{color:#e4efff;white-space:nowrap;font-size:.94rem}
@media(min-width:992px){.campaign-nav-menu.collapse{display:block}}
@media(max-width:991px){
 .campaign-nav{padding:.75rem 0}
 .campaign-nav-top{grid-template-columns:minmax(0,1fr) auto;gap:.65rem}
 .campaign-nav .navbar-brand{font-size:1.08rem}
 .campaign-nav .navbar-toggler{display:block;grid-column:2;grid-row:1}
 .campaign-nav-actions{grid-column:1/-1;grid-row:2;justify-content:flex-start;flex-wrap:wrap;gap:.6rem}
 .campaign-nav-actions .navbar-text{max-width:12rem;font-size:.9rem}
 .campaign-nav-menu .navbar-nav{flex-direction:column;align-items:stretch;gap:.15rem}
 .campaign-nav-menu .nav-link{display:block}
}
@media(max-width:479px){.campaign-nav-actions .navbar-text{display:none}}
