/* App choice cards matching the supplied reference. */
.modal-btns.platform-choices{display:flex;gap:12px;padding:12px;background:#fff;border-radius:20px;margin:12px 0 14px;}
.modal-btns.platform-choices .platform-choice{flex:1;min-width:0;height:auto;min-height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px 5px;background:#fff;border:1px solid #e7e6eb;border-radius:18px;box-shadow:0 1px 3px #28203504;color:#686270;cursor:pointer;}
.platform-choice .platform-choice-icon{display:block;width:52px;height:52px;object-fit:contain;border-radius:15px;box-shadow:0 0 0 1px #e7e6ed,0 4px 12px #30244808;background:#fff;padding:3px;}
.platform-choice strong{font:700 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#686270;white-space:nowrap;}
.platform-choice small{font:500 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#aaa6b0;white-space:nowrap;}
.modal-btns.platform-choices .platform-choice:active{transform:scale(.97);background:#faf9fc;}
.platform-choice:focus-visible{outline:2px solid #9480d7;outline-offset:3px;}
@media(max-width:350px){.modal-btns.platform-choices{padding:8px;gap:8px}.platform-choice strong{font-size:14px}.platform-choice small{font-size:11px}}

.modal-sub-title .passcode-word{color:#e53935;font-weight:700;}

.app-download-note{margin:2px 0 14px;padding:9px 4px;color:#e53935;background:rgba(255,183,0,.14);border:1px solid rgba(255,196,66,.6);border-radius:10px;font-size:12px;font-weight:700;line-height:1.75;text-align:center;overflow-wrap:normal;}

/* Simplified app access modal: retain runtime nodes without displaying legacy passcode controls. */
#detailModal .modal-main-title,#detailModal .modal-sub-title,#detailModal .modal-input-row,#detailModal .modal-error-tip,#detailModal .modal-success-msg,#detailModal .modal-footer-count{display:none!important;}


#modalBtnFree,#platformChoices[hidden],#appDownloadNote[hidden]{display:none!important}
#platformChoices{flex-wrap:wrap}
#platformChoices .platform-choice{flex:1 1 100px;padding:14px 4px}
#platformChoices .platform-choice strong{font-size:15px}
#platformChoices .platform-choice small{font-size:11px}

#platformChoices[data-count="4"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}

.task-access-button{display:block;text-align:center;padding:14px;margin:12px 0;border:1px solid #e4dcf5;border-radius:12px;background:#f3edfe;color:#7d66a3;font-size:13px;font-weight:700}.task-access-button[hidden]{display:none!important}
