.rw-widget {
    font-family: sans-serif;
    /*border: 1px solid #eee;*/
    padding: 1em;
    /*background: #fff;*/
    border-radius: 8px;
    /*box-shadow: 0 0 10px rgba(0,0,0,0.05);*/
    margin: 0 10px;
}
.rw-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.25em;
    display: flex;
    align-items: center;
}
.rw-title img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
.rw-subtitle {
    color: #444;
    font-size: 1em;
    margin-bottom: 0.75em;
}
.rw-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
}
.rw-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
    background: #f8f9fa;
    padding: 0.25em 1em;
    border-radius: 8px;
    font-size: 12px;
    transition: box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(60,64,67,0.03);
    position: relative;
}
.rw-list li:last-child {
    margin-bottom: 0;
}
.rw-text {
    flex: 1;
    color: #222;
    margin-right: 0.5em;
    word-break: break-all;
}
.rw-copy {
    background: none;
    border: none;
    color: #5f6368;
    font-size: 0.5em;
    cursor: pointer;
    padding: 0.25em 0.5em;
    border-radius: 4px;
    transition: background 0.2s;
}
.rw-copy:hover {
    background: #e8f0fe;
    color: #1967d2;
}
.rw-btn {
    display: block;
    width: 100%;
    padding: 0.75em 0;
    background: #1a73e8;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    margin: 1em 0 0.5em 0;
    box-shadow: 0 1px 2px rgba(60,64,67,0.08);
    transition: background 0.2s;
    background: var(--c8ke-bio-page-text-color,#000000);
    color: var(--c8ke-bio-page-block-color,#FFFFFF) !important; ;
    box-sizing: border-box;
}
.rw-btn:hover {
    color: var(--c8ke-bio-page-text-color,#000000) !important;;
    background:var(--c8ke-bio-page-block-color,#FFFFFF) ;
    box-shadow: 0 0 0 0.2rem var(--c8ke-bio-page-text-color);
}
.rw-stars {
    text-align: center;
    margin: 1em 0 0.5em 0;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #fbbc04;
}
.rw-progress {
    width: 100%;
    height: 6px;
    background: #f1f3f4;
    border-radius: 3px;
    overflow: hidden;
    margin: 0.5em 0 0.25em 0;
}
.rw-progress-bar {
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, #fbbc04 0%, #34a853 100%);
    border-radius: 3px;
}
.rw-tooltip {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: #222;
    color: #fff;
    padding: 0.25em 0.75em;
    border-radius: 4px;
    font-size: 0.95em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(60,64,67,0.08);
    opacity: 0;
    animation: rw-tooltip-fadein 0.2s forwards;
    z-index: 10;
}
@keyframes rw-tooltip-fadein {
    to { opacity: 1; }
}
.rw-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    color: #666;
    margin: 2em 0 2em 0;
    min-height: 48px;
    gap: 0.75em;
}
.rw-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #4285f4;
    border-radius: 50%;
    animation: rw-spin 1s linear infinite;
    display: inline-block;
}
@keyframes rw-spin {
    100% { transform: rotate(360deg); }
}

.google-review-preview-card {
    background: var(--c8ke-bio-page-block-color);
    border-radius: calc(var(--c8ke-bio-page-button-corner) * 1px);
    padding: 10px !important;
    max-width: 700px;
    width: auto;
    margin: 0 auto;
    text-align: center;
}
.google-review-preview-card.list-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
}
.google-preview-list-row {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
}
.google-preview-list-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
}
.google-preview-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.google-preview-list-row .google-preview-thumbnail{
    max-width: 100px;
    aspect-ratio: auto;
}
.google-review-preview-card.list-layout .google-preview-thumbnail {
    margin: 0 0 0 0;
}
.google-preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.google-preview-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.google-review-header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 16px;
}
.google-logo {
    height: 50px;
    background: transparent;
}
.google-review-title {
    font-size: 1.5em;
    font-weight: bold;
}
.google-preview-description {
    color: #666;
    margin-bottom: 16px;
    font-size: 1em;
}
.google-review-btn {
    display: block;
    width: 100%;
    background: var(--page-text-color);
    color: var(--page-block-color); !important;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: .25rem;
    padding: 12px;
    margin: 16px 0 16px 0;
    text-decoration: none;
    transition: background 0.2s;
}
.google-review-btn:hover {
    color: var(--page-text-color) !important;
    background: var(--page-block-color);
    box-shadow: 0 0 0 0.2rem var(--page-text-color) !important;

}
.google-review-stars {
    color: #fbbc04;
    font-size: 2em;
    margin-top: 12px;
    letter-spacing: 6px;
}
.xhs-preview-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 32px 24px 24px 24px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: block;
}
.xhs-preview-card.list-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
}
.xhs-preview-card.list-layout .xhs-preview-list-content{
    text-align: left;
}
.xhs-preview-list-row {
    display: flex;
    align-items: center;
    gap: 24px;
}
.xhs-preview-list-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
}
.xhs-preview-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    margin: 0 auto 16px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.xhs-preview-card.list-layout .xhs-preview-thumbnail {
    margin: 0 0 0 0;
}
.xhs-preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.xhs-preview-header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 16px;
}
.xhs-preview-description {
    color: #666;
    margin-bottom: 16px;
    font-size: 1em;
}
.xhs-preview-btn {
    display: block;
    width: 100%;
    background: var(--c8ke-bio-page-text-color);
    color: var(--c8ke-bio-page-block-color) !important;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: .25rem;
    padding: 12px;
    margin: 16px 0 16px 0;
    text-decoration: none;
    transition: background 0.2s;
}
.xhs-preview-btn:hover {
    color:var(--c8ke-bio-page-text-color) !important;
    background:var(--c8ke-bio-page-block-color);
    box-shadow:0 0 0 0.2rem var(--c8ke-bio-page-text-color) !important;
}
.xhs-preview-stars {
    color: #fbbc04;
    font-size: 2em;
    margin-top: 12px;
    letter-spacing: 6px;
}
.xhs-preview-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/*.c8ke-block-popup-static{*/
/*    position: fixed;*/
/*    top: 0;*/
/*    right: 0;*/
/*    left: 0;*/
/*    bottom: 0;*/
/*    z-index: 9999;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    background: white;*/
/*}*/
.c8ke-nfc-block-show{
    display: block;
}
.c8ke-nfc-block-default{
    display: none !important;
}
.c8ke-google-review-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* 半透明黑色，更现代 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px; /* 四角圆润 */
    /*margin: 0 10px;*/
}

.c8ke-google-review-overlay span {
    /*background: #fff3f3; !* 浅红背景 *!*/
    /*color: #d93025; !* Google风格红 *!*/
    color: #ccc;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 6px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
    /*border: 1px solid #f1c0c0;*/
}
.c8ke-page-block-google_review{
    position: relative;
}
.c8ke-block-overlay-unavailable{
    margin-right: 10px;
}
.rw-submit-message,.rw-copy-jump-message{
    margin-top: 10px;
    color: darkred;
    font-size: 12px;
    display: none;
}
.rw-submit-message .success,.rw-copy-jump-message .success{
    color: green;
}