.title-page {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 3rem;
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    color: #1a1a1a;
}

.title-page h1, .title-page h2, .title-hero-name {
    font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.title-search-row {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.title-search-row input[type="search"] {
    flex: 1;
    font-size: 1.15rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.title-search-row button {
    font-size: 1rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 6px;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
}

.title-layout {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 1.75rem;
    align-items: start;
}

.title-facets {
    position: sticky;
    top: 0.75rem;
}

.title-facet-group h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1rem 0 0.4rem;
    color: #555;
}

.title-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.title-chip {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eee;
    color: #111;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.title-chip.is-on {
    background: #61bb46;
    color: #fff;
}

.title-count {
    margin: 0 0 0.75rem;
    color: #555;
}

.title-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: 1rem;
}

.title-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
}

.title-card:hover {
    border-color: #999;
}

.title-card-art {
    background: #f3f1ea;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.title-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.title-card-ph {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #eceae3, #eceae3 8px, #e4e1d8 8px, #e4e1d8 16px);
}

.title-card-meta {
    padding: 0.55rem 0.7rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title-year, .title-creator {
    font-size: 0.85rem;
    color: #666;
}

.title-hero {
    display: grid;
    grid-template-columns: minmax(0, 22rem) 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.title-slides {
    font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title-slides-frame {
    position: relative;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.title-slides-stage {
    position: relative;
    aspect-ratio: 4 / 3;
}

.title-slides-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.title-slides-stage img.is-on {
    opacity: 1;
}

.title-slides-static img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #f3f1ea;
}

.title-slides-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.title-slides-prev {
    left: 0.55rem;
}

.title-slides-next {
    right: 0.55rem;
}

.title-slides-btn:hover,
.title-slides-btn:focus-visible {
    background: rgba(0, 0, 0, 0.72);
    outline: none;
}

.title-slides-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.55rem 0 0.15rem;
}

.title-slides-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c8c8c8;
    cursor: pointer;
}

.title-slides-dot.is-on {
    background: #1a1a1a;
}

.title-slides-count {
    margin: 0;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

.title-hero-name {
    font-size: 2.1rem;
    margin: 0 0 0.35rem;
}

.title-files {
    width: 100%;
    border-collapse: collapse;
    font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title-files th, .title-files td {
    text-align: left;
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.title-launch {
    display: inline-block;
    margin-left: 0.65rem;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
}

.title-launch:hover,
.title-launch:focus-visible {
    background: #333;
    outline: none;
}

.title-files .title-size {
    width: 1%;
    text-align: left;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.title-files .title-sha {
    padding-left: 1.75rem;
    white-space: nowrap;
}

.title-sha-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.title-sha-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #eee;
    color: #333;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}

.title-sha-wrap:hover .title-sha-copy,
.title-sha-wrap:focus-within .title-sha-copy,
.title-sha-copy:focus-visible {
    opacity: 1;
    pointer-events: auto;
}

.title-sha-copy:hover,
.title-sha-copy:focus-visible {
    background: #ddd;
    outline: none;
}

.title-sha-icon {
    width: 0.95rem;
    height: 0.95rem;
    display: block;
}

.title-sha-icon-done {
    display: none;
}

.title-sha-wrap.is-copied .title-sha-icon-copy {
    display: none;
}

.title-sha-wrap.is-copied .title-sha-icon-done {
    display: block;
}

.title-sha-wrap.is-copied .title-sha-copy {
    opacity: 1;
    pointer-events: auto;
    background: #61bb46;
    color: #fff;
}

.title-muted, .title-empty {
    color: #666;
}

.title-card-rating, .title-rating {
    font-size: 0.85rem;
    color: #444;
    font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title-rating {
    display: inline-block;
    margin-left: 0.5rem;
    font-weight: 600;
}

.title-reviews {
    margin-top: 2rem;
    max-width: 40rem;
    font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title-review {
    border-top: 1px solid #e2e2e2;
    padding: 0.85rem 0;
}

.title-review-mine {
    background: #f7f5ef;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.title-review-meta {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
}

.title-review-stars {
    font-family: monospace;
    letter-spacing: 0.05em;
    margin-left: 0.35rem;
}

.title-review-body {
    margin: 0;
    white-space: pre-wrap;
}

.title-review-form textarea {
    width: 100%;
    max-width: 36rem;
    font: inherit;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.title-review-form select,
.title-review-form button,
.title-review-actions button {
    font: inherit;
    padding: 0.35rem 0.75rem;
}

.title-review-error {
    color: #a00;
}

.title-card-art {
    position: relative;
}

.title-card-heart {
    position: absolute;
    top: 0.3rem;
    right: 0.35rem;
    color: #c0392b;
    font-size: 1.75rem;
    line-height: 1;
    -webkit-text-stroke: 2px #fff;
    text-shadow:
        -2px -2px 0 #fff,
         2px -2px 0 #fff,
        -2px  2px 0 #fff,
         2px  2px 0 #fff,
         0 1px 3px rgba(0,0,0,0.45);
}

.title-collection {
    margin: 0.75rem 0 0;
    font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.title-collection-status {
    margin: 0 0 0.4rem;
    font-weight: 600;
}

.title-collection-heart {
    color: #c0392b;
    margin-right: 0.2rem;
}

.title-collection-form button {
    font: inherit;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
}

.title-back {
    display: inline-block;
    margin-bottom: 1rem;
}

@media (max-width: 800px) {
    .title-layout, .title-hero {
        grid-template-columns: 1fr;
    }
    .title-facets {
        position: static;
    }
}

@media (prefers-reduced-motion: reduce) {
    .title-slides-stage img {
        transition: none;
    }
}
