body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal{display:flex;flex-direction:column;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:hidden;border:1px solid var(--brand-borderStrong);border-radius:18px;background:var(--brand-surface);color:var(--brand-text);}body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal-header{flex-shrink:0;align-items:flex-start;padding:22px 24px;gap:16px;border-bottom:1px solid var(--brand-border);background:var(--brand-surface);}body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal-title{font-size:22px;font-weight:600;line-height:1.5;}body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal-close{flex-shrink:0;width:44px;height:44px;}body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal-body{display:block;min-height:0;overflow-y:auto;padding:24px;}body[data-current-page="profile"] #modal-clear-data .modal-footer{position:static;flex-shrink:0;display:flex;flex-wrap:wrap;gap:10px;padding:18px 24px;border-top:1px solid var(--brand-border);background:var(--brand-surfaceSubtle);}body[data-current-page="profile"] #modal-clear-data .modal-footer .btn{min-height:44px;white-space:normal;}body[data-current-page="profile"] #modal-clear-data .btn-danger{color:var(--brand-danger);background:var(--brand-dangerSurface);border:1px solid var(--brand-danger);box-shadow:none;}body[data-current-page="profile"] #modal-clear-data .btn-danger:hover{background:var(--brand-surface);}body[data-current-page="profile"] #modal-clear-data .danger-confirmation{padding:18px;background:var(--brand-dangerSurface);border-color:var(--brand-border);}body[data-current-page="profile"] #modal-clear-data .danger-confirmation strong{color:var(--brand-danger);font-size:18px;}body[data-current-page="profile"] #modal-clear-data .danger-confirmation p{color:var(--brand-textSecondary);font-size:14px;line-height:1.8;}body[data-current-page="profile"] .update-history-item{padding:20px 0;}body[data-current-page="profile"] .update-history-item:first-child{padding-top:0;}body[data-current-page="profile"] .update-notice-title{font-size:18px;line-height:1.6;overflow-wrap:anywhere;}body[data-current-page="profile"] .update-notice-meta{flex-wrap:wrap;color:var(--brand-textSecondary);font-size:13px;}body[data-current-page="profile"] .update-notice-items{gap:10px;color:var(--brand-textSecondary);font-size:14px;line-height:1.8;}@media (max-width:600px){body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);margin:12px;}body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal-header{padding:18px;}body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal-title{font-size:20px;}body[data-current-page="profile"] :is(#modal-update-history,#modal-clear-data) .modal-body{padding:18px;}body[data-current-page="profile"] #modal-clear-data .modal-footer{display:grid;grid-template-columns:1fr;padding:16px 18px;}}