        /* ===== ظاهر ترمینالی ===== */
        body {
            background: #0d0f12;
            color: #c9d1d9;
            font-family: ui-monospace, Menlo, Consolas, monospace;
            font-size: 16px;
            padding: 25px;
            margin: 0;
            box-sizing: border-box;
        }

        .header {
            color: #8b949e;
            margin-bottom: 15px;
        }

        .list a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 14px;
            text-decoration: none;
            color: #c9d1d9;
            gap: 12px;
        }

        .list a:hover {
            background: #161b22;
            text-decoration: none;
        }



        .name {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            /* خیلی مهم */
            flex: 1;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .size {
            color: #8b949e;
            flex-shrink: 0;
            margin-left: 10px;
        }


        img.folder {
            width: 50px;
            height: 50px;
        }

        img.file {
            width: 40px;
            height: 40px;
        }

        /* دکمه بک */
        .back {
            margin-bottom: 15px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            text-decoration: none;
            font-family: monospace;
            font-size: 15px;
            transition: 0.2s;
        }

        .back:hover {
            color: #8be9fd;
            text-decoration: none;
            /* حذف underline */
        }

        /* موبایل */
        @media (max-width:600px) {
            .list a {
                flex-direction: column;
                align-items: flex-start;
            }

            .size {
                margin-left: 0;
                margin-top: 4px;
            }

            img.folder {
                width: 40px;
                height: 40px;
            }

            img.file {
                width: 32px;
                height: 32px;
            }

            .back {
                font-size: 14px;
            }
        }

        .name {
            white-space: normal;
            word-break: break-all;
        }