/*
 * TRset Artificial Intelligence Generation III / Version 5.0
 * TRset Yapay Zeka Tabanli Bilgi Servisi
 * TRset.com Jenerasyon III / Version 5.0
 *
 * 27 03 2026 - Oguzhan YURTSEVER
 * Powered by Bilisim Park (c)
 * Neva CMS + Ouzkahn Script Framework + TRawl
 */
/* N00000298 */
.trset-video-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    line-height: 0;
    font-size: 0;
}

.trset-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.trset-body {
    line-height: 1.68;
    color: var(--text-main);
}

.trset-body p {
    margin-top: 0;
}

.trset-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trset-pill {
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    color: var(--text-soft);
    background: var(--bg-soft);
}

.trset-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.trset-doc-category + .trset-doc-category {
    margin-top: 1rem;
}

.trset-doc-category-title {
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-soft);
    letter-spacing: 0.02em;
}

.trset-doc-item {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 0.6rem;
    display: grid;
    gap: 0.45rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trset-doc-item:hover {
    border-color: color-mix(in srgb, var(--accent-cyan) 55%, var(--border-soft));
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.trset-doc-meta {
    font-size: 0.78rem;
}

.trset-doc-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

body.theme-light .trset-doc-item img {
    background-color: color-mix(in srgb, var(--bg-soft) 88%, var(--bg-layer));
}

.trset-doc-caption {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-soft);
    min-height: 2.6em;
}

.trset-doc-caption--empty {
    min-height: 2.6em;
    margin: 0;
}

.trset-doc-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.trset-doc-modal[hidden] {
    display: none !important;
}

.trset-doc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 14, 0.72);
    backdrop-filter: blur(4px);
}

.trset-doc-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(98vw, 960px);
    max-height: min(92vh, 900px);
    background: var(--bg-layer);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-cyber);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.trset-doc-modal__chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border-soft);
    background: color-mix(in srgb, var(--bg-main) 40%, transparent);
}

.trset-doc-modal__chrome--no-caption {
    justify-content: flex-end;
}

.trset-doc-modal__title {
    font-size: 0.88rem;
    color: var(--text-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.trset-doc-modal__chrome--no-caption .trset-doc-modal__title {
    display: none;
}

.trset-doc-modal__close {
    border: 0;
    background: transparent;
    color: var(--text-main);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
    border-radius: 8px;
}

.trset-doc-modal__close:hover {
    background: var(--bg-soft);
}

.trset-doc-modal__body {
    flex: 1;
    min-height: 200px;
    max-height: calc(min(92vh, 900px) - 52px);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem;
    gap: 0.5rem;
    box-sizing: border-box;
    width: 100%;
}

.trset-doc-modal__viewer {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.4rem;
    min-height: min(48vh, 420px);
}

.trset-doc-modal__viewer--single {
    grid-template-columns: 1fr;
    min-height: min(44vh, 380px);
}

.trset-doc-modal__nav {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.85rem;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-soft) 90%, var(--bg-layer));
    color: var(--text-soft);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    padding: 0;
}

.trset-doc-modal__nav:hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--accent-cyan) 35%, var(--border-soft));
    color: var(--text-main);
}

.trset-doc-modal__nav:disabled {
    opacity: 0.32;
    cursor: default;
}

.trset-doc-modal__nav[hidden] {
    display: none !important;
}

.trset-doc-modal__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: min(44vh, 380px);
    touch-action: pan-y pinch-zoom;
}

.trset-doc-modal__img {
    max-width: 100%;
    max-height: min(78vh, 820px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-sizing: border-box;
    display: block;
}

.trset-doc-modal__stage .trset-doc-modal__img {
    max-height: min(76vh, 800px);
}

.trset-doc-modal__caption-wrap {
    width: 100%;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-soft);
    padding: 0 0.25rem 0.35rem;
}

.trset-doc-modal__caption-wrap.is-empty {
    min-height: 0;
    padding: 0;
    margin: 0;
}

.trset-doc-modal__frame {
    width: 100%;
    min-height: min(70vh, 720px);
    height: min(70vh, 720px);
    border: 0;
    border-radius: var(--radius-md);
    background: #1a1a1a;
}

.trset-doc-modal__fallback {
    text-align: center;
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.trset-doc-modal__external {
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    background: var(--bg-soft);
}

.trset-qa-answer {
    margin-top: 0.45rem;
}

.trset-qa-answer img {
    max-width: 100%;
    height: auto;
}

.trset-form {
    max-width: 720px;
    margin: 1.8rem auto;
}

.trset-form-row {
    display: grid;
    gap: 0.35rem;
}

.trset-input,
.trset-button {
    font: inherit;
}

.trset-input {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    background: var(--bg-soft);
    color: var(--text-main);
}

.trset-comment-form {
    width: 100%;
    max-width: 100%;
}

/* N00000265 */
.trset-comment-points-hint {
    margin: 0 0 0.65rem;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--border-soft) 82%, var(--accent-cyan));
    background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.5;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--text-main) 4%, transparent);
}

.trset-comment-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.trset-comment-editor {
    width: 100%;
    min-height: 7.5rem;
    resize: vertical;
    box-sizing: border-box;
}

.trset-ce-btn {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
}

.trset-ce-emoji {
    min-width: 2rem;
    text-align: center;
}

.trset-button {
    border: 0;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
}

.trset-note {
    color: var(--text-soft);
}

.trset-media-bar {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.trset-card.trset-section.trset-media-bar {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.trset-media-bar-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.trset-media-bar-cloud-line {
    display: block;
    line-height: 0;
}

.trset-media-bar-source-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
    max-width: 100%;
}

.trset-media-bar-cap {
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 600;
    color: var(--text-soft);
}

.trset-media-bar-cloud {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    border-radius: 999px;
    color: color-mix(in srgb, var(--text-soft) 66%, var(--bg-layer));
    opacity: 0.72;
}

.trset-public-shell .material-symbols-outlined {
    font-family: "Material Symbols Outlined", "Material Icons", sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
}

.trset-media-bar-cloud-svg {
    display: block;
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.trset-media-bar-source-link {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.4rem;
    max-width: 100%;
    min-width: 0;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
}

.trset-media-bar-source-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.trset-media-bar-source-url {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    color: var(--accent-cyan);
    font-weight: 500;
}

.trset-media-bar-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.trset-media-bar-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 0.1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.trset-media-bar-grid::-webkit-scrollbar { height: 6px; }
.trset-media-bar-grid::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--text-soft) 35%, transparent);
    border-radius: 999px;
}

.trset-media-item {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    min-width: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: color-mix(in srgb, var(--bg-soft) 88%, var(--bg-layer));
}

.trset-media-item:hover {
    border-color: color-mix(in srgb, var(--accent-cyan) 55%, var(--border-soft));
}

.trset-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trset-media-item--doc {
    padding: 0.35rem;
}

.trset-media-item--doc img {
    object-fit: contain;
}

.trset-media-ico-img {
    display: block;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    object-fit: contain;
}

@media (max-width: 520px) {
    .trset-media-bar-grid {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.trset-media-fallback-icon {
    font-size: 1.2rem;
    opacity: 0.75;
}

.trset-comment-dialog {
    border: none;
    border-radius: 14px;
    padding: 0;
    max-width: min(36rem, calc(100vw - 2rem));
    width: 100%;
    background: var(--bg-layer);
    color: var(--text);
    box-shadow: 0 12px 40px color-mix(in srgb, #000 28%, transparent);
}

.trset-comment-dialog::backdrop {
    background: color-mix(in srgb, #000 38%, transparent);
}

.trset-comment-dialog-inner {
    padding: 1rem 1.1rem 1.1rem;
}

.trset-comment-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.trset-comment-dialog-title {
    margin: 0;
    font-size: 1.05rem;
}

.trset-comment-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.5rem;
    align-items: center;
}

/* N00000293 */
.trset-comment-dialog-actions .trset-button--dialog {
    min-height: 2.75rem;
    min-width: 7rem;
    padding: 0.65rem 1rem;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.trset-button.trset-button--secondary {
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent-cyan) 75%, #1a5080), var(--accent-cyan));
    color: #fff;
}

.trset-button.trset-button--muted {
    color: var(--text-main);
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
}

.trset-comment-guest-fields {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.trset-comment-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.trset-comment-field-label {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.trset-comment-check {
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
    font-size: 0.84rem;
    line-height: 1.35;
}

.trset-contact-page a,
.trset-contact-page button,
.trset-contact-page [role="button"] {
    cursor: pointer;
}

.trset-contact-callout {
    margin: 0.45rem 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.trset-contact-open-btn {
    min-height: 2.8rem;
    min-width: 14rem;
    padding: 0.7rem 1.15rem;
    font-weight: 700;
}

.trset-contact-close-btn {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    border: 1px solid var(--border-strong);
    background: color-mix(in srgb, var(--bg-soft) 88%, #fff);
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    border-radius: 0.6rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.trset-contact-close-btn:hover,
.trset-contact-close-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-cyan) 28%, transparent);
}

.trset-comment-verify-form {
    margin-top: 0.85rem;
}

.trset-comment-verify-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem;
}

.trset-comment-field--inline {
    flex: 1 1 12rem;
    min-width: 0;
}

/* N00000295 */
.trset-points-policy-dialog {
    max-width: min(52rem, calc(100vw - 2rem));
}

.trset-points-policy-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.trset-points-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.trset-points-policy-card {
    border: 1px solid color-mix(in srgb, var(--border-soft) 72%, transparent);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    background: color-mix(in srgb, var(--bg-soft) 80%, var(--bg-layer));
}

.trset-points-policy-subtitle {
    margin: 0 0 0.45rem;
    font-size: 0.93rem;
}

.trset-points-policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.trset-points-policy-table th,
.trset-points-policy-table td {
    padding: 0.36rem 0.28rem;
    border-bottom: 1px solid color-mix(in srgb, var(--border-soft) 58%, transparent);
}

.trset-points-policy-table th {
    text-align: left;
    font-weight: 600;
    color: var(--text-soft);
}

.trset-points-policy-table td:last-child,
.trset-points-policy-table th:last-child {
    text-align: right;
    white-space: nowrap;
}

.trset-points-policy-list {
    margin: 0.1rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.3rem;
}

@media (max-width: 820px) {
    .trset-points-policy-grid {
        grid-template-columns: 1fr;
    }
}
