/* Round two: a letterpress invitation, not a re-skin of the first pilot. */
.mk-invite{--mk-paper:#faf0df;--mk-line:#6c495d;--mk-light:#fff4e3;--mk-muted:#ddc9d0;position:relative;isolation:isolate;display:block;margin:16px 0;padding:0;overflow:hidden;background:#402637;color:var(--mk-light);border:1px solid var(--mk-line);border-radius:14px;box-shadow:0 4px 0 #281b28}
html.tiskarna-ui #screen-daily #mozkokalypsaInvite{background:#402637!important;color:var(--mk-light)!important;border:1px solid var(--mk-line)!important;box-shadow:0 4px 0 #281b28!important;padding:0!important;grid-column:1/-1}
.mk-invite-main{padding:22px 24px 18px;background:radial-gradient(ellipse at 100% 20%,#73435b 0,transparent 65%)}
.mk-invite-kicker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;font-size:12px;line-height:1.3}
.mk-round-stamp{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;background:#f4bd82;color:#352032;border:1px solid #ffd7aa;box-shadow:2px 2px 0 #241522;font-weight:800;letter-spacing:.08em;text-transform:uppercase;transform:rotate(-2deg)}
.mk-round-stamp::before{content:'02';padding-right:8px;border-right:1px solid #996743;font-variant-numeric:tabular-nums}
.mk-private{color:var(--mk-muted);font-weight:600}
.mk-invite-story{display:grid;grid-template-columns:minmax(0,1fr) 126px;gap:18px;align-items:center}
.mk-invite-copy{min-width:0}
html.tiskarna-ui #screen-daily #mozkokalypsaInvite h2,.mk-invite h2{font-family:'Fraunces',Georgia,serif!important;font-weight:800!important;font-size:clamp(28px,3.4vw,38px)!important;letter-spacing:-.035em!important;line-height:1.06!important;color:var(--mk-light)!important;margin:0 0 12px!important;text-wrap:balance}
.mk-invite p{font-size:15px;line-height:1.5;margin:0;color:#eddce2;max-width:42ch}
.mk-invite-art{display:block;width:126px;height:126px;object-fit:contain;filter:drop-shadow(0 7px 0 #24152255);transform:rotate(5deg)}
.mk-invite-facts{display:flex;gap:8px 18px;flex-wrap:wrap;margin-top:17px;padding-top:14px;border-top:1px solid #765466;font-size:13px;line-height:1.4;color:#eddce2}
.mk-invite-facts b{color:#ffd39e;font-weight:800}
.mk-invite-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.85fr);gap:20px;padding:18px 24px;background:var(--mk-paper);color:#412d36;border-top:3px double #b0927f}
.mk-clock-label{display:block;font-size:11px;line-height:1.3;text-transform:uppercase;letter-spacing:.1em;font-weight:800;margin-bottom:8px}
.mk-clock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:270px;font-variant-numeric:tabular-nums}
.mk-clock-unit{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 3px 6px;border:1px solid #cfb8a3;border-radius:5px;background:#fff9ef;box-shadow:0 2px 0 #d5c4b1}
.mk-clock-unit b{font-size:26px;font-weight:750;line-height:1;letter-spacing:-.025em}
.mk-clock-unit small{font-size:10px;line-height:1.2;font-weight:600;color:#755a5c}
.mk-clock-urgent .mk-clock-unit{border-color:#a05140}
.mk-clock-urgent .mk-clock-unit b{color:#963b2d}
.mk-invite .mk-deadline,.mk-hub-time .mk-deadline{display:block;font-size:11px;line-height:1.4;margin-top:9px;color:#735658}
.mk-invite-action{align-self:center;display:flex;flex-direction:column;gap:9px;text-align:center;min-width:0}
html.tiskarna-ui #screen-daily #mozkokalypsaInvite .primary-btn,.mk-invite .primary-btn{background:#713d59!important;color:#fff6e9!important;box-shadow:0 3px 0 #452437!important;border:0!important;min-height:48px;padding:12px 15px;font-size:15px!important;font-weight:750!important;line-height:1.25;white-space:normal;border-radius:8px;transition:transform .15s,background .15s}
html.tiskarna-ui #screen-daily #mozkokalypsaInvite .primary-btn:hover{background:#844966!important;transform:translateY(-1px)}
.mk-invite .primary-btn:focus-visible{outline:3px solid #bd652f;outline-offset:4px}
.mk-reward-cap{font-size:12px;color:#745252;line-height:1.4}
.mk-reward-cap b{color:#533248}
.mk-invite-footer{padding:12px 24px 14px;border-top:1px solid #d9c7b4;background:#f5e8d6;color:#725159}
.mk-progress-heading{display:flex;gap:6px 12px;justify-content:space-between;flex-wrap:wrap;font-size:11px;line-height:1.4}
.mk-progress-heading strong{font-weight:750;color:#4e3044;font-variant-numeric:tabular-nums}
.mk-progress-track{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px;margin:7px 0}
.mk-progress-track i{height:5px;background:#dfcbb9;border-radius:2px}
.mk-progress-track i.is-done{background:#7b465f}
.mk-progress-track i.is-review{background:#c77d42}
/* Remove the two redundant note blocks from layout and accessibility tree.
   Keep their adapter targets intact; gameplay, rewards and result sync stay unchanged. */
#mozkokalypsaInvite #mkInviteNote,#mkHubModal #mkHubNote{display:none!important}
.mk-pilot-modal .modal-card{width:min(540px,calc(100vw - 28px));max-height:85dvh;overflow:auto;text-align:left}
.mk-heading{display:flex;gap:12px;align-items:center;margin:4px 28px 16px 0}
.mk-heading img{width:60px;height:60px;flex:0 0 60px}
.mk-pilot-modal h2{font-family:'Fraunces',Georgia,serif;margin:3px 0 0;font-size:28px;line-height:1.1}
.mk-hub-kicker{display:block;font-size:11px;color:var(--td-muted,#675d55);font-weight:750;line-height:1.3}
.mk-pilot-modal p{line-height:1.5}
.mk-pilot-modal small{font-size:14px;line-height:1.45;color:var(--td-muted,#675d55)}
.mk-hub-time{background:#faf0df;border:1px solid #dbc7b4;border-radius:9px;padding:13px 15px;color:#412d36}
.mk-hub-time .mk-clock{max-width:270px}
.mk-hub-time .mk-clock-unit small{font-size:10px;line-height:1.2;color:#755a5c}
.mk-board-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}
.mk-board-link{min-height:48px;font-size:15px}
.mk-pilot-modal label{display:block;margin:12px 0;font-weight:700;font-size:15px}
.mk-pilot-modal select,.mk-pilot-modal textarea{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px;font:inherit;color:inherit;background:var(--td-paper,#fff9ee);border:1px solid var(--td-line,#d6c8b9);border-radius:10px}
.mk-pilot-modal .mk-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.mk-pilot-modal .mk-actions button{flex:1;min-height:46px}
.mk-pilot-modal .primary-btn{background:#733f57;color:#fff8ef;border-color:#733f57}
#mkResultSync{font-size:14px;line-height:1.4;margin-top:14px}
html[data-theme=dark] .mk-invite{--mk-paper:#2d2530;--mk-line:#805467;--mk-light:#fff0df}
html.tiskarna-ui[data-theme=dark] #screen-daily #mozkokalypsaInvite{background:#3d2639!important}
html[data-theme=dark] .mk-invite-bottom{color:#f6e4d9;border-top-color:#9b7380}
html[data-theme=dark] .mk-invite-footer{background:#362b34;border-top-color:#69515f;color:#d7bdc9}
html[data-theme=dark] .mk-progress-heading strong,html[data-theme=dark] .mk-reward-cap b{color:#f9d7ac}
html[data-theme=dark] .mk-reward-cap{color:#dec0c7}
html[data-theme=dark] .mk-clock-unit{background:#432f3d;border-color:#806171;box-shadow:0 2px 0 #19161f;color:#ffe6c8}
html[data-theme=dark] .mk-clock-unit small,html[data-theme=dark] .mk-invite .mk-deadline,html[data-theme=dark] .mk-hub-time .mk-deadline{color:#dcc1ca}
html[data-theme=dark] .mk-progress-track i{background:#604555}
html[data-theme=dark] .mk-progress-track i.is-done{background:#dda9ba}
html[data-theme=dark] .mk-progress-track i.is-review{background:#dda05d}
html[data-theme=dark] .mk-hub-time{background:#2d2530;color:#f6e4d9;border-color:#806171}
html[data-theme=dark] .mk-clock-urgent .mk-clock-unit b{color:#ffb8a2}
html.tiskarna-ui[data-theme=dark] #screen-daily #mozkokalypsaInvite .primary-btn,html[data-theme=dark] .mk-pilot-modal .primary-btn{background:#daa3b6!important;color:#2d1c2d!important;box-shadow:0 3px 0 #845169!important}
@media(max-width:600px){
 .mk-invite-main{padding:18px 18px 16px}.mk-invite-kicker{margin-bottom:14px;font-size:11px;gap:10px}.mk-invite-story{grid-template-columns:minmax(0,1fr) 86px;gap:10px}.mk-invite-art{width:92px;height:106px;margin-left:-3px}
 html.tiskarna-ui #screen-daily #mozkokalypsaInvite h2{font-size:28px!important}
 .mk-invite-facts{gap:6px 12px;font-size:12px}.mk-invite-bottom{grid-template-columns:1fr;padding:16px 18px;gap:16px}.mk-invite-time{display:grid;grid-template-columns:1fr;justify-items:center;text-align:center}.mk-clock{width:100%;max-width:300px;gap:8px}.mk-clock-unit b{font-size:28px}.mk-clock-unit small{font-size:11px}.mk-invite-action{gap:7px}.mk-invite-footer{padding:12px 18px 14px}.mk-progress-heading{font-size:11px}.mk-pilot-modal h2{font-size:26px}
}
@media(max-width:359px){.mk-invite-story{grid-template-columns:minmax(0,1fr) 65px}.mk-invite-art{width:72px;height:86px}html.tiskarna-ui #screen-daily #mozkokalypsaInvite h2{font-size:25px!important}.mk-private{font-size:10px}.mk-progress-heading{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mk-invite .primary-btn{transition:none!important;transform:none!important}}

/* Reward sticker: same reward and conditions, simply made visible. */
.mk-invite-facts{align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:14px;padding-top:15px}
.mk-invite-facts>span:first-child{flex:1;min-width:0}
.mk-invite-facts>span:last-child{flex:0 0 auto;position:relative;margin:2px 3px 4px 0;padding:9px 11px 8px;max-width:100%;border:2px solid #ffdfa9;border-radius:4px;background:#f4bd82;color:#593746;box-shadow:3px 4px 0 #281b28;transform:rotate(3deg);font-size:10px;line-height:1.3;text-align:center}
.mk-invite-facts>span:last-child b{display:flex;align-items:baseline;justify-content:center;gap:7px;margin-bottom:4px;color:#352032;font-size:26px;font-weight:900;line-height:1;white-space:nowrap}
.mk-invite-facts>span:last-child b::after{content:'za desku';font-size:11px;font-weight:750;letter-spacing:0}

/* In-game round-three preview, following the approved invitation. */
.mk-round3 .mk-invite-kicker,.mk-round3 .mk-hub-kicker{display:none}
.mk-round3 .mk-progress-track{grid-template-columns:repeat(8,minmax(0,1fr))}
.mk-preview-notice{margin:4px 0 14px;padding:10px 13px;border:1px dashed var(--td-line,#c6b6a6);border-radius:8px;font-size:12px;line-height:1.4;color:var(--td-muted,#675d55);grid-column:1/-1}
.mk-round3 .mk-invite-story{padding-top:2px}
.mk-round3 #mkInspectBoard{display:block;margin:2px 0 14px;min-height:36px;text-decoration:underline;text-underline-offset:3px;color:var(--td-ink,#493441)}
.mk-round3 #mkReturnRating{min-height:44px;white-space:normal}
.mk-round3 #mkResultModal .mk-actions{flex-direction:column-reverse}
.mk-round3 .mk-board-link{display:flex;align-items:center;justify-content:center;min-height:54px;line-height:1.35;white-space:normal;text-align:center}

/* This explicit QA environment cannot load advertising or collect consent. */
.mk-round3-preview .marketing-consent{display:none!important}
