@charset "utf-8";
/* TRPG 스킨 전용 색상 변수 */
:root {
    --trpg-pink: rgb(255, 182, 193);
    --trpg-blue: rgb(173, 216, 230);
    --trpg-hologram-gradient: linear-gradient(135deg,
        rgb(from var(--trpg-pink) r g b / 70%) 0%,
        rgb(from var(--trpg-blue) r g b / 70%) 50%,
        rgb(from var(--trpg-pink) r g b / 70%) 100%);
}

@font-face {
    font-family: 'InkLipquid';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/InkLipquid.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* =============================== */
/*	카테고리	*/
/* =============================== */

ul.upcategories {
    display: flex;
    gap: 3px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

a.upcate {
    background: var(--card-bg-color);
    padding: 2px 15px;
    border-radius: 20px;
    border: 1px solid var(--content-font-color);
    font-size: 12px;
    font-family: var(--f-pre);
    color: var(--content-font-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

a.upcate.point {
    overflow: hidden;
    background: var(--trpg-hologram-gradient);
    background-size: 200% 200%;
    animation: hologram-bg-shift 8s ease infinite;
    border: 1px dashed var(--card-border-color);
}

a.upcate:hover {
    background: rgb(from var(--black) r g b / 20%);
}

/* =============================== */
/*	상단 검색창 & 글쓰기 영역	*/
/* =============================== */

.trpg-board-container .trpg-guide {
    display: flex;
    justify-content: space-between;
    margin: 0px 0px 25px;
}

.trpg-board-container .trpg-guide .trpg-sch-input {
    width: 200px;
}

.trpg-board-container .trpg-guide .trpg-ui-btn {
    display: flex;
    gap: 2px;
}

.trpg-board-container .trpg-guide .trpg-btn {
    text-align: center;
    color: var(--content-font-color);
    border-radius: 8px;
    width: 30px;
    height: 25px;
    line-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
}

.trpg-board-container .trpg-guide .trpg-btn a {
    color: var(--content-font-color);
}

.trpg-board-container .trpg-guide .trpg-sch-input,
.trpg-board-container .trpg-guide .trpg-sch-select {
    border-radius: 10px;
    height: 27px;
}

/* =============================== */
/*	하단 체크박스 & 선택 삭제	*/
/* =============================== */

.trpg-board-container .trpg-chk-option {
    display: flex;
    gap: 2px;
}

.trpg-board-container .chk_all,
.trpg-board-container .select-trash-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    box-sizing: border-box;
    background: none;
    border: none;
    font: inherit;
    width: 30px;
    height: 25px;
    line-height: 25px;
    background: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.trpg-board-container .select-trash-btn:hover {
    background: rgb(from var(--content-font-color) r g b / 20%);
}

.trpg-board-container .pg {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.trpg-board-container .pg_wrap .pg_page {
    width: 30px;
    height: 25px;
    line-height: 25px;
    background: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    color: rgb(from var(--content-font-color) r g b / 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-pre);
    padding: 0 5px;
    font-size: 11px;
    border-radius: 8px;
}

.trpg-board-container strong.pg_current.pg_page {
    background: rgb(from var(--content-font-color) r g b / 20%);
    color: rgb(from var(--content-font-color) r g b / 80%);
}

/* =============================== */
/*	리스트	*/
/* =============================== */
.trpg-board-container {
    width: 800px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 40px;
}

.trpg-ticket-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.trpg-ticket-item {
    position: relative;
    width: 100%;
    transition: 0.3s all;
    filter: blur(0.2px);
}

.trpg-ticket-item:hover {
    filter: blur(0px);
    transform: translateY(-2px);
}

.trpg-ticket-chk {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    opacity: 0.3;
}

.trpg-ticket-container {
    display: flex;
    height: 230px;
    max-width: 800px;
}

/* A 영역: 바코드 부분 */
/* 바코드 컨테이너 */
.barcode-img {
    width: 100%;
    height: 20px;
    position: relative;
    overflow: hidden;
    padding: 2px 0;
}

/* 바코드 라인 컨테이너 */
.barcode-lines {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 개별 바코드 라인 */
.barcode-line {
    display: inline-block;
    height: 100%;
    background: var(--trpg-hologram-gradient);
    background-size: 200% 200%;
    animation: hologram-bg-shift 8s ease infinite;
}

/* 바코드 번호에 홀로그램 효과 적용 - 수정된 버전 */
.hologram-text {
    background: var(--trpg-hologram-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hologram-bg-shift 5s ease infinite;
    display: inline-block;
    position: relative;
    font-family: monospace;
    letter-spacing: 1px;
    font-size: 11px;
}

/* B 영역: 세션 카드 이미지 */
.trpg-ticket-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    overflow: hidden;
    border-radius: 8px 0px 0px 8px;
    box-shadow: 0px 5px 2px rgb(from var(--black) r g b / 20%);
    background: var(--card-bg-color);
}

/* C 영역: 정보 영역 */
.trpg-ticket-info {
    width: 300px;
    padding: 15px 15px 5px;
    border-radius: 0px 8px 8px 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--card-bg-color);
    border-left: 1px dashed var(--card-border-color);
    font-family: var(--f-pre);
    align-items: center;
    box-shadow: 0px 5px 2px rgb(from var(--black) r g b / 20%);
    transition: 0.3s all;
    overflow: hidden;
}

.trpg-ticket-info:hover {
    transform: rotate(3deg);
    box-shadow: 2px 5px 1px rgb(from var(--black) r g b / 30%);
}

.trpg-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.trpg-ticket-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    font-family: 'InkLipquid';
}

.trpg-ticket-subtitle::before {
    content: '“';
    font-size: 40px;
    font-family: 'ChosunSm';
    position: absolute;
    left: 44%;
    opacity: 0.4;
    transform: translateY(-25%);    
}

.trpg-ticket-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
    /* 기본 폰트는 인라인 스타일로 적용됨 (wr_8 필드) */
}

.trpg-ticket-title a {
    color: var(--content-font-color);
    text-decoration: none;
}

.trpg-ticket-title a:hover {
    text-decoration: underline;
}

.trpg-ticket-date {
    font-size: 11px;
    color: var(--border-light);
}

.trpg-ticket-members {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    word-break: auto-phrase;
}

/* 완료 스탬프 스타일 */
.trpg-ticket-completed {
    position: absolute;
    width: 120px;
    height: 120px;
    transform-origin: center;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(-0px -1px 0px rgb(from var(--black) r g b / 30%));
    opacity: 0.7;
}

.stamp-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: hue-rotate(0deg);
    animation: hologram-hue-rotate 5s linear infinite;
}

@keyframes hologram-hue-rotate {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }

    25% {
        filter: hue-rotate(20deg) brightness(1.1);
    }

    50% {
        filter: hue-rotate(40deg) brightness(1);
    }

    75% {
        filter: hue-rotate(20deg) brightness(1.1);
    }

    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

@keyframes hologram-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 스탬프 홀로그램 텍스트 효과 */
.stamp-hologram-text {
    background: var(--trpg-hologram-gradient);
    background-size: 50% 50%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: hologram-bg-shift 5s ease infinite;
    /* -webkit-text-stroke: 1px #33333350; */
}

/* 빈 리스트 스타일 */
.empty-list {
    padding: 50px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
}

.trpg-ticket-cate {
    font-family: var(--f-pre);
    margin: 0 auto;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 10px;
    padding: 0px 10px;
    text-align: center;
    width: fit-content;
    position: relative;
    overflow: hidden;
    background: var(--trpg-hologram-gradient);
    background-size: 200% 200%;
    animation: hologram-bg-shift 8s ease infinite;
    color: var(--container-bg-color);
    border: 1px dashed var(--card-border-color);
}

/* 홀로그램 배경 색상 변화 애니메이션 */
@keyframes hologram-bg-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .trpg-board-container {
        width: 100%;
    }
    
    .trpg-ticket-barcode {
        width: 100%;
        height: 40px;
        border-right: none;
        border-bottom: 1px dashed var(--card-border-color);
    }

    .barcode-rotate {
        transform: none;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 15px;
    }

    .trpg-ticket-image {
        max-width: 100%;
    }

    .trpg-board-container .trpg-guide .trpg-sch .trpg-sch-input {
        max-width: 130px;
    }

    .trpg-board-container .trpg-guide .trpg-sch .trpg-sch-select {
        max-width: 100px;
    }
}

/* ===== 유리 패널 배경 (별하늘 위 가독성 · 다른 게시판과 통일) ===== */
.trpg-board-container {
    background: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: 0 10px 34px rgba(30, 50, 90, 0.28);
    box-sizing: border-box;
    padding: 28px 28px 36px;
    margin: 24px auto;
}
@media (max-width: 860px) {
    .trpg-board-container { width: auto; max-width: 94%; padding: 18px 16px 28px; border-radius: 12px; }
}

/* ============================================================
   크롬 브라우저 창 (TRPG)
   ============================================================ */
.trpg-board-container{padding:0 !important;overflow:hidden;}
.trpg-board-container > *:not(.trc){padding-left:26px;padding-right:26px;}
.trpg-board-container .trpg-ticket-list{padding-bottom:34px;}

.trc{background:rgba(185,214,242,.95);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.7);font-family:'omyu_pretty','Pretendard',sans-serif;margin:0 0 18px;}
/* 탭 */
.trc-tabs{display:flex;align-items:flex-end;gap:3px;padding:7px 10px 0;}
.trc-tab{display:flex;align-items:center;gap:7px;max-width:210px;padding:8px 14px;border-radius:10px 10px 0 0;background:rgba(255,255,255,.45);color:#4a6392;font-size:13px;text-decoration:none;white-space:nowrap;transition:.18s;}
.trc-tab:hover{background:rgba(255,255,255,.75);color:#1F5896;}
.trc-tab.on{background:#F2F8FF;color:#1F5896;box-shadow:0 -2px 8px rgba(31,88,150,.14);}
.trc-tab .ti{font-size:7px;color:#6FA8DC;}
.trc-tab .tx{margin-left:3px;opacity:.4;font-size:12px;}
.trc-tab:hover .tx{opacity:.75;}
.trc-new{display:grid;place-items:center;width:26px;height:26px;margin-bottom:3px;border-radius:50%;color:#4a6392;text-decoration:none;font-size:16px;transition:.18s;}
.trc-new:hover{background:rgba(255,255,255,.7);color:#1F5896;}
/* 주소창 */
.trc-addr{display:flex;align-items:center;gap:7px;padding:7px 12px;background:#F2F8FF;}
.trc-b{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:50%;color:#5b7aa8;font-size:13px;cursor:pointer;text-decoration:none;transition:.15s;}
.trc-b:hover{background:#DCEFFF;color:#1F5896;}
.trc-url{flex:1;min-width:0;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dbe6f8;border-radius:999px;padding:6px 16px;font-size:12.5px;color:#3b5480;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:inset 0 1px 3px rgba(31,88,150,.06);}
.trc-url .lk{font-size:9px;opacity:.6;}
/* 북마크바 */
.trc-bm{display:flex;align-items:center;gap:3px;padding:5px 12px 7px;background:#F2F8FF;border-top:1px solid #e3edfb;overflow-x:auto;}
.trc-bm::-webkit-scrollbar{height:0;}
.trc-bmt{flex:none;font-size:10px;letter-spacing:1px;color:#8aa0c8;margin-right:7px;}
.trc-bmi{flex:none;padding:5px 10px;border-radius:8px;color:#3b5480;font-size:12.5px;text-decoration:none;white-space:nowrap;transition:.15s;}
.trc-bmi:hover{background:#DCEFFF;color:#1F5896;}
.trc-bmi.on{background:#6FA8DC;color:#fff;}

@media (max-width:860px){
  .trpg-board-container > *:not(.trc){padding-left:14px;padding-right:14px;}
  .trc-tabs{padding:6px 8px 0;}
  .trc-tab{font-size:12px;padding:7px 11px;}
  .trc-addr,.trc-bm{padding-left:8px;padding-right:8px;}
  .trc-url{font-size:11px;padding:5px 12px;}
}
