*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --ink: #111010;
    --ink-faint: #c0bbb0;
    --ink-mid: #7a756a;
    --dot-off: #e8e4dc;
    --dot-on: #8a7f6f;
    --g-bg: var(--white);
    --g-rail-w: 64px;
    --bar-height: 44px;
}

html,
body {
    height: 100%;
    overscroll-behavior-y: contain;
}

.g-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: var(--g-bg);
    color: var(--ink);
    font-family: "EB Garamond", Georgia, serif;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
    pointer-events: none;
    opacity: 0.5;
}

body,
img,
video,
.g-slide-img,
.g-slide-video {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

video::-webkit-media-controls {
    display: none !important;
}

.g-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: env(safe-area-inset-top, 0px) 2rem 0;
    height: calc(var(--bar-height) + env(safe-area-inset-top, 0px));
    background-color: var(--white);
}

.g-nav-back,
.g-nav-title {
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--ink-mid);
    text-decoration: none;
    transition: color 0.2s ease;
}

.g-nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    touch-action: manipulation;
}
.g-nav-back:hover {
    color: var(--ink);
}

.g-nav-title {
    background: none;
    border: none;
    padding: 0.4rem 0;
    color: var(--ink-faint);
    cursor: pointer;
    touch-action: manipulation;
}
.g-nav-title:hover {
    color: var(--ink-mid);
}
.g-nav-title[aria-pressed="true"] {
    color: var(--ink);
}

.g-feed {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    overflow-y: scroll;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.g-feed::-webkit-scrollbar {
    display: none;
}

.g-slide {
    position: relative;
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px max(env(safe-area-inset-bottom, 0px), 14px);
    background-color: var(--g-bg);
}

.g-card {
    position: relative;
    width: min(100%, 460px);
    height: 100%;
    border: 3px solid var(--dot-off);
    border-radius: clamp(16px, 3vw, 28px);
    overflow: hidden;
    background-color: #000;
}

.g-slide-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.02);

    transform: scale(1.015);
    transition: transform 8s ease-out, opacity 0.25s ease;
    opacity: 0;
}
.g-slide-img.is-loaded {
    opacity: 1;
}
.g-slide.is-active .g-slide-img {
    transform: scale(1);
}

.g-slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #141210;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.g-slide-video.is-loaded {
    opacity: 1;
}

.g-mute-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(17, 16, 16, 0.4);
    border: none;
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}
.g-mute-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    white-space: nowrap;
    background-color: var(--dot-off);
    color: var(--ink);
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
    .g-mute-btn:hover {
        opacity: 0.8;
    }
    .g-mute-btn:hover::after,
    .g-mute-btn:focus-visible::after {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.g-info-btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(17, 16, 16, 0.4);
    border: none;
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
}
.g-info-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    white-space: nowrap;
    background-color: var(--dot-off);
    color: var(--ink);
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
    .g-info-btn:hover {
        opacity: 0.8;
    }
    .g-info-btn:hover::after,
    .g-info-btn:focus-visible::after {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.g-slide-fallback {
    position: absolute;
    inset: 0;
    background: #141210;
}

.g-watermark {
    position: absolute;
    inset: -20% -20%;
    z-index: 2;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    transform: rotate(-28deg);
    opacity: 0.1;
}
.g-watermark span {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    color: var(--white);
    white-space: nowrap;
    padding: 2.4rem 0.5rem;
}

.g-actions {
    position: absolute;
    right: 0.35rem;
    bottom: 1.4rem;
    z-index: 3;
    width: var(--g-rail-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.g-action-btn {
    background: none;
    border: none;
    border-radius: 14px;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 48px;
    min-height: 48px;
    padding: 0.4rem 0.3rem;
    touch-action: manipulation;
    transform: scale(1);
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}
.g-action-btn:active {
    transform: scale(0.88);
    opacity: 0.8;
}

.g-action-btn {
    position: relative;
}
.g-action-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    white-space: nowrap;
    background-color: var(--dot-off);
    color: var(--ink);
    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.g-action-label {
    font-family: "DM Mono", monospace;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--white);
}

.g-profile-btn {
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
}
.g-profile-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--dot-off);
    border-radius: 50%;
    box-sizing: border-box;
}

.g-locked-msg {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.g-locked-msg i {
    font-size: 1.5rem;
    color: var(--dot-off);
}
.g-locked-rule {
    width: 32px;
    height: 1px;
    background: var(--ink-faint);
    margin: 1.3rem 0;
}
.g-locked-title {
    font-family: "EB Garamond", Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.7rem;
}
.g-locked-sub {
    display: block;
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    letter-spacing: 0.03em;
    color: var(--ink-faint);
    line-height: 1.7;
    max-width: 220px;
    margin-bottom: 1.8rem;
}
.g-locked-btn {
    background: var(--dot-off);
    color: var(--ink);
    border: none;
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    touch-action: manipulation;
}

.g-like-btn {
    font-size: 1.6rem;
}
.g-like-btn.liked {
    color: #c0392b;
    animation: gPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.g-fav-btn.saved {
    color: #c9a15b;
    animation: gPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes gPop {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

@media (hover: hover) and (pointer: fine) {
    .g-action-btn:hover {
        opacity: 0.75;
        transform: scale(1.06);
    }
    .g-action-btn:hover::after,
    .g-action-btn:focus-visible::after {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
    }
}

.g-burst-heart {
    position: absolute;
    z-index: 4;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.92);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
}
.g-burst-heart.play {
    animation: gBurst 0.85s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}
@keyframes gBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(-8deg);
    }
    22% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08) rotate(4deg);
    }
    40% {
        transform: translate(-50%, -50%) scale(0.94) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
}

.g-progress {
    position: fixed;
    left: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}
.g-progress-tick {
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--dot-off);
    opacity: 1;
    transition: background 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}
.g-progress-tick.is-active {
    background: var(--dot-on);
    height: 22px;
}
.g-progress-tick.is-edge {
    height: 8px;
    opacity: 0.45;
}

.g-shield {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(30px);
}
.g-shield.is-visible {
    display: flex;
}
.g-shield-msg {
    text-align: center;
    max-width: 280px;
    padding: 0 1.5rem;
}
.g-shield-msg i {
    font-size: 1.5rem;
    color: var(--ink-mid);
    display: block;
}
.g-shield-rule {
    width: 32px;
    height: 1px;
    background: var(--ink-faint);
    margin: 1.3rem auto;
}
.g-shield-title {
    font-family: "EB Garamond", Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 0.7rem;
}
.g-shield-sub {
    display: block;
    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mid);
    line-height: 1.6;
}

body.g-blur-protect .g-feed {
    filter: blur(28px) brightness(0.3);
    transition: filter 0.05s ease;
}

.g-toast {
    position: fixed;
    left: 50%;
    bottom: 2.2rem;
    transform: translate(-50%, 12px);
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.g-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.g-hint {
    position: fixed;
    left: 50%;
    bottom: 8rem;
    transform: translate(-50%, 8px);
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem 1.6rem;
    background: rgba(17, 16, 16, 0.55);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.g-hint.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.g-hint i {
    color: var(--white);
    font-size: 1rem;
    animation: gHintBounce 1.3s ease-in-out infinite;
}
.g-hint p {
    font-family: "EB Garamond", Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
}
.g-hint span {
    font-family: "DM Mono", monospace;
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    color: var(--ink-faint);
}
@keyframes gHintBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .g-hint i {
        animation: none;
    }
}

body.g-comments-open .g-feed {
    overflow: hidden;
}

.g-comments-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(17, 16, 16, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.g-comments-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.g-comments-sheet {
    width: 100%;
    max-width: 460px;
    max-height: 75vh;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.g-comments-overlay.is-open .g-comments-sheet {
    transform: translateY(0);
}

.g-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--dot-off);
}
.g-comments-header span {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
}
.g-comments-close {
    background: none;
    border: none;
    color: var(--ink-mid);
    font-size: 1rem;
    cursor: pointer;
    touch-action: manipulation;
}
.g-comments-close:hover {
    color: var(--ink);
}

.g-comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.g-comments-empty {
    font-family: "EB Garamond", Georgia, serif;
    font-style: italic;
    color: var(--ink-mid);
    text-align: center;
    padding: 2rem 0;
}

.g-comment-item {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}
.g-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--dot-off);
    background: var(--dot-off);
}
.g-comment-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.g-comment-name {
    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--ink-mid);
}
.g-comment-text {
    font-family: "EB Garamond", Georgia, serif;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.45;
    word-break: break-word;
}

.g-reaction-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.g-reaction-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--dot-off);
    border: none;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    color: var(--ink);
    cursor: pointer;
    touch-action: manipulation;
}
.g-reaction-chip.is-mine {
    background: var(--dot-on);
    color: var(--white);
}

.g-reaction-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: none;
    border: 1px solid var(--dot-off);
    color: var(--ink-mid);
    font-size: 0.85rem;
    cursor: pointer;
    touch-action: manipulation;
}
.g-reaction-add:hover {
    color: var(--ink);
    border-color: var(--ink-mid);
}

.g-reaction-picker {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.15rem;
    width: 190px;
    max-height: 160px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--dot-off);
    border-radius: 14px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.g-reaction-picker.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.g-reaction-option {
    background: none;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.2rem;
    border-radius: 50%;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform 0.12s ease;
}
.g-reaction-option:hover {
    transform: scale(1.2);
}
.g-reaction-option.is-mine {
    background: var(--dot-off);
}

.g-comment-translated {
    font-family: "EB Garamond", Georgia, serif;
    font-style: italic;
    font-size: 0.88rem;
    color: var(--ink-mid);
    line-height: 1.4;
    margin-top: 0.3rem;
}

.g-translate-btn {
    display: block;
    margin-top: 0.3rem;
    background: none;
    border: none;
    padding: 0;
    font-family: "DM Mono", monospace;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-faint);
    cursor: pointer;
    touch-action: manipulation;
}
.g-translate-btn:hover {
    color: var(--ink-mid);
}

.g-reply-toggle {
    display: block;
    margin-top: 0.4rem;
    background: none;
    border: none;
    padding: 0;
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink-mid);
    cursor: pointer;
    touch-action: manipulation;
}
.g-reply-toggle:hover {
    color: var(--ink);
}

.g-reply-form {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
}
.g-reply-form.is-open {
    display: flex;
}
.g-reply-input {
    flex: 1;
    border: none;
    background: var(--dot-off);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-family: "EB Garamond", Georgia, serif;
    font-size: 0.85rem;
    color: var(--ink);
}
.g-reply-input::placeholder {
    color: var(--ink-mid);
}
.g-reply-input:focus {
    outline: none;
}
.g-reply-send {
    background: none;
    border: none;
    color: var(--ink);
    font-size: 0.95rem;
    cursor: pointer;
    touch-action: manipulation;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.g-reply-send:hover {
    color: var(--ink-mid);
}

.g-reply-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 0.8rem;
    padding-left: 1rem;
    border-left: 1px solid var(--dot-off);
}
.g-reply-item {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.g-reply-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--dot-off);
    background: var(--dot-off);
}
.g-reply-item .g-comment-text {
    font-size: 0.88rem;
}

.g-comments-form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    border-top: 1px solid var(--dot-off);
}
.g-comments-form input {
    flex: 1;
    border: none;
    background: var(--dot-off);
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-family: "EB Garamond", Georgia, serif;
    font-size: 0.9rem;
    color: var(--ink);
}
.g-comments-form input::placeholder {
    color: var(--ink-mid);
}
.g-comments-form input:focus {
    outline: none;
}
.g-comments-send {
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
    touch-action: manipulation;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.g-comments-send:hover {
    color: var(--ink-mid);
}

@media (min-width: 1024px) {
    .g-card {
        width: min(94vh, 500px);
    }
    .g-actions {
        gap: 1.1rem;
        right: 0.7rem;
    }
    .g-action-btn {
        width: 52px;
        font-size: 1.5rem;
    }
    .g-like-btn {
        font-size: 1.7rem;
    }
}

@media (max-width: 1023px) {
    .g-nav {
        justify-content: center;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --g-rail-w: 52px;
    }
    .g-actions {
        gap: 0.7rem;
        bottom: 1rem;
    }
    .g-like-btn {
        font-size: 1.45rem;
    }
    .g-action-btn {
        font-size: 1.25rem;
    }
}

@media (max-height: 420px) {
    .g-slide {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .g-actions {
        bottom: 0.6rem;
        gap: 0.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .g-slide-img,
    .g-like-btn,
    .g-burst-heart {
        animation: none !important;
        transition: none !important;
    }
}
