/* ==================================================
   Full Reviews Page
================================================== */

.title-reviews-page {
    display: grid;
    gap: 14px;
    padding: 12px 10px 48px;
}

.title-reviews-header,
.title-reviews-all {
    min-width: 0;
}

.title-reviews-header {
    position: relative;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    overflow: hidden;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(8, 6, 5, 0.62), rgba(8, 6, 5, 0.78)),
        radial-gradient(circle at 15% 0, rgba(242, 90, 0, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(25, 18, 15, 0.96), rgba(13, 10, 9, 0.96));
    background-position: center top;
    background-size: cover, cover, cover;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    direction: ltr;
}

.title-reviews-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.title-reviews-header::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 6, 5, 0.16), rgba(8, 6, 5, 0.72)),
        radial-gradient(circle at 0 0, rgba(242, 90, 0, 0.24), transparent 44%);
    content: "";
    pointer-events: none;
    z-index: 1;
}

.title-reviews-poster-wrap,
.title-reviews-header-copy {
    position: relative;
    z-index: 2;
}

.title-reviews-poster-wrap {
    width: 100%;
    min-width: 0;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 12px;
}

.title-reviews-poster-wrap:is(a) {
    display: block;
    color: inherit;
    text-decoration: none;
}

.title-reviews-poster {
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: #111010;
    object-fit: cover;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
}

.title-reviews-poster-placeholder {
    display: grid;
    place-items: center;
    padding: 8px;
    color: #b8aaa0;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

.title-reviews-header-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
    direction: rtl;
    text-align: right;
}

.title-reviews-eyebrow,
.title-reviews-secondary-title,
.title-reviews-meta,
.title-reviews-rating {
    margin: 0;
}

.title-reviews-eyebrow {
    color: #f4b24a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
}

.title-reviews-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.title-reviews-secondary-title {
    width: 100%;
    color: #e2d8d0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: right;
    unicode-bidi: plaintext;
}

.title-reviews-meta {
    color: #d8cdc4;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.title-reviews-rating {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-self: start;
    direction: ltr;
    padding: 6px 9px;
    border: 1px solid rgba(242, 90, 0, 0.24);
    border-radius: 999px;
    background: rgba(242, 90, 0, 0.12);
    color: #f4b24a;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.title-reviews-rating-star {
    color: #f4b24a;
    font-size: 12px;
    line-height: 1;
}

.title-reviews-all .title-detail-panel {
    margin: 0;
    padding: 0;
}

.title-reviews-page-shell .title-reviews-page {
    padding-bottom: 116px;
}

.title-reviews-live-root {
    display: contents;
}

.title-reviews-infinite-root {
    display: contents;
}

.title-reviews-infinite-sentinel {
    grid-column: 1 / -1;
    min-height: 1px;
}

.title-reviews-infinite-status,
.title-reviews-infinite-error {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 16px;
    text-align: center;
}

.title-reviews-infinite-status {
    color: rgba(246, 235, 223, 0.68);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

.title-reviews-infinite-status.is-complete {
    color: rgba(246, 235, 223, 0.5);
}

.title-reviews-infinite-error {
    display: grid;
    justify-items: center;
    gap: 10px;
    color: #ffad7d;
    font-size: 12px;
    font-weight: 800;
}

.title-reviews-infinite-error p {
    margin: 0;
}

.title-reviews-infinite-error button {
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid rgba(242, 90, 0, 0.38);
    border-radius: 9px;
    background: rgba(242, 90, 0, 0.12);
    color: #fff7ed;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background-color 160ms ease;
}

.title-reviews-infinite-error button:hover,
.title-reviews-infinite-error button:focus-visible {
    border-color: rgba(242, 90, 0, 0.7);
    background: rgba(242, 90, 0, 0.2);
    outline: 0;
}

.title-review-composer {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1070;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(242, 90, 0, 0.22);
    background: rgba(20, 14, 11, 0.97);
    backdrop-filter: blur(10px);
}

.title-review-composer form,
.title-review-composer > a {
    width: min(100%, 720px);
    margin: 0 auto;
}

.title-review-composer form > div {
    display: flex;
    align-items: flex-end;
    gap: 0;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #18110e;
    transition: border-color 160ms ease;
}

.title-review-composer form > div:focus-within {
    border-color: rgba(242, 90, 0, 0.52);
}

.title-review-composer textarea {
    min-height: 44px;
    max-height: 120px;
    flex: 1 1 auto;
    padding: 9px 11px;
    border: 0;
    border-radius: 6px;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
}

.title-review-composer textarea::placeholder {
    color: rgba(246, 235, 223, 0.46);
}

.title-review-composer button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #8f837b;
    cursor: pointer;
    transition: color 160ms ease;
}

.title-review-composer button:not(:disabled):hover,
.title-review-composer button:not(:disabled):focus-visible,
.title-review-composer button:not(:disabled):active {
    background: transparent;
    color: #f25a00;
    outline: 0;
}

.title-review-composer button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.title-review-composer button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.title-review-composer > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9a5c;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.title-review-composer > a:hover,
.title-review-composer > a:focus-visible {
    color: #ffffff;
    outline: 0;
}

.title-review-composer .title-detail-rating-message {
    width: min(100%, 720px);
    margin: 8px auto 0;
    text-align: center;
}

.title-review-heading-with-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.title-review-info-hint {
    position: static;
    display: inline-flex;
    align-items: center;
}

.title-review-info-hint[open] {
    z-index: 10;
}

.title-review-info-hint-button {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #b8aaa1;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    list-style: none;
}

.title-review-info-hint-button::-webkit-details-marker {
    display: none;
}

.title-review-info-hint-button:hover,
.title-review-info-hint-button:focus-visible,
.title-review-info-hint[open] .title-review-info-hint-button {
    border-color: rgba(242, 90, 0, 0.55);
    color: #ff8b3d;
}

.title-review-info-hint-popover {
    position: absolute;
    z-index: 10;
    top: calc(100% + 10px);
    right: 0;
    width: min(300px, calc(100vw - 42px));
    padding: 12px 14px;
    border: 1px solid rgba(242, 90, 0, 0.26);
    border-radius: 12px;
    background: #1a120e;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
    color: #d9cec7;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
}


@media (min-width: 768px) {
    .title-reviews-page {
        gap: 20px;
        padding: 0;
    }

    .title-reviews-header {
        grid-template-columns: 128px minmax(0, 1fr);
        gap: 22px;
        padding: 20px;
        border-radius: 20px;
    }

    .title-reviews-poster {
        border-radius: 14px;
    }

    .title-reviews-poster-wrap {
        border-radius: 14px;
    }

    .title-reviews-header-copy {
        gap: 9px;
    }

    .title-reviews-header h1 {
        font-size: 32px;
    }

    .title-reviews-eyebrow,
    .title-reviews-secondary-title,
    .title-reviews-meta {
        font-size: 14px;
    }

    .title-reviews-rating {
        font-size: 12px;
        padding: 7px 12px;
    }
}
