.resource-verify-dialog, .resource-verify-card {
    box-sizing: border-box;
    width: calc(100vw - 32px);
    max-width: 320px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 28px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: #263244;
    text-align: center;
    font: 15px/1.6 Arial, "Microsoft YaHei", sans-serif;
    box-shadow: 0 16px 60px rgba(22, 42, 68, .2);
}
.resource-verify-dialog::backdrop { background: rgba(15, 28, 46, .5); }
.resource-verify-dialog h2, .resource-verify-card h1 { margin: 0 24px 14px; font-size: 21px; line-height: 1.4; color: #203957; }
.resource-verify-dialog p, .resource-verify-card p { margin: 8px 0 16px; }
.resource-verify-dialog button, .resource-verify-card button { cursor: pointer; font: inherit; touch-action: manipulation; }
.resource-verify-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #68788b; font-size: 26px !important; }
.resource-dot-image { display: block; width: 216px; height: 112px; margin: 0 auto; padding: 0; border: 0; border-radius: 8px; cursor: pointer; touch-action: manipulation; }
.resource-verify-dialog .resource-dot-image { max-width: 100%; height: auto; aspect-ratio: 216 / 112; }
.resource-verify-dialog .resource-dot-image:not([src]) { visibility: hidden; }
.resource-dot-native { overflow-x: auto; }
.resource-dot-native .resource-dot-image { max-width: none; }
.resource-verify-change { display: block; min-height: 44px; margin: 0 0 0 auto; padding: 8px 0; border: 0; background: transparent; color: #276ebc; font-size: 14px !important; }
.resource-verify-dialog .resource-verify-message, .resource-verify-card .resource-verify-message { min-height: 22px; margin: 4px 0 12px; color: #b23e32; font-size: 14px; }
.resource-verify-message:empty, .resource-verify-change[hidden] { display: none; }
.resource-verify-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; margin: 0; padding: 12px; background: #f2f6fb; }
.resource-verify-page a { display: inline-flex; align-items: center; min-height: 44px; color: #276ebc; }
@media (max-width: 480px) {
    .resource-verify-dialog, .resource-verify-card { width: calc(100vw - 24px); padding: 24px 20px 20px; }
    .resource-verify-dialog h2, .resource-verify-card h1 { font-size: 20px; }
}
@media (max-height: 480px) {
    .resource-verify-dialog { margin-top: 12px; margin-bottom: 12px; }
    .resource-verify-dialog, .resource-verify-card { padding-top: 20px; padding-bottom: 20px; }
    .resource-verify-page { align-items: flex-start; }
}

.resource-link-row { margin: 1em 0; }
.resource-open-form { display: inline-block; max-width: 100%; margin: 0; }
.resource-open-form .copybtn { padding: 5px 12px; font-size: 14px; cursor: pointer; }
.resource-open-form .copybtn:disabled, .resource-word-button:disabled { cursor: wait; }
.list .resource-open-word { display: block; margin: 10px 0; }
.resource-word-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 15px;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.resource-word-button:hover { text-decoration: underline; }
.resource-open-status { display: block; color: #b23e32; font-size: 13px; }
.resource-open-status:empty { display: none; }

.resource-open-form .copybtn { border: 0; border-radius: 4px; background: #007bff; color: #fff; }
.resource-hot-heading { margin: .83em 0; font-size: 1.5em; font-weight: bold; }
.list .resource-hot-heading .resource-open-word { margin: 0; }
.resource-hot-heading .resource-word-button { font-size: inherit; }
