/* Genel gövde */
body.oy-body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: #f3f4f6;
    color: #111827;
}

/* Kabuk */
.oy-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* Üst bar */
.oy-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    padding: 10px 16px;
    margin-bottom: 16px;
}

.oy-topbar-left,
.oy-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.oy-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #1f2933;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.oy-logo-mark {
    font-size: 20px;
    margin-right: 6px;
}

.oy-logo-text {
    font-size: 14px;
}

/* Ziyaret chipleri */
.oy-visit-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: #e5e7eb;
    color: #111827;
}

.oy-visit-chip-online {
    background: #dcfce7;
    color: #166534;
}

/* Ana layout */
.oy-main {
    display: block;
}

.oy-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 16px;
}

.oy-col-left,
.oy-col-right {
    min-width: 0;
}

/* Kartlar */
.oy-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    padding: 16px 18px;
    margin-bottom: 14px;
}

.oy-card h1,
.oy-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.oy-card-sub {
    margin: 0 0 12px;
    font-size: 13px;
    color: #6b7280;
}

/* Butonlar */
.oy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
}

.oy-btn-primary {
    background: #1A73E8;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(26,115,232,.4);
}

.oy-btn-primary:hover {
    background: #1557b0;
    transform: translateY(-1px);
}

.oy-btn-heart {
    background: #EA4335;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(234,67,53,.4);
}

.oy-btn-heart:hover {
    background: #c5221f;
    transform: translateY(-1px);
}

.oy-btn:disabled,
.oy-btn.oy-btn-loading {
    opacity: 0.7;
    cursor: default;
    box-shadow: none;
    transform: none;
}

/* Formlar */
.oy-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oy-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oy-form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.oy-form-group input,
.oy-form-group textarea {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
}

.oy-form-group input:focus,
.oy-form-group textarea:focus {
    outline: none;
    border-color: #1A73E8;
    box-shadow: 0 0 0 1px rgba(26,115,232,0.15);
}

.oy-form-hint {
    font-size: 11px;
    color: #6b7280;
}

/* Hatıra listesi */
.oy-empty-state {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.oy-hatira-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.oy-hatira-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
}

.oy-hatira-item:last-child {
    border-bottom: none;
}

.oy-hatira-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 3px;
}

.oy-hatira-name {
    font-weight: 600;
    color: #111827;
}

.oy-hatira-date {
    color: #9ca3af;
}

.oy-hatira-text {
    margin: 0;
    font-size: 13px;
    color: #374151;
    white-space: pre-wrap;
}

/* Toast */
.oy-toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%) translateY(20px);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: #111827;
    background: #e5e7eb;
    box-shadow: 0 4px 18px rgba(0,0,0,.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}

.oy-toast-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.oy-toast-info {
    background: #e0f2fe;
    color: #075985;
}

.oy-toast-success {
    background: #dcfce7;
    color: #166534;
}

.oy-toast-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Responsive */
@media (max-width: 900px) {
    .oy-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Küçük yardımcılar */
.oy-heart-hint {
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
}

/* XP bar */
.oy-xp-bar-bg {
    background: #e5e7eb;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.oy-xp-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s ease;
}

/* Kalp animasyonu */
.oy-heart-bounce {
    animation: oyHeartBounce 0.6s ease;
}

@keyframes oyHeartBounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.15); }
    60%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}
