.web-post-form-page {
    padding-bottom: 5.5rem;
}

.web-post-form {
    max-width: var(--web-content-max-width);
    margin: 0 auto 60px auto;
}

.web-post-card {
    background: var(--web-bg-surface);
    border: 1px solid var(--web-border-color);
    border-radius: var(--web-radius);
    box-shadow: var(--web-shadow-sm);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.web-post-field {
    margin-bottom: 1rem;
}

.web-post-field-last {
    margin-bottom: 0;
}

.web-post-field-divider {
    padding-top: 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--web-border-color);
}

.web-post-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--web-text-primary);
}

.web-post-card-title::before {
    content: '';
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--web-color-primary);
    flex-shrink: 0;
}

.web-post-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--web-text-secondary);
    margin-bottom: 0.35rem;
}

.web-post-label.required::after,
.web-post-card-title.required::after {
    content: ' *';
    color: var(--web-color-primary);
}

.web-post-input,
.web-post-select,
.web-post-textarea {
    width: 100%;
    background: var(--web-bg-muted);
    border: 1px solid var(--web-border-color);
    border-radius: calc(var(--web-radius) - 0.125rem);
    color: var(--web-text-primary);
    padding: 0.625rem 0.75rem;
    font-size: 0.9375rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.web-post-input:focus,
.web-post-select:focus,
.web-post-textarea:focus {
    outline: none;
    border-color: var(--web-color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--web-color-primary) 18%, transparent);
}

.web-post-input-invalid {
    border-color: var(--web-color-primary);
}

.web-post-input-invalid:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--web-color-primary) 22%, transparent);
}

.web-post-textarea {
    min-height: 8rem;
    resize: vertical;
}

.web-post-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.web-post-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.web-post-row-phone {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.web-post-picker-btn {
    width: 100%;
    text-align: left;
    background: var(--web-bg-muted);
    border: 1px solid var(--web-border-color);
    border-radius: calc(var(--web-radius) - 0.125rem);
    color: var(--web-text-primary);
    padding: 0.625rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.web-post-picker-btn.placeholder {
    color: var(--web-text-muted);
}

.web-post-picker-btn:disabled,
.web-post-picker-btn[aria-disabled="true"] {
    opacity: 0.55;
}

.web-post-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.web-post-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.web-post-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--web-border-color);
    border-radius: calc(var(--web-radius) - 0.125rem);
    background: var(--web-bg-muted);
    color: var(--web-text-primary);
    cursor: pointer;
}

.web-post-radio-option:has(input:checked) {
    border-color: var(--web-color-primary);
    background: color-mix(in srgb, var(--web-color-primary) 12%, var(--web-bg-surface));
}

.web-post-radio-option input {
    accent-color: var(--web-color-primary);
}

.web-post-tags-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.web-post-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--web-color-primary) 12%, var(--web-bg-muted));
    color: var(--web-text-primary);
    font-size: 0.8125rem;
}

.web-post-tag-chip button {
    border: none;
    background: transparent;
    color: var(--web-text-secondary);
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.web-tag-picker-panel {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--web-border-color);
    border-radius: var(--web-radius);
    background: var(--web-bg-surface);
    box-shadow: var(--web-shadow-sm);
}

.web-tag-picker-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.web-tag-picker-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.web-tag-picker-option {
    border: 1px solid var(--web-border-color);
    border-radius: 999px;
    background: var(--web-bg-muted);
    color: var(--web-text-primary);
    padding: 0.3rem 0.75rem;
    font-size: 0.875rem;
}

.web-tag-picker-option.active {
    border-color: var(--web-color-primary);
    background: color-mix(in srgb, var(--web-color-primary) 14%, var(--web-bg-surface));
}

.web-tag-picker-sheet .web-tag-picker-panel {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.web-tag-picker-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.web-tag-picker-confirm-btn {
    min-width: 4rem;
    border: none;
    background: var(--web-color-primary);
    color: var(--web-text-inverse);
    font-weight: 600;
}

.web-tag-picker-confirm-btn:hover {
    background: var(--web-color-primary-hover);
    color: var(--web-text-inverse);
}

.web-tag-picker-sheet .web-tag-picker-search {
    align-items: stretch;
    margin-bottom: 0.75rem;
}

.web-tag-picker-create-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 5rem;
    white-space: nowrap;
}

.web-tag-picker-sheet .web-tag-picker-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
    gap: 0.5rem;
}

.web-tag-picker-sheet .web-tag-picker-option {
    width: 100%;
    min-height: 2.5rem;
    border-radius: 999px;
    text-align: center;
}

.web-post-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--web-border-color);
    border-radius: calc(var(--web-radius) - 0.125rem);
    background: var(--web-bg-muted);
    margin-top: 0.5rem;
}

.web-post-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    gap: 0.5rem;
}

.web-post-service-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--web-text-primary);
}

.web-post-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.web-post-toolbar [data-post-link-open] {
    align-self: flex-start;
}

.web-post-toolbar-btn-busy {
    opacity: 0.65;
    pointer-events: none;
}

.web-post-toolbar .btn-outline-secondary {
    border-color: var(--web-border-color);
}

.web-post-submit-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    padding: 0.75rem 1rem;
    background: var(--web-bg-surface);
    border-top: 1px solid var(--web-border-color);
    box-shadow: 0 -4px 16px color-mix(in srgb, var(--web-text-primary) 8%, transparent);
}

.web-post-submit-inner {
    max-width: var(--web-content-max-width);
    margin: 0 auto;
}

.web-post-submit-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: var(--web-text-inverse);
    background: linear-gradient(135deg, var(--web-color-primary), color-mix(in srgb, var(--web-color-primary) 75%, #000));
    box-shadow: 0 4px 14px color-mix(in srgb, var(--web-color-primary) 35%, transparent);
}

.web-post-submit-btn:disabled {
    opacity: 0.65;
}

.web-post-error {
    display: grid;
    gap: 0.25rem;
    color: var(--web-color-primary);
    background: color-mix(in srgb, var(--web-color-primary) 10%, var(--web-bg-surface));
    border: 1px solid color-mix(in srgb, var(--web-color-primary) 35%, transparent);
    border-radius: var(--web-radius);
    padding: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.web-post-error small {
    color: var(--web-text-secondary);
}

.web-chat-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 4.25rem;
    z-index: 1010;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--web-text-inverse);
    font-size: 1.75rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--web-color-primary), color-mix(in srgb, var(--web-color-primary) 80%, #000));
    box-shadow: var(--web-shadow-md);
    transition: transform 0.15s;
}

.web-chat-fab:hover {
    transform: scale(1.05);
    color: var(--web-text-inverse);
}

.web-post-picker-sheet.offcanvas-bottom,
.web-post-picker-sheet.web-overlay-sheet {
    height: auto !important;
    max-height: min(72vh, calc(100vh - var(--web-header-height)));
    display: flex;
    flex-direction: column;
    background: var(--web-bg-surface);
    color: var(--web-text-primary);
    border-top-left-radius: var(--web-radius);
    border-top-right-radius: var(--web-radius);
}

.web-detail-review-sheet.web-overlay-sheet {
    max-height: min(86vh, calc(100vh - 1rem));
}

.web-tag-picker-sheet.web-overlay-sheet {
    max-height: min(58vh, calc(100vh - var(--web-header-height)));
}

.web-post-picker-sheet .offcanvas-header {
    flex-shrink: 0;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid var(--web-border-color);
}

.web-post-picker-sheet .offcanvas-title {
    font-weight: 600;
    color: var(--web-text-primary);
}

.web-post-picker-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.web-post-picker-add-btn {
    border-color: var(--web-color-primary);
    color: var(--web-color-primary);
}

.web-post-picker-add-btn:hover {
    background: color-mix(in srgb, var(--web-color-primary) 12%, var(--web-bg-surface));
    border-color: var(--web-color-primary);
    color: var(--web-color-primary);
}

.web-post-modal {
    background: var(--web-bg-surface);
    color: var(--web-text-primary);
}

.web-post-modal-confirm-btn {
    background: var(--web-color-primary);
    border: none;
}

.web-post-sheet-form {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

.web-post-sheet-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--web-border-color);
}

.web-post-sheet-btn {
    flex: 1;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: opacity 0.15s;
}

.web-post-sheet-btn-cancel {
    border: 1px solid var(--web-border-color);
    background: var(--web-bg-muted);
    color: var(--web-text-secondary);
}

.web-post-sheet-btn-confirm {
    border: none;
    color: var(--web-text-inverse);
    background: linear-gradient(135deg, var(--web-color-primary), color-mix(in srgb, var(--web-color-primary) 75%, #000));
    box-shadow: 0 4px 14px color-mix(in srgb, var(--web-color-primary) 35%, transparent);
}

.web-post-sheet-btn-confirm.is-validation-blocked {
    opacity: 0.58;
}

.web-post-picker-sheet .offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.web-detail-review-sheet .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.web-detail-review-sheet .web-post-field,
.web-detail-review-score {
    margin-bottom: 0;
}

.web-detail-review-sheet .web-post-sheet-actions {
    margin-top: 0.25rem;
}

.web-post-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.web-post-picker-option {
    width: 100%;
    text-align: center;
    border: 1px solid var(--web-border-color);
    border-radius: calc(var(--web-radius) - 0.125rem);
    background: var(--web-bg-muted);
    color: var(--web-text-primary);
    padding: 0.5rem 0.85rem;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.web-post-picker-option:hover {
    border-color: var(--web-color-primary);
}

.web-post-picker-option.active {
    background: color-mix(in srgb, var(--web-color-primary) 15%, var(--web-bg-surface));
    border-color: var(--web-color-primary);
    color: var(--web-text-primary);
}

.web-post-admin-shell {
    min-height: 100vh;
    background: #f4f6f8;
    padding: 1rem;
}

.web-post-admin-head {
    max-width: var(--web-content-max-width);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.web-community-page {
    max-width: var(--web-content-max-width);
    margin: 0 auto;
}

.web-community-filter {
    z-index: 1010;
    padding: 0.75rem;
    margin: -0.25rem -0.25rem 0.75rem;
    background: color-mix(in srgb, var(--web-bg-body) 86%, transparent);
    backdrop-filter: blur(12px);
    border: 1px solid var(--web-border-color);
    border-radius: var(--web-radius);
}

.web-community-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.5rem 0 0.75rem;
    background: var(--web-bg-surface);
    border: 1px solid var(--web-border-color);
    border-radius: calc(var(--web-radius) - 0.125rem);
}

.web-community-search .bi {
    color: var(--web-text-muted);
}

.web-community-search input {
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--web-text-primary);
    font-size: 0.9375rem;
}

.web-community-search input::placeholder {
    color: var(--web-text-muted);
}

.web-community-search-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.web-community-search button,
.web-community-search-reset {
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    border: none;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.web-community-search button {
    color: var(--web-text-inverse);
    background: var(--web-color-primary);
}

.web-community-search-reset {
    color: var(--web-text-secondary);
    background: var(--web-bg-muted);
    text-decoration: none;
}

.web-community-search-reset:hover {
    color: var(--web-color-primary);
}

.web-community-location-panel {
    display: grid;
    gap: 0.6rem;
}

.web-community-location-header {
    align-items: flex-start;
    gap: 0.625rem;
}

.web-community-location-header-back {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    min-height: 2.75rem;
    padding: 0 0.35rem 0 0;
    border: 0;
    background: transparent;
    color: var(--web-color-primary);
    font-weight: 600;
}

.web-community-location-header-back[hidden] {
    display: none;
}

.web-community-location-header-copy {
    flex: 1;
    min-width: 0;
}

.web-community-location-current {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.2rem 0 0;
    color: var(--web-text-muted);
    font-size: 0.8125rem;
}

.web-community-location-current[hidden] {
    display: none;
}

.web-community-location-current strong {
    color: var(--web-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.web-community-location-panel[hidden] {
    display: none !important;
}

.web-community-location-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.web-community-location-city-options {
    padding-top: 0;
    border-top: none;
}

.web-community-location-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    width: 100%;
    max-width: none;
    padding: 0.45rem 0.72rem;
    border: 1px solid var(--web-border-color);
    border-radius: 999px;
    background: var(--web-bg-surface);
    color: var(--web-text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.web-community-location-option:hover,
.web-community-location-option.active {
    border-color: var(--web-color-primary);
    color: var(--web-color-primary);
    background: color-mix(in srgb, var(--web-color-primary) 10%, var(--web-bg-surface));
}

.web-community-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.65rem;
    overflow: visible;
}

.web-community-chip-group {
    position: relative;
    min-width: 0;
}

.web-community-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.5rem;
    width: 100%;
    max-width: none;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--web-border-color);
    border-radius: 999px;
    background: var(--web-bg-surface);
    color: var(--web-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

.web-community-chip-group.has-clear .web-community-chip {
    padding-right: 2.75rem;
}

.web-community-chip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.web-community-chip.active {
    border-color: var(--web-color-primary);
    color: var(--web-color-primary);
    background: color-mix(in srgb, var(--web-color-primary) 10%, var(--web-bg-surface));
}

.web-community-chip-clear {
    position: absolute;
    z-index: 1;
    top: 0.3rem;
    right: 0.25rem;
    bottom: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--web-border-color);
    border-radius: 0 999px 999px 0;
    background: transparent;
    color: var(--web-color-primary);
    cursor: pointer;
}

.web-community-chip-clear:hover,
.web-community-chip-clear:focus-visible {
    background: color-mix(in srgb, var(--web-color-primary) 12%, transparent);
}

.web-community-chip-clear:focus-visible {
    outline: 2px solid var(--web-color-primary);
    outline-offset: 1px;
}

.web-community-chip-clear i {
    pointer-events: none;
}

.web-community-chip-reset {
    color: var(--web-color-danger);
    border-color: var(--web-color-danger);
    font-weight: 600;
}

.web-community-chip-reset:hover,
.web-community-chip-reset:focus-visible {
    color: var(--web-color-danger-hover);
    border-color: var(--web-color-danger-hover);
    background: color-mix(in srgb, var(--web-color-danger) 12%, var(--web-bg-surface));
}

.web-community-chip-reset:focus-visible {
    outline: 2px solid var(--web-color-danger);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .web-community-location-options {
        grid-template-columns: repeat(auto-fit, minmax(5.75rem, 1fr));
    }

    .web-community-chip-row {
        grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    }
}

.web-community-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.5rem 0 0.75rem;
    color: var(--web-text-secondary);
    font-size: 0.875rem;
}

.web-community-sort-tabs {
    display: inline-flex;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid var(--web-border-color);
    border-radius: 999px;
    background: var(--web-bg-surface);
}

.web-community-sort-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    min-width: 3.5rem;
    padding: 0 0.75rem;
    border: 0;
    background: transparent;
    color: var(--web-text-secondary);
    text-decoration: none;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.web-community-sort-tab + .web-community-sort-tab {
    border-left: 1px solid var(--web-border-color);
}

.web-community-sort-tab:hover,
.web-community-sort-tab.active {
    color: var(--web-color-primary);
    background: color-mix(in srgb, var(--web-color-primary) 10%, var(--web-bg-surface));
}

.web-author-line {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.web-author-avatar {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--web-bg-muted);
    color: var(--web-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.web-author-avatar > img:not(.web-author-badge) {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.web-author-badge {
    position: absolute;
    right: -0.18rem;
    top: -0.18rem;
    width: 0.9rem;
    height: 0.9rem;
    object-fit: cover;
    background: var(--web-bg-surface);
    border: 1px solid var(--web-bg-surface);
    box-shadow: var(--web-shadow-sm);
}

.web-author-name {
    position: relative;
    z-index: 4;
    min-width: 0;
    color: var(--web-author-color, var(--web-text-primary));
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.web-author-avatar:hover,
.web-author-avatar:focus,
.web-author-name:hover,
.web-author-name:focus {
    color: var(--web-color-primary-hover);
}

.web-detail-author-line {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.web-detail-author-line .web-author-avatar {
    width: 2.25rem;
    height: 2.25rem;
}

.web-detail-author-line .web-author-badge {
    width: 1rem;
    height: 1rem;
}

.web-detail-author-line .web-author-name {
    max-width: min(22rem, 100%);
    font-size: 0.95rem;
}

.web-author-chat-form {
    margin: 0 0 0 auto;
}

.web-detail-chat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    color: var(--web-text-inverse);
    background: var(--web-color-primary);
    border: 0;
    border-radius: var(--web-radius);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.web-detail-chat-btn:hover {
    color: var(--web-text-inverse);
    background: var(--web-color-primary-hover);
}

.web-detail-chat-btn.disabled,
.web-detail-chat-btn:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.web-community-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 14rem;
    padding: 2rem 1rem;
    color: var(--web-text-muted);
    background: var(--web-bg-surface);
    border: 1px solid var(--web-border-color);
    border-radius: var(--web-radius);
    text-align: center;
}

.web-community-empty .bi {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.web-community-empty p {
    margin: 0;
}

.web-community-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.16rem;
    margin-top: 1rem;
    overflow: hidden;
}

.web-community-pager-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.16rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.web-community-pager-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: clamp(1.8rem, 8vw, 2.45rem);
    height: clamp(1.8rem, 8vw, 2.45rem);
    padding: 0;
    border: 1px solid var(--web-border-color);
    border-radius: 999px;
    background: var(--web-bg-surface);
    color: var(--web-text-primary);
    font-size: clamp(0.78rem, 3.4vw, 0.95rem);
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--web-shadow-sm);
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.web-community-pager-item:hover {
    border-color: var(--web-color-primary);
    color: var(--web-color-primary);
    background: color-mix(in srgb, var(--web-color-primary) 10%, var(--web-bg-surface));
    transform: translateY(-0.05rem);
}

.web-community-pager-item.active {
    border-color: var(--web-color-primary);
    background: var(--web-color-primary);
    color: var(--web-text-inverse);
}

.web-community-pager-item.disabled {
    color: var(--web-text-muted);
    opacity: 0.65;
    box-shadow: none;
    pointer-events: none;
}

.web-community-pager-page {
    font-variant-numeric: tabular-nums;
}

.web-community-pager-ellipsis {
    width: clamp(1rem, 4vw, 1.35rem);
    border-color: transparent;
    background: transparent;
    color: var(--web-text-muted);
    box-shadow: none;
}

.web-community-pager-ellipsis:hover {
    border-color: transparent;
    background: transparent;
    color: var(--web-text-muted);
    transform: none;
}

.web-community-modal.web-overlay-modal,
.web-community-modal.web-overlay-sheet {
    background: var(--web-bg-surface);
    color: var(--web-text-primary);
    border: 1px solid var(--web-border-color);
    border-radius: var(--web-radius);
}

.web-community-modal.web-overlay-sheet {
    border-right: none;
    border-bottom: none;
    border-left: none;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.web-community-modal .modal-header,
.web-community-modal .modal-footer {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    border-color: var(--web-border-color);
}

.web-community-modal .modal-body {
    max-height: min(68vh, 36rem);
    padding: 1rem;
    overflow-y: auto;
}

.web-community-option-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.web-community-option {
    width: 100%;
    min-height: 2.35rem;
    border: 1px solid var(--web-border-color);
    border-radius: calc(var(--web-radius) - 0.125rem);
    background: var(--web-bg-muted);
    color: var(--web-text-primary);
    padding: 0.45rem 0.55rem;
    font-size: 0.875rem;
    text-align: center;
    overflow-wrap: anywhere;
}

.web-community-option.active {
    border-color: var(--web-color-primary);
    color: var(--web-color-primary);
    background: color-mix(in srgb, var(--web-color-primary) 12%, var(--web-bg-surface));
}

.web-community-option-clear {
    color: var(--web-text-secondary);
}

.web-community-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.web-community-range-title {
    color: var(--web-text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
}

.web-community-range .web-community-option-group {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.web-community-range .web-community-option {
    min-height: 2.25rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    font-size: 0.8125rem;
}

.web-community-modal-btn {
    flex: 1;
    border-radius: 999px;
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    font-weight: 600;
}

.web-community-modal-btn.secondary {
    border: 1px solid var(--web-border-color);
    background: var(--web-bg-muted);
    color: var(--web-text-secondary);
}

.web-community-modal-btn.primary {
    border: none;
    background: var(--web-color-primary);
    color: var(--web-text-inverse);
}

@media (min-width: 576px) {
    .web-community-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .web-community-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.85rem;
    }
}

@media (min-width: 768px) {
    .web-post-picker-sheet.web-overlay-sheet {
        max-height: min(82vh, calc(100vh - 2rem));
    }

    .web-detail-review-sheet.web-overlay-sheet {
        max-height: min(88vh, calc(100vh - 2rem));
    }

    .web-tag-picker-sheet.web-overlay-sheet {
        max-height: min(64vh, calc(100vh - 2rem));
    }

    .web-post-picker-sheet .offcanvas-header,
    .web-post-picker-sheet .offcanvas-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.community-review-video-upload {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
}

/* 视频上传组件 — common/_video_uploader_field.twig */
.web-video-cover-panel {
    padding: 0.75rem;
    border: 1px solid var(--web-border-color);
    border-radius: var(--web-radius);
    background: var(--web-bg-muted);
    width: 100%;
}

.web-video-cover-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--web-text-primary);
}

.web-video-cover-sub {
    font-size: 0.875rem;
    color: var(--web-text-secondary);
    margin-bottom: 0.75rem;
}

.web-video-cover-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--web-text-secondary);
    font-size: 0.875rem;
}

.web-video-cover-frames {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.web-video-cover-frame {
    flex: 0 0 auto;
    width: 7.5rem;
    height: 4.25rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.web-video-cover-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.web-video-cover-frame.active {
    border-color: var(--web-color-primary);
}

/* ── 社区详情页 ── */
.web-community-detail { max-width: 720px; margin: 0 auto; padding: 0 1rem; }
.web-detail-title { font-size: 1.35rem; font-weight: 700; margin: 0 0 0.5rem; }
.web-detail-title-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; margin: -0.1rem 0 0.75rem; color: var(--web-text-muted); font-size: 0.86rem; line-height: 1.4; }
.web-detail-title-meta span { display: inline-flex; align-items: center; gap: 0.25rem; min-width: 0; }
.web-detail-title-meta i { color: var(--web-color-primary); font-size: 0.9rem; }
.web-detail-collect-count { color: var(--web-text-muted); }
.web-detail-collect-btn { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2rem; padding: 0.25rem 0.65rem; border: 1px solid var(--web-border-color); border-radius: 999px; background: var(--web-bg-surface); color: var(--web-text-secondary); font-size: 0.84rem; line-height: 1; font-weight: 600; }
.web-detail-collect-btn i { color: var(--web-text-muted); }
.web-detail-collect-btn.active { border-color: color-mix(in srgb, var(--web-color-primary) 55%, var(--web-border-color)); background: color-mix(in srgb, var(--web-color-primary) 9%, var(--web-bg-surface)); color: var(--web-text-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--web-color-primary) 12%, transparent); }
.web-detail-collect-btn.active i { color: var(--web-color-primary); transform: scale(1.08); }
.web-detail-collect-btn:disabled { opacity: 0.65; cursor: wait; }
.web-detail-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    margin-left: 0.4rem;
    border: 1px solid color-mix(in srgb, var(--web-color-success) 72%, var(--web-bg-surface));
    border-radius: 50%;
    background: var(--web-color-success);
    color: var(--web-text-inverse);
    font-size: 0.95rem;
    line-height: 1;
    vertical-align: middle;
    box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--web-color-success) 18%, transparent), var(--web-shadow-sm);
}
.web-detail-verified i::before { vertical-align: 0; }
.web-detail-share-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.65rem; }
.web-detail-share-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; min-height: 4.75rem; color: var(--web-text-primary); text-decoration: none; border: 1px solid var(--web-border-color); border-radius: 0.5rem; background: var(--web-bg-surface); font-size: 0.75rem; }
.web-detail-share-item i,
.web-detail-share-zalo-mark { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: #fff; font-size: 1.25rem; font-weight: 700; }
.web-detail-share-item.telegram i { background: #2aabee; }
.web-detail-share-item.facebook i { background: #1877f2; }
.web-detail-share-item.twitter i { background: #1d9bf0; }
.web-detail-share-item.instagram i { background: #e4405f; }
.web-detail-share-zalo-mark { background: #0068ff; font-size: 1rem; }
.web-detail-share-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem; align-items: stretch; margin-top: 0.85rem; }
.web-detail-share-link { min-width: 0; padding: 0.65rem; border-radius: 0.5rem; background: var(--web-bg-muted); color: var(--web-text-secondary); font-size: 0.8rem; line-height: 1.35; word-break: break-all; }
.web-detail-share-copy { display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem; min-width: 4.25rem; padding: 0 0.65rem; border: 1px solid var(--web-border-color); border-radius: 0.5rem; background: var(--web-bg-surface); color: var(--web-text-primary); font-size: 0.85rem; }
.web-detail-share-copy.copied { color: var(--web-color-primary); border-color: var(--web-color-primary); }
.web-detail-rating-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.web-detail-stars { color: #f5a623; display: inline-flex; gap: 0.1rem; align-items: center; }
.web-detail-gallery.swiper {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    background: #000;
    height: 420px;
}
.web-detail-gallery.swiper .swiper-wrapper {
    height: 100%;
    align-items: stretch;
}
.web-detail-gallery.swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.web-detail-gallery.swiper .swiper-slide img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
}
.web-detail-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; border: none; background: rgba(0,0,0,.45); color: #fff; width: 2rem; height: 2rem; border-radius: 50%; }
.web-detail-gallery-nav.prev { left: 0.5rem; }
.web-detail-gallery-nav.next { right: 0.5rem; }
.web-detail-gallery-dots.swiper-pagination {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 1;
}
.web-detail-gallery-dots .swiper-pagination-bullet {
    width: 0.45rem;
    height: 0.45rem;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    margin: 0 0.2rem !important;
}
.web-detail-gallery-dots .swiper-pagination-bullet-active {
    background: #fff;
}
.web-detail-meta { background: var(--web-bg-surface); border: 1px solid var(--web-border-color); border-radius: 0.75rem; padding: 0.75rem 1rem; margin-bottom: 1rem; }
.web-detail-meta-row { display: flex; gap: 0.75rem; padding: 0.35rem 0; font-size: 0.9rem; }
.web-detail-meta-label { flex: 0 0 5rem; color: var(--web-text-muted); }
.web-detail-post-tags { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1rem 0; padding: 0.75rem 0; border-top: 1px solid var(--web-border-color); border-bottom: 1px solid var(--web-border-color); }
.web-detail-post-tags-label { flex: 0 0 auto; color: var(--web-text-muted); font-size: 0.9rem; line-height: 1.8rem; }
.web-detail-post-tags-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.web-detail-post-tags-list a { display: inline-flex; align-items: center; min-height: 1.8rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--web-bg-muted); color: var(--web-color-primary); text-decoration: none; font-size: 0.85rem; }
.web-detail-meta-phone-row { align-items: flex-start; }
.web-detail-meta-phone-value { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.65rem; }
.web-detail-meta-phone-text { color: var(--web-color-primary);font-weight: 700; }
.web-detail-call-btn { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--web-color-primary); color: var(--web-text-inverse); text-decoration: none; font-weight: 600; line-height: 1; }
.web-detail-call-btn i { color: currentColor; }
.web-detail-meta-phone-remark,
.web-detail-call-hint { color: var(--web-color-primary); font-size: 0.85rem;font-weight: 700; }
.web-detail-rose-gift { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin: 1rem 0; }
.web-detail-rose-gift-option { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.65rem; align-items: center; padding: 0.75rem; border: 1px solid color-mix(in srgb, var(--web-color-primary) 30%, var(--web-border-color)); border-radius: 0.75rem; background: linear-gradient(135deg, color-mix(in srgb, var(--web-color-primary) 9%, var(--web-bg-surface)), var(--web-bg-surface)); box-shadow: var(--web-shadow-sm); }
.web-detail-rose-gift-option-frame { border-color: color-mix(in srgb, var(--web-color-accent) 48%, var(--web-border-color)); background: linear-gradient(135deg, color-mix(in srgb, var(--web-color-accent) 12%, var(--web-bg-surface)), var(--web-bg-surface)); }
.web-detail-rose-gift-art { width: clamp(3.25rem, 12vw, 5rem); height: clamp(3.25rem, 12vw, 5rem); display: grid; place-items: center; border-radius: 0.75rem; background: color-mix(in srgb, #ffe4e6 72%, var(--web-bg-surface)); overflow: hidden; }
.web-detail-rose-gift-option-frame .web-detail-rose-gift-art { background: color-mix(in srgb, var(--web-color-accent) 14%, var(--web-bg-surface)); }
.web-detail-rose-gift-art img { width: 100%; height: 100%; object-fit: contain; }
.web-detail-rose-gift-copy { min-width: 0; }
.web-detail-rose-gift-copy h2 { margin: 0 0 0.2rem; font-size: clamp(0.88rem, 3.6vw, 1rem); font-weight: 700; color: var(--web-text-primary); }
.web-detail-rose-gift-copy p { margin: 0 0 0.3rem; color: var(--web-text-secondary); font-size: 0.82rem; }
.web-detail-rose-gift-copy span { color: #be123c; font-size: 0.82rem; font-weight: 600; }
.web-detail-rose-gift-btn { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 2.35rem; padding: 0 0.65rem; border: none; border-radius: 0.55rem; background: #e11d48; color: #fff; font-weight: 700; white-space: nowrap; box-shadow: 0 0.5rem 1rem rgba(225, 29, 72, 0.2); }
.web-detail-rose-gift-btn-frame { background: var(--web-color-accent); color: var(--web-text-inverse); box-shadow: var(--web-shadow-sm); }
.web-detail-rose-gift-btn i { font-size: 1.1rem; }
.web-detail-rose-gift-btn-icon { width: 1.45rem; height: 1.45rem; object-fit: contain; }
.web-detail-rose-gift-btn:hover { background: #be123c; }
.web-detail-rose-gift-btn-frame:hover { background: var(--web-color-primary-hover); }
.web-rose-gift-sheet.web-overlay-sheet { max-height: min(72vh, 34rem); }
.web-rose-gift-sheet-subtitle { margin: 0.2rem 0 0; color: var(--web-text-muted); font-size: 0.85rem; }
.web-rose-gift-panel { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.web-rose-gift-preview { width: 10rem; height: 10rem; object-fit: contain; border-radius: 0.75rem; background: color-mix(in srgb, #fff1f2 78%, var(--web-bg-surface)); }
.web-rose-gift-form { min-width: 0; }
.web-rose-gift-stepper { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; gap: 0.5rem; align-items: center; margin-top: 0.4rem; }
.web-rose-gift-stepper button { width: 2.75rem; height: 2.75rem; border: 1px solid var(--web-border-color); border-radius: 0.5rem; background: var(--web-bg-surface); color: var(--web-text-primary); }
.web-rose-gift-stepper input { width: 100%; height: 2.75rem; border: 1px solid var(--web-border-color); border-radius: 0.5rem; background: var(--web-bg-surface); color: var(--web-text-primary); text-align: center; font-weight: 700; }
.web-rose-gift-summary { display: flex; flex-wrap: wrap; gap: 0.45rem 0.75rem; margin-top: 0.75rem; color: var(--web-text-secondary); font-size: 0.9rem; }
.web-rose-gift-summary span:first-child { color: #be123c; font-weight: 700; }
.web-rose-gift-warning { margin: 0.65rem 0 0; color: #be123c; font-size: 0.9rem; }
.web-rose-gift-actions { display: flex; justify-content: flex-end; gap: 0.65rem; margin-top: 1rem; }
.web-rose-gift-recharge { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: 0 0.9rem; border: 1px solid #e11d48; border-radius: 0.5rem; color: #be123c; text-decoration: none; font-weight: 700; }
.web-detail-feed-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.web-detail-feed-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 0.5rem; flex-wrap: wrap; }
.web-detail-feed-action { min-height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; border-radius: 999px; padding: 0.45rem 0.85rem; font-size: 0.875rem; line-height: 1; font-weight: 700; border: 1px solid var(--web-border-color); background: var(--web-bg-surface); color: var(--web-text-secondary); box-shadow: var(--web-shadow-sm); transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease; }
.web-detail-feed-action:hover { transform: translateY(-0.06rem); box-shadow: var(--web-shadow-md); }
.web-detail-feed-action.primary { border-color: var(--web-color-primary); background: var(--web-color-primary); color: var(--web-text-inverse); }
.web-detail-feed-action.primary:hover { border-color: var(--web-color-primary-hover); background: var(--web-color-primary-hover); color: var(--web-text-inverse); }
.web-detail-feed-action.secondary { border-color: color-mix(in srgb, var(--web-color-primary) 45%, var(--web-border-color)); background: color-mix(in srgb, var(--web-color-primary) 10%, var(--web-bg-surface)); color: var(--web-color-primary); }
.web-detail-feed-action.secondary:hover { border-color: var(--web-color-primary); background: color-mix(in srgb, var(--web-color-primary) 16%, var(--web-bg-surface)); color: var(--web-color-primary); }
.web-detail-comment-item { display: flex; gap: 0.65rem; padding: 0.85rem 0; }
.web-detail-comment-thread { border-bottom: 1px solid var(--web-border-color); }
.web-detail-comment-thread > .web-detail-comment-item { border-bottom: none; }
.web-detail-comment-replies { margin-left: 2.75rem; padding: 0 0 0.65rem 0.75rem; border-left: 2px solid var(--web-border-color); }
.web-detail-comment-reply { padding: 0.55rem 0 0; gap: 0.5rem; }
.web-detail-comment-reply .web-detail-comment-avatar { width: 1.75rem; height: 1.75rem; }
.web-detail-comment-reply .web-detail-comment-replies { margin-left: 2rem; }
.web-detail-comment-avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; background: var(--web-bg-muted); }
.web-detail-comment-avatar-link { display: inline-flex; flex: 0 0 auto; align-self: flex-start; border-radius: 50%; }
.web-detail-comment-author-link { color: var(--web-text-primary); text-decoration: none; }
.web-detail-comment-author-link:hover { color: var(--web-color-primary); }
.web-detail-comment-avatar-link:focus-visible,
.web-detail-comment-author-link:focus-visible { outline: 2px solid var(--web-color-primary); outline-offset: 2px; }
.web-detail-comment-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; margin: 0.35rem 0; }
.web-detail-comment-media-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.35rem; }
.web-detail-comment-videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; margin: 0.35rem 0; }
.web-detail-videos { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1rem; }
.web-detail-video-item { width: 100%; }
.web-detail-video-player {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border: 0;
    border-radius: 0.75rem;
    background: var(--web-bg-muted);
}
.web-detail-comment-videos .web-detail-video-player {
    border-radius: 0.35rem;
}
.web-detail-comment-group + .web-detail-comment-group { margin-top: 1rem; }
.web-detail-comment-group-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.35rem 0; border-bottom: 1px solid var(--web-border-color); }
.web-detail-comment-group-head h3 { margin: 0; color: var(--web-text-primary); font-size: 1rem; font-weight: 700; }
.web-detail-comment-group-count { color: var(--web-text-muted); font-size: 0.875rem; }
.web-detail-load-more { display: block; width: 100%; min-height: 2.75rem; margin-top: 0.75rem; padding: 0.65rem; border: 1px solid var(--web-border-color); border-radius: 999px; background: var(--web-bg-surface); color: var(--web-text-secondary); }
.web-detail-load-more:hover { border-color: var(--web-color-primary); color: var(--web-color-primary); }
.web-detail-comment-media-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.35rem; }
.web-detail-review-stars-input { display: flex; gap: 0.35rem; margin-bottom: 0.5rem; }

.web-page-gallery .web-community-filter {
    margin: 0 0 var(--web-gallery-space);
    padding: 0.5rem;
    background: color-mix(in srgb, var(--web-bg-body) 88%, transparent);
    border: 1px solid var(--web-gallery-rule);
    border-radius: calc(var(--web-radius) * 1.25);
    box-shadow: none;
}

.web-page-gallery .web-community-search {
    padding: 0.15rem 0.75rem;
    background: color-mix(in srgb, var(--web-bg-surface) 88%, transparent);
    border: 1px solid var(--web-gallery-rule);
    border-radius: calc(var(--web-radius) - 0.125rem);
    box-shadow: none;
}

.web-page-gallery .web-community-search:focus-within {
    border-color: var(--web-color-primary);
}
.web-detail-star-btn { border: none; background: transparent; padding: 0.15rem; font-size: 1.5rem; color: #ccc; line-height: 1; }
.web-detail-star-btn.active { color: #f5a623; }
.web-detail-dim-chip { display: inline-block; margin-right: 0.35rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--web-bg-muted); font-size: 0.75rem; }
.web-detail-comment-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.25rem 0; font-size: 0.85rem; color: var(--web-color-primary); }
.web-detail-comment-tags a { color: inherit; text-decoration: none; }
.web-detail-comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-bottom: 0.25rem; font-size: 0.9rem; }
.web-detail-comment-head time { color: var(--web-text-muted); font-size: 0.8rem; }
.web-detail-comment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin-top: 0.25rem; }
.web-detail-comment-delete { color: var(--web-text-muted); }
.web-detail-comment-delete:hover { color: var(--web-color-primary); }

@media (max-width: 575.98px) {
    .web-detail-rose-gift { gap: 0.5rem; }
    .web-detail-rose-gift-option { grid-template-columns: 1fr; align-content: start; justify-items: center; text-align: center; padding: 0.65rem; }
    .web-detail-rose-gift-copy p { display: none; }
    .web-detail-rose-gift-btn { width: 100%; }
    .web-rose-gift-panel { grid-template-columns: 1fr; }
    .web-rose-gift-preview { width: 8rem; height: 8rem; justify-self: center; }
    .web-rose-gift-actions { flex-direction: column; }
    .web-rose-gift-actions > * { width: 100%; }
}
