/* v30 rewards, player cabinet and a small guided coding playground. */
body.game-theme .header-actions {display:flex;align-items:center;gap:15px}
body.game-theme button.profile-open {min-height:44px;padding:10px 15px;background:#17131ed9!important;border:1px solid #f2c36f!important;font-family:var(--gta-title)!important;font-size:16px!important;white-space:nowrap}
body.panorama-mode .header-actions,body.panorama-mode button.profile-open {pointer-events:auto}
body.game-theme button.profile-open[hidden] {display:none}
body.game-theme.work .bonus-workspace,body.game-theme.work .player-profile {max-width:1040px}
body.game-theme.work .bonus-layout {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:26px;align-items:start}
body.game-theme.work .bonus-task p {font-size:16px!important;line-height:1.6!important}
body.game-theme.work .bonus-task .code-glossary {font-size:14px!important;color:#c9c0cf}
body.game-theme.work .code-editor {padding:18px;background:#0c0b10;border:2px solid #74647b;box-shadow:4px 4px 0 #000;overflow-x:auto;margin:20px 0 18px}
body.game-theme.work .code-editor,body.game-theme.work .code-editor div,body.game-theme.work .code-editor label,body.game-theme.work .code-editor span,body.game-theme.work .code-editor input {font-family:Consolas,'Liberation Mono',monospace!important;letter-spacing:0!important}
body.game-theme.work .code-language {display:block;font-size:12px!important;color:#a89bac;margin-bottom:16px}
body.game-theme.work .code-line {display:flex;align-items:center;gap:0;color:#eee5f6;font-size:16px!important;line-height:1.8!important;white-space:pre;min-height:42px;width:max-content}
body.game-theme.work .code-line span {font-size:16px!important;line-height:1.8!important}
body.game-theme.work .code-line input {padding:5px 7px;margin:0;background:#322b20!important;color:#f2c36f;border:1px solid #f2c36f;width:72px;min-height:34px;font-size:16px!important;line-height:1.2!important}
body.game-theme.work .code-line #bonus-operator {width:38px;text-align:center}
body.game-theme.work .bonus-task .actions {gap:12px;margin:18px 0 0}
body.game-theme.work .bonus-console {background:#17131e;border:2px solid #74647b;padding:20px}
body.game-theme.work .bonus-console .visual-kicker {display:block;font-size:15px!important;margin-bottom:18px}
body.game-theme.work .console-output {min-height:90px;padding:18px 0;border-top:1px solid #74647b;border-bottom:1px solid #74647b}
body.game-theme.work .console-output b {font-family:var(--gta-title)!important;font-size:34px!important;line-height:1.1!important;color:#bce5ce}
body.game-theme.work .console-output p {font-size:14px!important;line-height:1.5!important;margin:10px 0 0;color:#c9c0cf}
body.game-theme.work .console-tip {font-size:14px!important;line-height:1.5!important;margin:20px 0 0;color:#c9c0cf}
body.game-theme.work .earned-award {display:flex;gap:12px;padding:16px 0 0;margin-top:10px;color:#f2c36f}
body.game-theme.work .earned-award .ui-icon {width:34px;height:34px;flex-shrink:0}
body.game-theme.work .earned-award span {display:block;font-size:12px!important;color:#bce5ce;margin-bottom:7px}
body.game-theme.work .earned-award b {font-family:var(--gta-title)!important;font-size:22px!important}
body.game-theme.work .earned-award p {font-size:13px!important;line-height:1.5!important;color:#c9c0cf;margin:9px 0 0}
body.game-theme.work .code-reflection {margin-top:25px;padding:20px;border:1px solid #87b79a;background:#1d3026}
body.game-theme.work .code-reflection h3 {font-size:23px!important;color:#bce5ce}
body.game-theme.work .code-reflection p {font-size:16px!important;line-height:1.6!important;margin:0}
body.game-theme.work .bonus-exit {margin-top:24px}
body.game-theme.work .profile-avatar {width:68px;height:68px;flex-shrink:0;display:grid;place-items:center;border:2px solid #f2c36f;background:#322b20;font-family:var(--gta-title)!important;font-size:36px!important;color:#f2c36f;box-shadow:4px 4px 0 #08070c}
body.game-theme.work .profile-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 28px}
body.game-theme.work .profile-summary>div {padding:18px;background:#211b29;border:1px solid #74647b}
body.game-theme.work .profile-summary b {display:block;font-family:var(--gta-title)!important;font-size:29px!important;line-height:1.2!important;color:#f2c36f;margin-bottom:10px}
body.game-theme.work .profile-summary span {font-size:14px!important;color:#c9c0cf}
body.game-theme.work .profile-results {padding:22px;border:1px solid #74647b;background:#17131e;margin-bottom:30px}
body.game-theme.work .profile-results h3,body.game-theme.work .profile-awards h3 {font-size:27px!important}
body.game-theme.work .profile-results ul {list-style:none;padding:0;margin:18px 0 22px;display:grid;gap:0}
body.game-theme.work .profile-results li {display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #74647b;padding:14px 0}
body.game-theme.work .profile-results li span,body.game-theme.work .profile-results li b {font-size:15px!important;line-height:1.5!important}
body.game-theme.work .profile-results li b {color:#a89bac;text-align:right}
body.game-theme.work .profile-results li b.result-complete {color:#bce5ce}
body.game-theme.work .profile-impressions {padding:16px;background:#211b29;border:1px solid #74647b}
body.game-theme.work .profile-impressions h4 {font-size:18px!important;margin:0 0 13px;color:#f2c36f}
body.game-theme.work .profile-impressions p {font-size:14px!important;line-height:1.6!important;margin:8px 0 0}
body.game-theme.work .awards-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
body.game-theme.work .award-card {position:relative;padding:22px 18px;border:2px solid #74647b;background:#211b29;min-width:0}
body.game-theme.work .award-card>.ui-icon {width:48px;height:48px;color:#a89bac;margin-bottom:20px}
body.game-theme.work .award-card h4 {font-family:var(--gta-title)!important;font-size:23px!important;margin:0 0 12px;line-height:1.2!important;color:#d4ccd9}
body.game-theme.work .award-card p {font-size:14px!important;line-height:1.6!important;color:#c9c0cf;margin:0}
body.game-theme.work .award-state {display:block;font-size:12px!important;color:#a89bac;margin-bottom:14px}
body.game-theme.work .award-card.is-earned {border-color:#f2c36f;background:#322b20;box-shadow:4px 4px 0 #08070c}
body.game-theme.work .award-card.is-earned h4,body.game-theme.work .award-card.is-earned>.ui-icon {color:#f2c36f}
body.game-theme.work .award-card.is-earned .award-state {color:#bce5ce}
#award-toast {position:fixed;top:105px;right:20px;z-index:20;max-width:460px;width:calc(100% - 40px);display:flex;align-items:center;gap:14px;padding:18px;background:#17131ef7;border:2px solid #f2c36f;box-shadow:5px 5px 0 #08070c;color:#fff}
#award-toast[hidden] {display:none}
#award-toast>.ui-icon {flex:0 0 35px;width:35px;height:35px;color:#f2c36f}
#award-toast>div {flex:1;min-width:0}
#award-toast span {display:block;font-size:12px!important;color:#bce5ce;margin-bottom:5px}
#award-toast b {font-family:var(--gta-title)!important;font-size:19px!important;line-height:1.2!important;color:#f2c36f}
#award-toast button {font-size:13px!important;min-height:44px;padding:8px 10px;flex-shrink:0;background:#0c0b10!important;border:1px solid #a89bac!important;box-shadow:none!important}
#award-toast #toast-close {font-size:22px!important;min-width:34px;padding:3px 7px}
@media(max-width:800px) {
  body.game-theme.work .bonus-layout {grid-template-columns:1fr}
  body.game-theme.work .awards-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px) {
  body.game-theme .header-actions {gap:9px}
  body.game-theme .header-actions .hud {display:none}
  body.game-theme .header-actions button.profile-open {padding:8px 10px;font-size:14px!important}
  body.game-theme.work .profile-summary {gap:8px}
  body.game-theme.work .profile-summary>div {padding:12px 9px}
  body.game-theme.work .profile-summary b {font-size:22px!important}
  body.game-theme.work .profile-summary span {font-size:12px!important}
  body.game-theme.work .profile-avatar {width:48px;height:48px;font-size:27px!important}
  body.game-theme.work .profile-results {padding:17px}
  body.game-theme.work .profile-results li {align-items:flex-start;gap:12px}
  body.game-theme.work .profile-results li span,body.game-theme.work .profile-results li b {font-size:13px!important}
  body.game-theme.work .awards-grid {grid-template-columns:1fr}
  body.game-theme.work .award-card {padding:18px}
  body.game-theme.work .code-editor {padding:12px}
  body.game-theme.work .code-line,body.game-theme.work .code-line span {font-size:13px!important}
  body.game-theme.work .code-line input {font-size:14px!important}
  body.game-theme.work .bonus-task .actions button {flex:1}
  #award-toast {top:88px;right:12px;width:calc(100% - 24px);padding:13px;gap:9px}
  #award-toast>.ui-icon {flex-basis:26px;width:26px;height:26px}
  #award-toast b {font-size:16px!important}
  #award-toast button {font-size:11px!important;padding:7px}
}

body.game-theme.work .player-profile .work-head>div {min-width:0}
body.game-theme.work .player-profile .work-head h2 {overflow-wrap:anywhere}
