    body {
        margin: 0;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        background: #fafafa;
        color: #222;
        line-height: 1.6;
    }

    header {
        background: #222;
        color: #fff;
        padding: 16px 24px;
    }

    header a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
    }

    header span {
        color: #777;
        margin: 0 6px;
    }

    main {
        max-width: 900px;
        margin: 30px auto;
        padding: 0 16px;
    }

    h1 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
    }

    p.desc {
        color: #666;
        font-size: 14px;
        margin-bottom: 20px;
    }

    textarea {
        width: 100%;
        min-height: 180px;
        padding: 14px;
        font-size: 14px;
        border-radius: 8px;
        border: 1px solid #ccc;
        resize: vertical;
        box-sizing: border-box;
    }

    footer {
        text-align: center;
        font-size: 13px;
        color: #666;
        margin: 40px 0 20px;
    }

    footer a {
        color: #666;
        text-decoration: none;
    }

    /* ===== phone ===== */
    .buttons {
        display: flex;
        gap: 10px;
        margin: 14px 0;
        flex-wrap: wrap;
    }

    .hint {
        font-size: 0.9rem;
        color: #777;
        margin-top: 10px;
    }

    /* ===== ocr ===== */

    .intro {
        color: #555;
        margin-bottom: 24px;
    }

    /* 
    .card {
        background: #fff;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-bottom: 24px;
    } */

    .actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin: 16px 0;
    }

    /* 숨김 파일 인풋 */
    input[type="file"] {
        display: none;
    }

    .btn {
        padding: 10px 18px;
        border-radius: 6px;
        font-size: 0.95rem;
        cursor: pointer;
        border: 1px solid transparent;
        background: #222;
        color: #fff;
    }

    .btn.selected {
        background: #e8f0ff;
        color: #222;
        border-color: #5b7cff;
    }

    .btn.secondary {
        background: #fff;
        color: #222;
        border-color: #ccc;
    }

    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .btn:hover:not(:disabled) {
        opacity: 0.9;
    }

    #status {
        font-size: 0.9rem;
        color: #666;
        margin-top: 8px;
    }

    pre {
        white-space: pre-wrap;
        background: #f5f6f8;
        padding: 16px;
        border-radius: 8px;
        font-size: 0.9rem;
        margin-top: 16px;
        max-height: 400px;
        overflow-y: auto;
    }

    .copy-msg {
        font-size: 0.85rem;
        color: #2e7d32;
        margin-top: 8px;
        display: none;
    }

    .drop-area {
        margin-top: 16px;
        padding: 20px;
        border: 2px dashed #ccc;
        border-radius: 10px;
        text-align: center;
        background: #fafafa;
        transition: background 0.2s, border-color 0.2s;
    }

    .drop-area.dragover {
        background: #f0f4ff;
        border-color: #5b7cff;
    }

    .drop-text {
        font-size: 0.9rem;
        color: #666;
    }

    .preview {
        margin-top: 16px;
    }

    .preview img {
        max-width: 100%;
        max-height: 220px;
        border-radius: 8px;
        display: block;
        margin: 0 auto 8px;
    }

    .preview .meta {
        font-size: 0.85rem;
        color: #555;
    }

    .warning {
        margin-top: 12px;
        padding: 10px 12px;
        background: #fff3cd;
        color: #856404;
        border-radius: 8px;
        font-size: 0.9rem;
    }

    .progress-wrap {
        margin-top: 16px;
    }

    .progress-bar {
        width: 100%;
        height: 10px;
        background: #eee;
        border-radius: 999px;
        overflow: hidden;
    }

    .progress-bar div {
        height: 100%;
        width: 0%;
        background: #5b7cff;
        transition: width 0.15s ease;
    }

    .progress-text {
        margin-top: 6px;
        font-size: 0.85rem;
        color: #555;
        text-align: right;
    }

    /* ===== list ===== */
    .title {
        margin-bottom: 24px;
    }

    .title h1 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
    }

    .desc {
        font-size: 14px;
        color: #444;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .desc p {
        margin: 0 0 12px;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    .card {
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        text-decoration: none;
        color: #222;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

    .emoji {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .card h3 {
        margin: 0 0 8px;
        font-size: 1.15rem;
    }

    .card p {
        font-size: 0.95rem;
        color: #555;
    }

    .description {
        margin-top: 24px;
        padding: 24px;
        background: #fff;
        border-radius: 8px;
        border: 1px solid #ececec;
        font-size: 0.95rem;
        color: #444;
    }

    /* ===== convert ===== */

    button {
        padding: 10px 14px;
        font-size: 14px;
        border-radius: 6px;
        border: none;
        cursor: pointer;
        background: #222;
        color: #fff;
    }

    button.secondary {
        background: #555;
    }

    button.light {
        background: #eee;
        color: #222;
    }

    /* ===== clean ===== */
    /* 
    .card {
        background: #fff;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-bottom: 24px;
    } */

    /* .actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 14px 0;
    } */

    /* .btn.secondary {
        background: #fff;
        color: #222;
        border-color: #ccc;
    } */

    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .result {
        white-space: pre-wrap;
        background: #f5f6f8;
        padding: 16px;
        border-radius: 8px;
        font-size: 0.95rem;
        margin-top: 16px;
        max-height: 400px;
        overflow-y: auto;
    }

    /* .copy-msg {
        margin-top: 8px;
        font-size: 0.85rem;
        color: #2e7d32;
        display: none;
    } */

    /* ===== 글자수 ===== */
    .stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
        margin-top: 16px;
    }

    .stat {
        background: #f1f1f1;
        padding: 12px;
        border-radius: 8px;
        text-align: center;
    }

    .stat strong {
        display: block;
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .info {
        margin: 32px auto 0;
        max-width: 720px;
        font-size: 14px;
        color: #444;
    }

    .info details {
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #fafafa;
    }

    .info summary {
        padding: 14px 16px;
        cursor: pointer;
        font-weight: 600;
        color: #111;
        list-style: none;
    }

    .info summary::marker {
        display: none;
    }

    .info summary::after {
        content: "▾";
        float: right;
        color: #888;
        transition: transform 0.2s ease;
    }

    .info details[open] summary::after {
        transform: rotate(180deg);
    }

    .info-content {
        padding: 0 16px 16px;
        line-height: 1.6;
    }

    .info-content ul {
        margin: 12px 0;
        padding-left: 18px;
    }

    .info-content li {
        margin-bottom: 6px;
    }

    .info .note {
        margin-top: 10px;
        font-size: 13px;
        color: #666;
    }

    .note {
        margin-top: 32px;
        font-size: 13px;
        color: #9aa0a6;
    }

    .note h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .note ul {
        padding-left: 16px;
    }

    .note li {
        line-height: 1.6;
    }

    .section-title {
        grid-column: 1 / -1;
        margin: 12px 0 4px;
    }

    .section-title h2 {
        margin: 0;
        font-size: 1.2rem;
    }

    .word-list {
        margin-top: 24px;
        border: 1px solid var(--border, #e5e7eb);
        border-radius: 8px;
        overflow: hidden;
    }

    .word-list table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

    .word-list th,
    .word-list td {
        padding: 10px 12px;
        border-bottom: 1px solid #f1f5f9;
        text-align: left;
    }

    .word-list th {
        background: #fafafa;
        font-weight: 600;
    }

    .word-list tr:last-child td {
        border-bottom: none;
    }

    .word-list .empty {
        text-align: center;
        color: #888;
    }

    .adfit-slot {
        display: block;
        margin: 2rem auto;
        text-align: center;
    }