/* Same announcement and inbox layout as the home-plate sister game. */
.latest-update{display:none;align-items:center;flex:none;width:calc(100% - 36px);min-width:0;min-height:40px;margin:0 18px 8px;padding:0 11px;border:1px solid #ffffff29;border-radius:4px;background:#ffffff08;color:var(--ink);text-align:left;cursor:pointer}
#app[data-phase="intro"]>.latest-update:not([hidden]){display:flex}
.latest-update-main{display:flex;align-items:center;gap:8px;width:100%;min-width:0}
.latest-update-link{display:none}.latest-update-label{flex:none;color:var(--series-mint);font-size:13px;font-weight:800}
.latest-update time{flex:none;color:#b6c4bd;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.latest-update-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700}
.latest-update-arrow{flex:none;margin-left:auto;color:var(--series-mint);font-size:24px;line-height:1}
.updates-dialog,.feedback-dialog{width:calc(100% - 28px);max-height:calc(100dvh - max(14px,env(safe-area-inset-top)) - max(14px,env(safe-area-inset-bottom)))}
.updates-dialog{max-width:460px;overflow:hidden;padding:28px 24px 22px}
.updates-dialog[open]{display:flex;flex-direction:column}
.updates-dialog>.eyebrow,.updates-dialog>h2,.updates-footer{flex:none}.updates-dialog>.eyebrow{color:var(--series-mint);padding-right:32px}
.updates-dialog h2{font-size:24px;margin:10px 0 20px}
.updates-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;border-top:1px solid #ffffff24;scrollbar-width:thin;scrollbar-color:#789184 transparent}
.updates-list:focus-visible{outline:2px solid var(--series-mint);outline-offset:-2px}
.updates-list article{padding:14px 0;border-bottom:1px solid #ffffff24}
.updates-list time{font-size:12px;color:var(--series-mint);font-variant-numeric:tabular-nums;font-weight:750}
.updates-list h3{font-size:16px;margin:5px 0;color:#f4f2e9}.updates-list p{font-size:14px;line-height:1.65;margin:0;color:#c3d0c8}
.updates-list a{display:inline;margin:0;font:inherit;color:var(--series-mint);font-weight:750;text-decoration:underline;text-underline-offset:3px}
.updates-contact{font-size:14px;line-height:1.8;margin:18px 0 0;color:#dce7df}.updates-share{font-size:14px;line-height:1.8;margin:8px 0 0;color:#dce7df}
.updates-dialog .updates-author{display:inline-block;margin:7px 0 0;font-size:14px;line-height:1.4;font-weight:750;color:var(--series-mint);text-decoration:underline;text-underline-offset:3px}
.updates-contact-link{display:inline-flex;align-items:center;gap:4px;min-height:40px;margin:2px 0 2px 5px;padding:0 12px;border:1px solid #86f1d391;border-radius:7px;background:#86f1d324;font:inherit;color:var(--series-mint);font-weight:800;vertical-align:middle}
.feedback-dialog{max-width:430px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:26px 22px 22px}
.feedback-dialog h2{font-size:22px;margin:0 32px 8px 0}.feedback-dialog>p{font-size:14px;color:#bdcdbf;line-height:1.6;margin:0 0 18px}
.feedback-dialog label{display:block;font-size:14px;font-weight:700;margin:14px 0 7px}
.feedback-dialog select,.feedback-dialog textarea{display:block;width:100%;border:1px solid #b9d3bd55;border-radius:7px;background:#101d1a;color:#f5f5ea;font:16px system-ui,sans-serif;padding:10px 12px}
.feedback-dialog select{height:45px;appearance:none;-webkit-appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23dce7df' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px}
.feedback-dialog textarea{resize:vertical;min-height:112px;max-height:32dvh;line-height:1.5;touch-action:pan-y}
.feedback-dialog select:focus-visible,.feedback-dialog textarea:focus-visible{outline:2px solid var(--series-mint);outline-offset:2px}
.feedback-counter{display:flex;justify-content:space-between;gap:8px;color:#b5c7ba;font-size:11px;line-height:1.4;margin-top:6px}
#feedback-status{font-size:14px;line-height:1.5;margin:12px 0;color:#e4fbc0}#feedback-submit{height:48px;margin-top:16px}
.feedback-success{padding-top:8px;text-align:center}.feedback-success p{font-size:16px;font-weight:700;line-height:1.8;margin:0 0 16px;color:#f5f5ea}.feedback-success p+p{color:var(--series-mint)}#feedback-done{height:48px;margin-top:6px}
@media(min-width:900px){
 .updates-dialog{max-width:500px}
 #app[data-phase="intro"]>.latest-update:not([hidden]){position:absolute;top:76px;right:24px;z-index:4;width:272px;flex-direction:column;align-items:stretch;gap:8px;min-height:0;margin:0;padding:11px 12px;background:#ffffff0a}
 .latest-update-link{display:block;border-top:1px solid #ffffff24;padding-top:8px;color:#d5e1d8;font-size:13px;font-weight:700;line-height:1.35}
}
@media(min-width:900px) and (max-height:650px){#app[data-phase="intro"] .controls{padding-top:118px}#app[data-phase="intro"]>.latest-update:not([hidden]){top:65px}}
@media(max-height:730px){.latest-update{min-height:36px;margin-bottom:6px}}
@media(max-height:650px){.updates-dialog{padding:22px 19px 16px}.updates-dialog h2{font-size:22px;margin:5px 0 10px}.updates-list article{padding:9px 0}.updates-list h3{margin:4px 0}.updates-list p{line-height:1.5}.updates-contact,.updates-share{line-height:1.5;margin-top:8px}.feedback-dialog{padding:22px 19px 18px}.feedback-dialog>p{margin-bottom:10px}.feedback-dialog label{margin:9px 0 5px}#feedback-submit{margin-top:10px}}
