@charset "utf-8";

/* 공식보증업체 카드 - 깔끔한 정렬 최종 */
.tanga-sponsor-board{
    background:#fff;
    border-radius:16px;
    box-shadow:0 12px 34px rgba(0,0,0,.10),0 2px 8px rgba(0,0,0,.04);
    border:1px solid rgba(0,0,0,.04);
    padding:22px;
    box-sizing:border-box;
}

.tanga-sponsor-admin{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:16px;
    padding:10px 12px;
    background:#f8f8f8;
    border-radius:10px;
    font-size:13px;
}

.tanga-sponsor-admin button{
    border:1px solid #ddd;
    background:#fff;
    border-radius:6px;
    padding:6px 10px;
    cursor:pointer;
}

/* PC 3열 / 카드 간격 */
.tanga-sponsor-grid,
.tanga-sponsor-grid-compact{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:22px !important;
    align-items:start;
}

/* 카드 박스 */
.tanga-sponsor-card,
.tanga-sponsor-card-compact{
    position:relative;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    border:3px solid #e6333b;
    box-shadow:0 10px 24px rgba(0,0,0,.10);
    transition:transform .18s ease,box-shadow .18s ease;
    padding:8px 8px 10px;
    box-sizing:border-box;
}

.tanga-sponsor-card:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(0,0,0,.14);
}

.tanga-card-check{
    position:absolute;
    z-index:8;
    top:10px;
    left:10px;
}

/* 보증업체 3D 배지 - 과하지 않게 */
.tanga-card-badge-wrap{
    position:absolute;
    left:18px;
    top:18px;
    z-index:7;
}

.tanga-card-badge{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:96px;
    height:38px;
    padding:0 18px;
    border-radius:999px;
    color:#fff;
    font-size:15px;
    font-weight:900;
    letter-spacing:-0.04em;
    text-shadow:0 1px 1px rgba(0,0,0,.25);
    background:linear-gradient(180deg,#ff6868 0%,#ed373d 48%,#d72129 100%);
    box-shadow:
        0 7px 13px rgba(217,37,37,.30),
        0 2px 0 rgba(130,0,0,.28),
        inset 0 2px 0 rgba(255,255,255,.40),
        inset 0 -3px 0 rgba(120,0,0,.22);
    border:1px solid rgba(170,0,0,.20);
}

.tanga-card-badge:before{
    content:"";
    position:absolute;
    left:8px;
    right:8px;
    top:3px;
    height:32%;
    border-radius:999px;
    background:linear-gradient(180deg,rgba(255,255,255,.32),rgba(255,255,255,0));
    pointer-events:none;
}

/* 이미지 영역 - 두번째 사진처럼 카드 상단에 딱 맞게 */
.tanga-sponsor-img,
.tanga-sponsor-img-full{
    display:block;
    width:100%;
    aspect-ratio:1.42 / 1;
    background:#111;
    overflow:hidden;
    border-radius:10px;
}

.tanga-sponsor-img img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover !important;
    object-position:center center !important;
    border:0;
}

/* 사이트 이름 / 가입코드 테이블 */
.tanga-sponsor-info,
.tanga-sponsor-info-simple{
    margin-top:12px;
    border:1px solid #e6e6e6;
    border-radius:7px;
    overflow:hidden;
    background:#fff;
}

.tanga-info-row{
    display:grid;
    grid-template-columns:34% minmax(0,1fr);
    min-height:50px;
    border-bottom:1px solid #e6e6e6;
}

.tanga-info-row:last-child{
    border-bottom:0;
}

.tanga-info-label{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#2f2f2f;
    color:#fff;
    font-size:15px;
    font-weight:700;
    letter-spacing:-0.04em;
    white-space:nowrap;
    line-height:1.2;
}

.tanga-info-value{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 10px;
    min-width:0;
    color:#333;
    font-size:16px;
    font-weight:700;
    text-align:center;
    word-break:keep-all;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    background:#fff;
    line-height:1.2;
}

.tanga-info-value.code{
    color:#e23636;
    font-size:18px;
    font-weight:800;
}

/* 혹시 남아있는 3번째 줄부터는 강제 숨김 */
.tanga-sponsor-info .tanga-info-row:nth-child(n+3){
    display:none !important;
}

/* 하단 버튼 */
.tanga-sponsor-buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:12px 0 0;
}

.tanga-sponsor-buttons a{
    display:flex;
    align-items:center;
    justify-content:center;
    height:46px;
    border-radius:7px;
    font-size:15px;
    font-weight:800;
    text-decoration:none;
    box-sizing:border-box;
    letter-spacing:-0.04em;
    transition:.18s ease;
    white-space:nowrap;
    line-height:1;
}

.tanga-sponsor-buttons .detail{
    border:2px solid #222;
    color:#111;
    background:#fff;
}

.tanga-sponsor-buttons .go{
    border:2px solid #df2f35;
    color:#df2f35;
    background:#fff;
}

.tanga-sponsor-buttons .detail:hover{
    background:#222;
    color:#fff;
}

.tanga-sponsor-buttons .go:hover{
    background:#df2f35;
    color:#fff;
}

.tanga-empty{
    grid-column:1/-1;
    padding:80px 20px;
    text-align:center;
    color:#777;
    background:#fafafa;
    border-radius:12px;
}

.pg_wrap{
    margin-top:20px;
}

/* 글쓰기 레이아웃 유지 */
.tanga-sponsor-write{
    background:#fff;
    border-radius:16px;
    box-shadow:0 12px 34px rgba(0,0,0,.10),0 2px 8px rgba(0,0,0,.04);
    border:1px solid rgba(0,0,0,.04);
    padding:24px;
    box-sizing:border-box;
}

.tanga-write-title{
    margin:0 0 20px;
    font-size:22px;
    font-weight:800;
}

.tanga-write-box{
    border-top:2px solid #222;
}

.tanga-write-row{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    border-bottom:1px solid #eee;
}

.tanga-write-row>label{
    display:flex;
    align-items:center;
    padding:16px;
    background:#fafafa;
    font-weight:800;
    color:#222;
}

.tanga-write-row .field{
    padding:14px 16px;
    min-width:0;
}

.tanga-write-row .frm_input,
.tanga-write-row select{
    height:44px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 12px;
    box-sizing:border-box;
}

.tanga-write-row .full_input{
    width:100%;
}

.tanga-write-row textarea{
    width:100%;
    border:1px solid #ddd;
    border-radius:8px;
    padding:12px;
    box-sizing:border-box;
}

.tanga-write-row .help{
    margin:8px 0 0;
    color:#888;
    font-size:13px;
}

.tanga-write-row .file-row{
    margin-bottom:10px;
}

.tanga-write-row .frm_file{
    display:block;
    width:100%;
    padding:10px;
    border:1px dashed #ccc;
    border-radius:8px;
    background:#fafafa;
    box-sizing:border-box;
}

.tanga-write-row .file-del{
    display:block;
    margin-top:8px;
    color:#666;
    font-size:13px;
}

.tanga-write-btns{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:18px;
}

.tanga-write-btns a,
.tanga-write-btns button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:100px;
    height:44px;
    border-radius:8px;
    font-size:15px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}

.tanga-write-btns .btn_cancel{
    border:1px solid #ddd;
    background:#fff;
    color:#333;
}

.tanga-write-btns .btn_submit{
    border:0;
    background:#df2f35;
    color:#fff;
}

/* 태블릿 2열 */
@media(max-width:1100px){
    .tanga-sponsor-grid,
    .tanga-sponsor-grid-compact{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:18px !important;
    }
}

/* 모바일: 2열 유지 */
@media(max-width:768px){
    .tanga-sponsor-board{
        padding:14px;
        border-radius:12px;
    }

    .tanga-sponsor-grid,
    .tanga-sponsor-grid-compact{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px !important;
    }

    .tanga-sponsor-card,
    .tanga-sponsor-card-compact{
        padding:6px 6px 8px;
        border-radius:12px;
        border-width:2px;
    }

    .tanga-card-badge-wrap{
        left:10px;
        top:10px;
    }

    .tanga-card-badge{
        min-width:68px;
        height:28px;
        padding:0 10px;
        font-size:12px;
    }

    .tanga-sponsor-img,
    .tanga-sponsor-img-full{
        border-radius:8px;
        aspect-ratio:1.42 / 1;
    }

    .tanga-sponsor-info{
        margin-top:8px;
        border-radius:6px;
    }

    .tanga-info-row{
        grid-template-columns:36% minmax(0,1fr);
        min-height:38px;
    }

    .tanga-info-label{
        font-size:12px;
    }

    .tanga-info-value{
        font-size:13px;
    }

    .tanga-info-value.code{
        font-size:14px;
    }

    .tanga-sponsor-buttons{
        gap:6px;
        padding-top:8px;
    }

    .tanga-sponsor-buttons a{
        height:36px;
        font-size:12px;
        border-radius:6px;
        border-width:2px;
    }
}

/* 아주 작은 화면은 1열 */
@media(max-width:420px){
    .tanga-sponsor-grid,
    .tanga-sponsor-grid-compact{
        grid-template-columns:1fr !important;
        gap:14px !important;
    }

    .tanga-info-row{
        grid-template-columns:34% minmax(0,1fr);
        min-height:46px;
    }

    .tanga-info-label{
        font-size:14px;
    }

    .tanga-info-value{
        font-size:15px;
    }

    .tanga-info-value.code{
        font-size:16px;
    }

    .tanga-sponsor-buttons a{
        height:42px;
        font-size:14px;
    }
}


/* 클릭 시 빨간 테두리 + 보증업체 배지 축소 */
.tanga-sponsor-card,
.tanga-sponsor-card-compact{
    border:3px solid #eeeeee !important;
}

.tanga-sponsor-card:hover,
.tanga-sponsor-card.is-selected{
    border-color:#e6333b !important;
}

.tanga-card-badge{
    min-width:78px !important;
    height:32px !important;
    padding:0 14px !important;
    font-size:13px !important;
    box-shadow:
        0 7px 12px rgba(217,37,37,.25),
        0 2px 0 rgba(130,0,0,.25),
        inset 0 2px 0 rgba(255,255,255,.38),
        inset 0 -2px 0 rgba(120,0,0,.20) !important;
}

.tanga-card-badge-wrap{
    left:16px !important;
    top:16px !important;
}

@media(max-width:768px){
    .tanga-card-badge{
        min-width:62px !important;
        height:25px !important;
        padding:0 9px !important;
        font-size:11px !important;
    }

    .tanga-card-badge-wrap{
        left:9px !important;
        top:9px !important;
    }
}

@media(max-width:420px){
    .tanga-card-badge{
        min-width:72px !important;
        height:30px !important;
        padding:0 12px !important;
        font-size:12px !important;
    }

    .tanga-card-badge-wrap{
        left:14px !important;
        top:14px !important;
    }
}


/* 보증업체 배지 문구 3억보증용 크기 보정 */
.tanga-card-badge{
    min-width:76px !important;
    height:32px !important;
    padding:0 13px !important;
    font-size:13px !important;
    letter-spacing:-0.04em !important;
}

@media(max-width:768px){
    .tanga-card-badge{
        min-width:60px !important;
        height:25px !important;
        padding:0 8px !important;
        font-size:11px !important;
    }
}


/* 사이트 이름 라벨 삐져나옴 수정 */
.tanga-info-label{
    font-size:13px !important;
    letter-spacing:-0.08em !important;
    white-space:nowrap !important;
    word-break:keep-all !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    padding:0 4px !important;
    box-sizing:border-box !important;
}

.tanga-info-value{
    font-size:15px !important;
}

.tanga-info-value.code{
    font-size:17px !important;
}

@media(max-width:768px){
    .tanga-info-label{
        font-size:11px !important;
        letter-spacing:-0.08em !important;
        padding:0 3px !important;
    }

    .tanga-info-value{
        font-size:12px !important;
    }

    .tanga-info-value.code{
        font-size:13px !important;
    }
}

@media(max-width:420px){
    .tanga-info-label{
        font-size:12px !important;
    }

    .tanga-info-value{
        font-size:14px !important;
    }

    .tanga-info-value.code{
        font-size:15px !important;
    }
}


/* 토토핫 3634 상세페이지형 레이아웃 */
.tt3634-view,
.tt3634-view *{
    box-sizing:border-box;
}

.tt3634-view{
    width:100% !important;
    max-width:1180px !important;
    margin:0 auto !important;
    padding:0 0 40px !important;
    background:#f5f6f8 !important;
    border:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    color:#111;
    overflow:hidden;
}

.tt3634-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:58px;
    padding:12px 24px 14px;
    border-top:1px solid #d9dde3;
}

.tt3634-writer{
    display:flex;
    align-items:center;
    gap:11px;
    font-size:18px;
}

.tt3634-writer strong{
    font-weight:500;
}

.tt3634-avatar{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:linear-gradient(180deg,#ff4747,#b30c0c);
    color:#fff;
    font-size:11px;
    font-weight:900;
    border:2px solid #7b0000;
}

.tt3634-date{
    font-size:17px;
    color:#647184;
}

.tt3634-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:70px;
    padding:14px 24px 26px;
}

.tt3634-stats{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:17px;
    color:#657587;
    font-size:18px;
}

.tt3634-stats i{
    color:#657587;
}

.tt3634-top-buttons{
    display:flex;
    align-items:center;
    gap:12px;
}

.tt3634-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:74px;
    height:44px;
    padding:0 16px;
    border-radius:8px;
    border:1px solid #bfc5cd;
    background:#fff;
    color:#111;
    text-decoration:none;
    font-size:17px;
    font-weight:700;
}

.tt3634-btn.report{
    color:#df2f35;
    border-color:#df2f35;
}

.tt3634-main{
    display:grid;
    grid-template-columns:470px minmax(0,1fr);
    gap:20px;
    align-items:stretch;
    padding:0 24px;
}

.tt3634-img{
    height:300px;
    border-radius:14px;
    overflow:hidden;
    background:#e8e8e8;
    box-shadow:0 8px 22px rgba(0,0,0,.10);
}

.tt3634-img img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.tt3634-info{
    height:300px;
    overflow:hidden;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 22px rgba(0,0,0,.10);
}

.tt3634-info table{
    width:100%;
    height:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

.tt3634-info th{
    width:190px;
    padding:0 24px;
    background:#303030;
    color:#fff;
    text-align:left;
    vertical-align:middle;
    border-bottom:1px solid #464646;
    font-size:20px;
    font-weight:400;
    white-space:nowrap;
}

.tt3634-info td{
    padding:0 24px;
    background:#fff;
    color:#111;
    vertical-align:middle;
    border-bottom:1px solid #e6e6e6;
    font-size:20px;
    font-weight:400;
    overflow:hidden;
    text-overflow:ellipsis;
}

.tt3634-info tr:last-child th,
.tt3634-info tr:last-child td{
    border-bottom:0;
}

.tt3634-info .red{
    color:#df2f35;
    font-weight:500;
}

.tt3634-url{
    color:#111;
    text-decoration:none;
    word-break:break-all;
}

.tt3634-url i{
    color:#df2f35;
    margin-left:6px;
}

.tt3634-help{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:20px;
    height:20px;
    margin-left:5px;
    border-radius:50%;
    background:#333;
    color:#fff;
    font-size:12px;
    font-weight:900;
}

.tt3634-tags{
    white-space:normal;
}

.tt3634-tags span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    margin:2px 4px 2px 0;
    padding:0 9px;
    border-radius:6px;
    background:#e9e9e9;
    color:#616b75;
    font-size:16px;
}

.tt3634-detail{
    margin:56px 24px 0;
    background:#f1f2f4;
    overflow:hidden;
}

.tt3634-detail-head{
    display:flex;
    align-items:flex-end;
    height:72px;
}

.tt3634-detail-tab{
    width:170px;
    height:68px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:5px solid #df2f35;
    border-bottom:0;
    border-radius:12px 12px 0 0;
    background:#f1f2f4;
    color:#df2f35;
    font-size:23px;
    font-weight:900;
    letter-spacing:-0.04em;
}

.tt3634-detail-line{
    flex:1;
    height:5px;
    background:#df2f35;
}

.tt3634-content{
    min-height:220px;
    padding:42px 34px 55px;
    border-top:5px solid #df2f35;
    color:#111;
    font-size:16px;
    line-height:1.85;
}

.tt3634-content img{
    max-width:100%;
    height:auto;
}

.tt3634-bottom-buttons{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin:22px 24px 0;
}

.tt3634-bottom-buttons a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:88px;
    height:42px;
    padding:0 18px;
    border-radius:8px;
    border:1px solid #cfd3d8;
    background:#fff;
    color:#222;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
}

.tt3634-bottom-buttons .delete{
    color:#df2f35;
    border-color:#df2f35;
}

.tt3634-nav{
    margin:22px 24px 0;
}

@media(max-width:1180px){
    .tt3634-main{
        grid-template-columns:40% minmax(0,60%);
        gap:18px;
    }

    .tt3634-img,
    .tt3634-info{
        height:285px;
    }

    .tt3634-info th{
        width:165px;
        padding:0 18px;
        font-size:18px;
    }

    .tt3634-info td{
        padding:0 18px;
        font-size:18px;
    }
}

@media(max-width:900px){
    .tt3634-main{
        grid-template-columns:1fr;
    }

    .tt3634-img{
        height:auto;
        aspect-ratio:1.55 / 1;
    }

    .tt3634-info{
        height:auto;
        min-height:300px;
    }
}

@media(max-width:640px){
    .tt3634-head,
    .tt3634-meta,
    .tt3634-main{
        padding-left:12px;
        padding-right:12px;
    }

    .tt3634-head,
    .tt3634-meta{
        display:block;
    }

    .tt3634-date,
    .tt3634-top-buttons{
        margin-top:10px;
    }

    .tt3634-stats{
        gap:10px;
        font-size:14px;
    }

    .tt3634-btn{
        min-width:62px;
        height:38px;
        font-size:14px;
    }

    .tt3634-info th{
        width:108px;
        padding:0 10px;
        font-size:15px;
    }

    .tt3634-info td{
        padding:0 10px;
        font-size:15px;
    }

    .tt3634-tags span{
        min-height:24px;
        font-size:13px;
        padding:0 7px;
    }

    .tt3634-detail{
        margin:38px 12px 0;
    }

    .tt3634-detail-head{
        height:56px;
    }

    .tt3634-detail-tab{
        width:130px;
        height:52px;
        border-width:4px;
        font-size:18px;
    }

    .tt3634-detail-line{
        height:4px;
    }

    .tt3634-content{
        padding:28px 16px 42px;
        border-top-width:4px;
        font-size:15px;
    }

    .tt3634-bottom-buttons{
        margin:18px 12px 0;
        justify-content:center;
        flex-wrap:wrap;
    }
}


/* 상세보기 최종 수정: 관리자 아이콘 / 이미지 / 우측박스 / 상세줄 제거 */
.tt3634-fixed-final,
.tt3634-fixed-final *{
    box-sizing:border-box;
}

.tt3634-fixed-final{
    width:100% !important;
    max-width:1180px !important;
    margin:0 auto !important;
    padding:0 0 36px !important;
    background:#f5f6f8 !important;
    border:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    overflow:hidden !important;
}

.tt3634-fixed-final .tt3634-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:58px;
    padding:12px 24px 14px !important;
    border-top:1px solid #d9dde3;
}

.tt3634-fixed-final .tt3634-writer{
    display:flex;
    align-items:center;
    gap:11px;
    font-size:18px;
}

.tt3634-admin-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    overflow:hidden;
    flex:0 0 42px;
}

.tt3634-admin-icon img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}

.tt3634-fixed-final .tt3634-date{
    font-size:17px;
    color:#647184;
}

.tt3634-fixed-final .tt3634-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:70px;
    padding:14px 24px 26px !important;
}

.tt3634-fixed-final .tt3634-stats{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:17px;
    color:#657587;
    font-size:18px;
}

.tt3634-fixed-final .tt3634-top-buttons{
    display:flex;
    align-items:center;
    gap:12px;
}

.tt3634-fixed-final .tt3634-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:74px;
    height:44px;
    padding:0 16px;
    border-radius:8px;
    border:1px solid #bfc5cd;
    background:#fff;
    color:#111;
    text-decoration:none;
    font-size:17px;
    font-weight:700;
}

.tt3634-fixed-final .tt3634-btn.report{
    color:#df2f35;
    border-color:#df2f35;
}

/* 좌측 이미지 + 우측 박스 정렬 */
.tt3634-fixed-final .tt3634-main{
    display:grid !important;
    grid-template-columns:minmax(0, 58%) minmax(360px, 42%) !important;
    gap:28px !important;
    align-items:stretch !important;
    padding:0 24px !important;
    width:100% !important;
}

.tt3634-fixed-final .tt3634-img{
    width:100% !important;
    height:330px !important;
    padding:0 !important;
    border-radius:14px !important;
    overflow:hidden !important;
    background:transparent !important;
    box-shadow:0 8px 22px rgba(0,0,0,.10);
}

.tt3634-fixed-final .tt3634-img img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:transparent !important;
}

.tt3634-fixed-final .tt3634-info{
    width:100% !important;
    height:330px !important;
    overflow:hidden !important;
    border-radius:14px !important;
    background:#fff !important;
    box-shadow:0 8px 22px rgba(0,0,0,.10);
}

.tt3634-fixed-final .tt3634-info table{
    width:100% !important;
    height:100% !important;
    border-collapse:collapse !important;
    table-layout:fixed !important;
}

.tt3634-fixed-final .tt3634-info th{
    width:150px !important;
    padding:0 18px !important;
    background:#303030 !important;
    color:#fff !important;
    text-align:left !important;
    vertical-align:middle !important;
    border-bottom:1px solid #464646 !important;
    font-size:17px !important;
    font-weight:500 !important;
    white-space:nowrap !important;
    line-height:1.2 !important;
}

.tt3634-fixed-final .tt3634-info td{
    padding:0 18px !important;
    background:#fff !important;
    color:#111 !important;
    vertical-align:middle !important;
    border-bottom:1px solid #e6e6e6 !important;
    font-size:17px !important;
    font-weight:400 !important;
    line-height:1.25 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.tt3634-fixed-final .tt3634-info tr:last-child th,
.tt3634-fixed-final .tt3634-info tr:last-child td{
    border-bottom:0 !important;
}

.tt3634-fixed-final .tt3634-info .red{
    color:#df2f35 !important;
    font-weight:500;
}

.tt3634-fixed-final .tt3634-url{
    color:#111;
    text-decoration:none;
    word-break:break-all;
}

.tt3634-fixed-final .tt3634-url i{
    color:#df2f35;
    margin-left:6px;
}

.tt3634-fixed-final .tt3634-help{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:19px;
    height:19px;
    margin-left:5px;
    border-radius:50%;
    background:#333;
    color:#fff;
    font-size:12px;
    font-weight:900;
}

.tt3634-fixed-final .tt3634-tags{
    white-space:normal;
    overflow:visible !important;
}

.tt3634-fixed-final .tt3634-tags span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:25px;
    margin:2px 4px 2px 0;
    padding:0 8px;
    border-radius:6px;
    background:#e9e9e9;
    color:#616b75;
    font-size:14px;
    vertical-align:middle;
}

/* 상세내용 빨간 줄/탭 제거 */
.tt3634-fixed-final .tt3634-detail.no-line{
    margin:34px 24px 0 !important;
    background:transparent !important;
    overflow:hidden !important;
}

.tt3634-fixed-final .tt3634-detail.no-line .tt3634-content{
    min-height:120px;
    padding:0 0 34px !important;
    border-top:0 !important;
    background:transparent !important;
    color:#111;
    font-size:16px;
    line-height:1.85;
}

.tt3634-fixed-final .tt3634-detail-head,
.tt3634-fixed-final .tt3634-detail-tab,
.tt3634-fixed-final .tt3634-detail-line{
    display:none !important;
}

.tt3634-fixed-final .tt3634-bottom-buttons{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin:18px 24px 0;
}

.tt3634-fixed-final .tt3634-bottom-buttons a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:88px;
    height:42px;
    padding:0 18px;
    border-radius:8px;
    border:1px solid #cfd3d8;
    background:#fff;
    color:#222;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
}

.tt3634-fixed-final .tt3634-bottom-buttons .delete{
    color:#df2f35;
    border-color:#df2f35;
}

@media(max-width:1050px){
    .tt3634-fixed-final .tt3634-main{
        grid-template-columns:minmax(0, 55%) minmax(320px, 45%) !important;
        gap:20px !important;
    }

    .tt3634-fixed-final .tt3634-info th{
        width:130px !important;
        font-size:15px !important;
        padding:0 14px !important;
    }

    .tt3634-fixed-final .tt3634-info td{
        font-size:15px !important;
        padding:0 14px !important;
    }
}

@media(max-width:900px){
    .tt3634-fixed-final .tt3634-main{
        grid-template-columns:1fr !important;
    }

    .tt3634-fixed-final .tt3634-img{
        height:auto !important;
        aspect-ratio:1.55 / 1;
    }

    .tt3634-fixed-final .tt3634-info{
        height:300px !important;
    }
}

@media(max-width:640px){
    .tt3634-fixed-final .tt3634-head,
    .tt3634-fixed-final .tt3634-meta,
    .tt3634-fixed-final .tt3634-main{
        padding-left:12px !important;
        padding-right:12px !important;
    }

    .tt3634-fixed-final .tt3634-head,
    .tt3634-fixed-final .tt3634-meta{
        display:block;
    }

    .tt3634-fixed-final .tt3634-date,
    .tt3634-fixed-final .tt3634-top-buttons{
        margin-top:10px;
    }

    .tt3634-admin-icon{
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    .tt3634-fixed-final .tt3634-stats{
        gap:10px;
        font-size:14px;
    }

    .tt3634-fixed-final .tt3634-info th{
        width:108px !important;
        padding:0 10px !important;
        font-size:14px !important;
    }

    .tt3634-fixed-final .tt3634-info td{
        padding:0 10px !important;
        font-size:14px !important;
    }

    .tt3634-fixed-final .tt3634-detail.no-line{
        margin:24px 12px 0 !important;
    }

    .tt3634-fixed-final .tt3634-bottom-buttons{
        margin:16px 12px 0;
        justify-content:center;
        flex-wrap:wrap;
    }
}


/* 게임종류 줄높이 / 태그 폰트 최종 보정 */
.tt3634-fixed-final .tt3634-info tr {
    height: 55px !important;
}

.tt3634-fixed-final .tt3634-info th,
.tt3634-fixed-final .tt3634-info td {
    height: 55px !important;
    vertical-align: middle !important;
}

/* 게임종류 칸만 너무 길어지는 문제 수정 */
.tt3634-fixed-final .tt3634-info tr:nth-child(5) {
    height: 55px !important;
}

.tt3634-fixed-final .tt3634-info tr:nth-child(5) th,
.tt3634-fixed-final .tt3634-info tr:nth-child(5) td {
    height: 55px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.tt3634-fixed-final .tt3634-tags {
    white-space: nowrap !important;
    overflow: hidden !important;
}

.tt3634-fixed-final .tt3634-tags span {
    min-height: 22px !important;
    height: 22px !important;
    line-height: 22px !important;
    padding: 0 7px !important;
    margin: 0 3px 0 0 !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    vertical-align: middle !important;
}

/* 테이블 전체 높이도 줄 높이에 맞게 재정렬 */
.tt3634-fixed-final .tt3634-info {
    height: 330px !important;
}

.tt3634-fixed-final .tt3634-info table {
    height: 330px !important;
}

@media(max-width:1050px){
    .tt3634-fixed-final .tt3634-info tr,
    .tt3634-fixed-final .tt3634-info th,
    .tt3634-fixed-final .tt3634-info td,
    .tt3634-fixed-final .tt3634-info tr:nth-child(5),
    .tt3634-fixed-final .tt3634-info tr:nth-child(5) th,
    .tt3634-fixed-final .tt3634-info tr:nth-child(5) td {
        height: 50px !important;
    }

    .tt3634-fixed-final .tt3634-tags span {
        height: 20px !important;
        line-height: 20px !important;
        font-size: 11px !important;
        padding: 0 6px !important;
    }
}

@media(max-width:640px){
    .tt3634-fixed-final .tt3634-info tr,
    .tt3634-fixed-final .tt3634-info th,
    .tt3634-fixed-final .tt3634-info td,
    .tt3634-fixed-final .tt3634-info tr:nth-child(5),
    .tt3634-fixed-final .tt3634-info tr:nth-child(5) th,
    .tt3634-fixed-final .tt3634-info tr:nth-child(5) td {
        height: 46px !important;
    }

    .tt3634-fixed-final .tt3634-tags {
        white-space: normal !important;
    }

    .tt3634-fixed-final .tt3634-tags span {
        height: 19px !important;
        line-height: 19px !important;
        font-size: 10px !important;
        padding: 0 5px !important;
        margin: 1px 2px 1px 0 !important;
    }
}


/* 글쓰기 취소 / 작성완료 버튼 입체 정렬만 적용 - PHP 수정 없음 */
.tanga-write-btns,
.btn_confirm,
.write_div + .btn_confirm{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:18px !important;
    margin-top:28px !important;
    padding-top:22px !important;
    border-top:1px solid #ececec !important;
}

.tanga-write-btns a,
.tanga-write-btns button,
.btn_confirm .btn_cancel,
.btn_confirm .btn_submit,
.btn_confirm a,
.btn_confirm button{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:140px !important;
    height:58px !important;
    padding:0 30px !important;
    border-radius:14px !important;
    font-size:18px !important;
    font-weight:900 !important;
    letter-spacing:-0.03em !important;
    text-decoration:none !important;
    border:0 !important;
    cursor:pointer !important;
    box-sizing:border-box !important;
}

.tanga-write-btns .btn_cancel,
.btn_confirm .btn_cancel,
.btn_confirm a.btn_cancel{
    background:linear-gradient(180deg,#d3d3d3 0%,#adadad 100%) !important;
    color:#222 !important;
    box-shadow:0 8px 0 #8e8e8e, 0 12px 18px rgba(0,0,0,.18) !important;
}

.tanga-write-btns .btn_submit,
.btn_confirm .btn_submit,
.btn_confirm button.btn_submit{
    background:linear-gradient(180deg,#ff4b55 0%,#df2f35 100%) !important;
    color:#fff !important;
    box-shadow:0 8px 0 #b91d25, 0 12px 18px rgba(223,47,53,.24) !important;
}

.tanga-write-btns a:active,
.tanga-write-btns button:active,
.btn_confirm a:active,
.btn_confirm button:active{
    transform:translateY(4px) !important;
    box-shadow:0 4px 0 rgba(0,0,0,.25), 0 7px 12px rgba(0,0,0,.14) !important;
}

@media(max-width:640px){
    .tanga-write-btns,
    .btn_confirm,
    .write_div + .btn_confirm{
        justify-content:center !important;
        gap:10px !important;
    }

    .tanga-write-btns a,
    .tanga-write-btns button,
    .btn_confirm .btn_cancel,
    .btn_confirm .btn_submit,
    .btn_confirm a,
    .btn_confirm button{
        min-width:110px !important;
        height:48px !important;
        font-size:15px !important;
        padding:0 18px !important;
    }
}


/* 본문 HTML/이미지 정상 표시 + 새글쓰기 버튼 */
.tt3634-content img,
.tanga-sponsor-content img,
.bo_v_con img{
    max-width:100% !important;
    height:auto !important;
    display:block !important;
    margin:0 auto 18px !important;
}

.tt3634-content{
    word-break:keep-all !important;
    overflow-wrap:break-word !important;
}

.tanga-list-write-wrap{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    margin:22px 0 10px !important;
}

.tanga-list-write-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:120px !important;
    height:46px !important;
    padding:0 22px !important;
    border-radius:12px !important;
    background:linear-gradient(180deg,#ff4b55 0%,#df2f35 100%) !important;
    color:#fff !important;
    font-size:16px !important;
    font-weight:900 !important;
    text-decoration:none !important;
    box-shadow:0 6px 0 #b91d25, 0 10px 16px rgba(223,47,53,.22) !important;
}

.tanga-list-write-btn:active{
    transform:translateY(3px) !important;
    box-shadow:0 3px 0 #b91d25, 0 6px 10px rgba(223,47,53,.18) !important;
}

/* 글쓰기 취소/작성완료 버튼 정렬 */
.tanga-write-btns,
.btn_confirm,
.write_div + .btn_confirm{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:18px !important;
    margin-top:28px !important;
    padding-top:22px !important;
    border-top:1px solid #ececec !important;
}

.tanga-write-btns a,
.tanga-write-btns button,
.btn_confirm .btn_cancel,
.btn_confirm .btn_submit,
.btn_confirm a,
.btn_confirm button{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:140px !important;
    height:58px !important;
    padding:0 30px !important;
    border-radius:14px !important;
    font-size:18px !important;
    font-weight:900 !important;
    text-decoration:none !important;
    border:0 !important;
    cursor:pointer !important;
    box-sizing:border-box !important;
}

.tanga-write-btns .btn_cancel,
.btn_confirm .btn_cancel,
.btn_confirm a.btn_cancel{
    background:linear-gradient(180deg,#d3d3d3 0%,#adadad 100%) !important;
    color:#222 !important;
    box-shadow:0 8px 0 #8e8e8e, 0 12px 18px rgba(0,0,0,.18) !important;
}

.tanga-write-btns .btn_submit,
.btn_confirm .btn_submit,
.btn_confirm button.btn_submit{
    background:linear-gradient(180deg,#ff4b55 0%,#df2f35 100%) !important;
    color:#fff !important;
    box-shadow:0 8px 0 #b91d25, 0 12px 18px rgba(223,47,53,.24) !important;
}


/* 게시글 본문 이미지 URL 실제 이미지 표시 */
.tt3634-content .tanga-view-img-fixed{
    margin:0 0 24px !important;
    padding:0 !important;
    text-align:center !important;
}

.tt3634-content .tanga-view-img-fixed img,
.tt3634-content img{
    display:block !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 auto 20px !important;
    border:0 !important;
}


/* 카드 이미지 1개 / 게시글 이미지 여러개 첨부 */
.tanga-file-guide{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:14px 16px;
    margin-bottom:14px;
    border-radius:12px;
    background:#fff5f5;
    border:1px solid #ffd0d0;
    color:#333;
}

.tanga-file-guide strong{
    color:#df2f35;
    font-size:15px;
    font-weight:900;
}

.tanga-file-guide span{
    color:#666;
    font-size:13px;
}

.tanga-file-item{
    display:grid;
    grid-template-columns:140px minmax(0,1fr);
    gap:12px;
    align-items:start;
    padding:14px 0;
    border-bottom:1px dashed #ddd;
}

.tanga-file-item:last-child{
    border-bottom:0;
}

.tanga-file-label{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    border-radius:10px;
    background:#f1f1f1;
    color:#333;
    font-weight:800;
}

.tanga-file-item.is-card-file .tanga-file-label{
    background:#df2f35;
    color:#fff;
}

.tanga-file-input .frm_file{
    width:100%;
    padding:12px;
    border:1px dashed #bbb;
    border-radius:10px;
    background:#fafafa;
    box-sizing:border-box;
}

.tanga-file-input .file-desc{
    margin-top:8px;
}

.tanga-file-input .file-del{
    display:block;
    margin-top:8px;
    color:#666;
    font-size:13px;
}

.tanga-view-attach-img{
    margin:0 auto 26px;
    text-align:center;
}

.tanga-view-attach-img img{
    display:block;
    max-width:100%;
    height:auto;
    margin:0 auto;
    border-radius:10px;
}

@media(max-width:640px){
    .tanga-file-item{
        grid-template-columns:1fr;
        gap:8px;
    }

    .tanga-file-label{
        justify-content:flex-start;
        padding:0 12px;
    }
}


/* 상세페이지 상단 게시글 제목 */
.tt3634-post-title{
    margin:0 0 0 !important;
    padding:0 0 18px !important;
    border-bottom:1px solid #d9dde3 !important;
    color:#000 !important;
    font-size:32px !important;
    line-height:1.25 !important;
    font-weight:900 !important;
    letter-spacing:-0.04em !important;
    word-break:keep-all !important;
}

.tt3634-fixed-final .tt3634-head,
.tt3634-view .tt3634-head{
    border-top:0 !important;
    border-bottom:0 !important;
}

@media(max-width:640px){
    .tt3634-post-title{
        font-size:24px !important;
        padding-bottom:14px !important;
    }
}


/* 상단 본문 바로가기 / 팝업레이어 알림 숨김 */
#skip_to_container,
#hd_pop,
#hd_pop h2,
#hd_pop .hd_pops,
#hd_pop_btn,
.sound_only.skip,
a[href="#container"].skip,
a[href="#container_wr"],
a[href="#container"]{
    position:absolute !important;
    left:-99999px !important;
    top:-99999px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    visibility:hidden !important;
    opacity:0 !important;
    z-index:-1 !important;
}

/* 팝업레이어가 내용 없을 때 생기는 상단 빈 공간 제거 */
body > #hd_pop,
body > #skip_to_container{
    display:none !important;
    margin:0 !important;
    padding:0 !important;
    height:0 !important;
}
