.release-entry{padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid var(--line)}.release-entry:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.release-date{font-size:12px;color:var(--muted);margin-bottom:8px}.release-entry h3{font-size:17px;font-weight:500;margin:0 0 12px}.release-entry ul{margin:0;padding-left:20px}.release-entry li{font-size:13px;line-height:1.9;padding:3px 0;overflow-wrap:anywhere}.release-summary{font-size:12px;color:var(--muted)}
.update-notice{position:fixed;right:24px;bottom:24px;width:420px;max-width:calc(100vw - 32px);padding:20px;background:var(--raised);color:var(--ink);border-radius:12px;box-shadow:0 12px 40px var(--overlay-shadow);z-index:9}.update-notice-copy strong{font-size:15px;font-weight:500}.update-notice-copy p{font-size:13px;line-height:1.8;color:var(--muted);margin:8px 0 16px}.update-notice-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px}.update-notice-actions a{font-size:13px;color:var(--ink);text-underline-offset:4px}.update-notice-actions button{min-height:40px;font-size:12px;padding:8px 16px;background:var(--ink);color:var(--paper);border:0}
@media(max-width:650px){.update-notice{left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom));max-width:none;width:auto;padding:16px;border-radius:10px}.release-entry li{font-size:13px}.update-notice-actions{gap:20px}.update-notice-actions a,.update-notice-actions button{min-height:44px;align-content:center}}

/* 工具表单：按屏宽自动挑列数，输入框永远不越出格子 */
.tool-form{display:grid!important;grid-template-columns:1fr;gap:16px 12px!important;align-items:start}
.tool-form>label{display:block;min-width:0;max-width:100%}
.tool-form input,.tool-form select{display:block;width:100%!important;min-width:0;max-width:100%;box-sizing:border-box;min-height:46px}
@media(min-width:360px){.tool-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:720px){.tool-form{grid-template-columns:1.4fr 1fr 1fr 1fr}}
#free-results{margin-top:18px}

/* 原生输入统一按边框算宽度，避免 Safari 下 content-box 撑破格子 */
input,select,textarea{box-sizing:border-box}

/* iOS Safari：原生日期/时间输入会按自身内容宽度画，忽略 100%，这里关掉原生外观让它服从格子 */
@supports (-webkit-touch-callout:none){
  .tool-form input[type=date],.tool-form input[type=time],.tool-form input[type=datetime-local],.tool-form input[type=month]{
    -webkit-appearance:none;appearance:none;
    width:100%!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box;text-align:left
  }
  .tool-form input[type=date]::-webkit-date-and-time-value,
  .tool-form input[type=time]::-webkit-date-and-time-value{text-align:left;min-height:1.2em}
}

/* 更新日志：主动检查更新 */
.update-check{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.update-check.is-new{border-color:var(--accent)}
.update-check-copy{min-width:0}
.update-check-copy strong{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.update-check-copy span{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
.update-check button{flex:none;min-height:36px;padding:0 14px;border-radius:9px;border:1px solid var(--line);background:var(--raised);color:var(--ink);font:inherit;font-size:13px}
.update-check button:disabled{opacity:.55}
@media(max-width:360px){.update-check{flex-direction:column;align-items:stretch}.update-check button{width:100%}}
.release-more{width:100%;margin:14px 0 4px;padding:11px 12px;border-radius:12px;border:1px solid rgba(111,134,255,.28);background:rgba(111,134,255,.1);color:#4a5bd6;font-size:13px;font-weight:600}
