"""SNS 플랫폼별 사이즈 표준."""

from __future__ import annotations

SIZES: dict[str, tuple[int, int]] = {
    "instagram": (1080, 1080),
    "facebook": (1200, 630),
    "twitter": (1200, 675),
    "threads": (1080, 1350),
    "naver": (800, 800),
}


def get_size(platform: str) -> tuple[int, int]:
    """플랫폼명 → (width, height). 미존재 시 fallback (1080,1080)."""
    return SIZES.get(platform, (1080, 1080))


def list_platforms() -> list[str]:
    """지원 플랫폼 목록."""
    return list(SIZES.keys())
