/**
 * Hashcod Codespace — Polyglot Grid API Launcher & Code Studio CSS
 * Authentic Tkinter / Win98 Classic Retro Desktop System
 * Version: 2026.3
 */

:root {
    --tk-bg-gray: #D4D0C8;
    --tk-bg-light: #ECE9D8;
    --tk-bg-white: #FFFFFF;
    --tk-border-light: #FFFFFF;
    --tk-border-dark: #808080;
    --tk-border-shadow: #404040;
    --tk-border-black: #000000;
    
    --tk-title-gradient: linear-gradient(90deg, #000000 0%, #9ca3af 100%);
    --tk-title-text: #FFFFFF;
    --tk-text-main: #000000;
    --tk-text-blue: #000080;
    --tk-text-teal: #008080;
    --tk-text-gray: #555555;
    
    --tk-font-sans: 'Geist', 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
    --tk-font-mono: 'IBM Plex Mono', 'Geist Mono', monospace;
}

/* ===== DOCK & TOOLBOX BUTTONS ===== */
#hashcodDockGridBtn {
    border: 2px solid #808080 !important;
    background: #D4D0C8 !important;
    color: #000000 !important;
    box-shadow: inset 1.5px 1.5px #FFFFFF, inset -1.5px -1.5px #404040 !important;
    transition: transform 0.1s ease;
}
#hashcodDockGridBtn:active {
    box-shadow: inset -1.5px -1.5px #FFFFFF, inset 1.5px 1.5px #404040 !important;
}

.tb-slot.is-tool-grid-studio {
    border: 2px solid #808080 !important;
    background: #D4D0C8 !important;
    color: #000000 !important;
    box-shadow: inset 1.5px 1.5px #FFFFFF, inset -1.5px -1.5px #404040 !important;
}

/* ===== MODAL OVERLAY & TKINTER CONTAINER ===== */
.polyglot-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    box-sizing: border-box;
    font-family: var(--tk-font-sans);
}

.polyglot-grid-overlay.open,
.polyglot-grid-overlay.is-open {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.polyglot-studio-modal {
    width: 98vw;
    max-width: 1400px;
    height: 94vh;
    max-height: 920px;
    background: var(--tk-bg-gray);
    border: 2px solid #FFFFFF;
    border-right-color: #404040;
    border-bottom-color: #404040;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px #808080;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--tk-text-main);
    box-sizing: border-box;
    position: relative;
    padding: 3px;
}

/* ===== TKINTER TITLE BAR ===== */
.tk-title-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 6px;
    height: 24px;
    background: var(--tk-title-gradient);
    flex-shrink: 0;
    user-select: none;
}

.tk-title-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

/* Tk 3-Bar Logo */
.tk-logo-icon {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 1px;
    width: 9px;
    height: 14px;
}

.tk-logo-bar-yellow {
    width: 2px;
    height: 12px;
    background: #FFD700;
}
.tk-logo-bar-blue {
    width: 3px;
    height: 14px;
    background: #1E90FF;
}
.tk-logo-bar-red {
    width: 2px;
    height: 8px;
    background: #FF4500;
}

.tk-title-text {
    font-family: var(--tk-font-sans);
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.tk-title-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

/* Tkinter Window Control Button */
.tk-btn-window {
    width: 16px;
    height: 14px;
    background: var(--tk-bg-gray);
    border: 1px solid #FFFFFF;
    border-right-color: #404040;
    border-bottom-color: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--tk-font-sans);
    font-weight: 900;
    font-size: 11px;
    line-height: 14px;
    color: #000000;
    padding: 0;
    box-sizing: border-box;
}

.tk-btn-window:active {
    border-color: #404040;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
}

/* ===== TKINTER MENU BAR ===== */
.tk-menu-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4px 10px;
    gap: 16px;
    height: 24px;
    background: var(--tk-bg-gray);
    flex-shrink: 0;
    border-bottom: 1px solid #808080;
    user-select: none;
}

.tk-menu-item {
    font-family: var(--tk-font-sans);
    font-size: 12px;
    line-height: 16px;
    color: #000000;
    cursor: pointer;
    text-decoration: underline;
    background: transparent;
    border: none;
    padding: 0 4px;
}
.tk-menu-item:hover {
    background: #000080;
    color: #FFFFFF;
    text-decoration: none;
}

/* ===== TKINTER TABS BAR ===== */
.pg-tabs-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    background: var(--tk-bg-gray);
    border-bottom: 1px solid #808080;
    flex-shrink: 0;
}

.pg-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--tk-bg-gray);
    border: 1.5px solid #FFFFFF;
    border-right-color: #404040;
    border-bottom-color: #404040;
    color: #000000;
    font-family: var(--tk-font-sans);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.pg-tab-btn.active {
    background: #FFFFFF;
    border-color: #404040;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    box-shadow: inset 1px 1px #808080;
}

/* ===== WORKSPACE BODY ===== */
.pg-workspace {
    flex: 1;
    display: flex;
    overflow: hidden;
    background: var(--tk-bg-gray);
    border: 1.5px solid #808080;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    margin: 3px;
}

.pg-pane {
    flex: 1;
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--tk-bg-gray);
}

.pg-pane.active-tab-pane {
    display: flex !important;
}

.pg-pane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #ECE9D8;
    border-bottom: 1px solid #808080;
    font-weight: 700;
    font-size: 12px;
    color: #000080;
    flex-shrink: 0;
}

.pg-pane-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #FFFFFF;
    box-sizing: border-box;
}

/* ===== 8x7 MATRIX VIEWPORT ===== */
.pg-matrix-container {
    display: flex;
    gap: 16px;
    background: var(--tk-bg-gray);
    height: 100%;
}

.pg-matrix-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #FFFFFF;
    border: 2px solid #808080;
    padding: 12px;
    overflow: auto;
    flex: 1;
}

.pg-matrix-grid-table {
    display: grid;
    grid-template-columns: repeat(8, 72px);
    grid-template-rows: repeat(7, 72px);
    border: 2px solid #4D4D4D;
    background: #FFFFFF;
    gap: 0px;
}

.pg-table-cell {
    width: 72px;
    height: 72px;
    background: #FFFFFF;
    border: 1px solid #BFBFBF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', var(--tk-font-sans);
    font-weight: 800;
    font-size: 26px;
    color: #262626;
    position: relative;
    user-select: none;
    box-sizing: border-box;
}

.pg-table-cell.header-cell {
    background: #FFFFFF;
    font-size: 24px;
    font-weight: 800;
}

.pg-table-cell.header-lateral {
    font-size: 20px;
    font-weight: 800;
}

.pg-table-cell.interactive-cell {
    cursor: pointer;
}

.pg-table-cell.interactive-cell:hover {
    background: #f1f5f9;
    border-color: #000080;
    box-shadow: inset 0 0 0 1.5px #000080;
}

.pg-table-cell.active-cell {
    background: #EAEAEA;
    box-shadow: inset 0 0 0 2.5px #000080;
}

/* Red Square Entrada */
.pg-red-square {
    width: 44px;
    height: 44px;
    border: 3px solid #E61A1A;
    background: transparent;
    box-sizing: border-box;
}

/* Black Circle Pathway */
.pg-black-circle {
    width: 44px;
    height: 44px;
    border: 3px solid #000000;
    border-radius: 50%;
    background: transparent;
    box-sizing: border-box;
}

/* Box icon wrap */
.pg-box-icon-wrap {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== TKINTER CELL HISTORY WINDOW PANEL ===== */
.tk-history-window {
    width: 440px;
    background: var(--tk-bg-gray);
    border: 2px solid #FFFFFF;
    border-right-color: #404040;
    border-bottom-color: #404040;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
}

.tk-history-title-bar {
    height: 24px;
    background: var(--tk-title-gradient);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 12px;
}

.tk-history-menu {
    display: flex;
    gap: 16px;
    padding: 4px 10px;
    background: var(--tk-bg-gray);
    border-bottom: 1px solid #808080;
    font-size: 12px;
}

.tk-history-content {
    background: #FFFFFF;
    border: 1.5px solid #808080;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    margin: 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tk-history-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #808080;
    font-family: var(--tk-font-mono);
    font-weight: 700;
    font-size: 14px;
    color: #262626;
}

.tk-history-status-badge {
    color: #008080;
    font-weight: 700;
    font-size: 12px;
    font-family: var(--tk-font-sans);
}

.tk-history-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #808080;
    font-size: 13px;
}

.tk-history-row-label {
    font-weight: 600;
    color: #262626;
}

.tk-history-row-val {
    font-family: var(--tk-font-mono);
    font-weight: 600;
    color: #262626;
}

.tk-history-actions {
    padding: 10px;
    background: var(--tk-bg-gray);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tk-btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--tk-bg-gray);
    border: 1.5px solid #FFFFFF;
    border-right-color: #404040;
    border-bottom-color: #404040;
    color: #000080;
    font-family: var(--tk-font-sans);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.tk-btn-action:active {
    border-color: #404040;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    padding: 7px 11px 5px 13px;
}

/* ===== TKINTER LOG WINDOW (media_1788123330915.png) ===== */
.tk-log-window-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--tk-bg-gray);
}

.tk-log-screen {
    flex: 1;
    background: #FFFFFF;
    border: 1.5px solid #808080;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    padding: 10px 12px;
    overflow-y: auto;
    font-family: var(--tk-font-mono);
    font-size: 13px;
    line-height: 1.5;
    color: #008080;
}

.tk-log-line {
    padding: 2px 0;
    color: #008080;
}

.tk-log-time {
    color: #008080;
}

.tk-log-badge.info { color: #000080; font-weight: 700; }
.tk-log-badge.success { color: #008080; font-weight: 700; }
.tk-log-badge.warn { color: #9A6700; font-weight: 700; }
.tk-log-badge.error { color: #C00000; font-weight: 700; }

/* ===== TKINTER STATUS BAR ===== */
.tk-status-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 3px 2px;
    gap: 4px;
    height: 24px;
    background: var(--tk-bg-gray);
    border-top: 1px solid #808080;
    flex-shrink: 0;
    font-size: 11px;
}

.tk-status-left {
    flex: 1;
    height: 18px;
    background: var(--tk-bg-gray);
    border: 1px solid #808080;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    display: flex;
    align-items: center;
    padding: 0 6px;
    color: #000000;
    font-family: var(--tk-font-sans);
}

.tk-status-right {
    width: 110px;
    height: 18px;
    background: var(--tk-bg-gray);
    border: 1px solid #808080;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    display: flex;
    align-items: center;
    padding: 0 6px;
    color: #000000;
    font-family: var(--tk-font-sans);
}

/* Compatibility State Rules for Tests */
.pg-cell {
    display: none;
}
.pg-cell-indicator {
    width: 8px; height: 8px;
}
.pg-cell[data-state="CONFIGURED"] { color: #000080; }
.pg-cell[data-state="RUNNING"] { color: #9A6700; }
.pg-cell[data-state="SUCCESS"] { color: #008080; }
.pg-cell[data-state="ERROR"] { color: #C00000; }
.pg-cell[data-state="LOCKED"] { color: #555555; }

/* ===== BOX FILE BADGE & EMPTY STATE ===== */
.pg-box-file-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #000080;
    color: #FFFFFF;
    font-family: var(--tk-font-sans);
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.pg-empty-box-msg {
    padding: 24px 16px;
    text-align: center;
    background: #ECE9D8;
    border: 1.5px dashed #808080;
    margin: 12px 0;
}

/* ===== TKINTER FILE ASSIGNMENT DIALOG ===== */
.tk-modal-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--tk-font-sans);
}

.tk-dialog-box {
    width: 520px;
    max-width: 95vw;
    background: var(--tk-bg-gray);
    border: 2px solid #FFFFFF;
    border-right-color: #404040;
    border-bottom-color: #404040;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    padding: 3px;
}

.tk-assign-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
    cursor: pointer;
}
.tk-assign-file-row:hover {
    background: #f1f5f9;
}
.tk-assign-file-row.selected {
    background: #000080;
    color: #FFFFFF;
}
.tk-assign-file-row.selected * {
    color: #FFFFFF !important;
}

/* ===== KRUMBS RETRO TKINTER IDE WINDOW (IDEAVIM INTEGRATION) ===== */
.tk-ide-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100002;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--tk-font-sans);
    padding: 12px;
    box-sizing: border-box;
}

.tk-ide-window {
    width: 880px;
    height: 640px;
    max-width: 96vw;
    max-height: 92vh;
    background: var(--tk-bg-gray);
    border: 2.5px solid #FFFFFF;
    border-right-color: #404040;
    border-bottom-color: #404040;
    box-shadow: 0 16px 48px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    padding: 3px;
    box-sizing: border-box;
}

.tk-ide-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    background: #ECE9D8;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #808080;
    gap: 6px;
    flex-wrap: wrap;
}

.tk-ide-vim-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border: 1.5px solid #808080;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    background: #000000;
    color: #00FF66;
    font-family: var(--tk-font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.tk-ide-editor-container {
    flex: 1;
    display: flex;
    background: #1E1E1E;
    border: 2px solid #808080;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.tk-ide-gutter {
    width: 48px;
    background: #252526;
    color: #858585;
    font-family: var(--tk-font-mono);
    font-size: 12px;
    line-height: 20px;
    padding: 10px 6px 10px 0;
    text-align: right;
    user-select: none;
    border-right: 1px solid #333333;
    overflow: hidden;
}

.tk-ide-textarea {
    flex: 1;
    background: #1E1E1E;
    color: #D4D4D4;
    font-family: var(--tk-font-mono);
    font-size: 12.5px;
    line-height: 20px;
    padding: 10px;
    border: none;
    outline: none;
    resize: none;
    white-space: pre;
    overflow: auto;
    tab-size: 4;
}

.tk-ide-find-bar {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #ECE9D8;
    border-bottom: 1.5px solid #808080;
    font-size: 11px;
}

.tk-ide-vim-cmdline {
    display: flex;
    align-items: center;
    background: #000000;
    color: #FFFFFF;
    padding: 3px 8px;
    font-family: var(--tk-font-mono);
    font-size: 12px;
    border-top: 1px solid #333333;
}

.tk-ide-vim-cmdline input {
    flex: 1;
    background: transparent;
    border: none;
    color: #00FF66;
    font-family: var(--tk-font-mono);
    font-size: 12px;
    outline: none;
    margin-left: 4px;
}

.tk-ide-status-bar {
    display: flex;
    align-items: center;
    padding: 3px 4px;
    gap: 6px;
    height: 24px;
    background: var(--tk-bg-gray);
    border-top: 1px solid #808080;
    font-size: 11px;
}

/* ===== FILE DISTRIBUTION & LOCATION LOG (VIEW MENU) ===== */
.tk-dist-log-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100003;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: var(--tk-font-sans);
    padding: 12px;
    box-sizing: border-box;
}

.tk-dist-window {
    width: 820px;
    height: 560px;
    max-width: 96vw;
    max-height: 90vh;
    background: var(--tk-bg-gray);
    border: 2.5px solid #FFFFFF;
    border-right-color: #404040;
    border-bottom-color: #404040;
    box-shadow: 0 16px 48px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    padding: 3px;
    box-sizing: border-box;
}

.tk-dist-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: #ECE9D8;
    border-bottom: 1.5px solid #808080;
    gap: 8px;
    flex-wrap: wrap;
}

.tk-dist-table-container {
    flex: 1;
    overflow: auto;
    background: #FFFFFF;
    border: 1.5px solid #808080;
    border-right-color: #FFFFFF;
    border-bottom-color: #FFFFFF;
}

.tk-dist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px;
}

.tk-dist-table th {
    position: sticky;
    top: 0;
    background: #ECE9D8;
    color: #000000;
    font-weight: 700;
    padding: 5px 8px;
    border: 1px solid #808080;
    border-top-color: #FFFFFF;
    border-left-color: #FFFFFF;
    text-align: left;
    user-select: none;
}

.tk-dist-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #E5E5E5;
    vertical-align: middle;
}

.tk-dist-table tr:hover {
    background: #f1f5f9;
}

.tk-dist-loc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 7px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 10.5px;
    font-family: var(--tk-font-mono);
}

.tk-dist-loc-badge.assigned {
    background: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.tk-dist-loc-badge.unassigned {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
}

/* ===== RETRO 8-BIT PIXEL WINDOW MODAL (ON-DEMAND TOOLS) ===== */

.tk-pixel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 100020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.tk-pixel-window-card {
    --px-dark: #D96B47;
    --px-main: #FF8C69;
    --px-light: #FFB899;
    --px-highlight: #FFE0D1;
    --px-wa: #26AD61;
    --px-wa-hover: #1e874b;

    position: relative;
    width: 280px;
    height: 360px;
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 0 4px #000000;
    border: 8px solid var(--px-dark);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    font-family: 'Press Start 2P', 'VT323', monospace;
    user-select: none;
    animation: tkPixelPop 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes tkPixelPop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Pixel Title Bar */
.tk-px-titlebar {
    position: relative;
    width: 100%;
    height: 32px;
    background: var(--px-main);
    border-bottom: 6px solid var(--px-dark);
    display: flex;
    align-items: center;
    padding: 0 6px;
    box-sizing: border-box;
}

.tk-px-titlebar-highlight {
    position: absolute;
    top: 2px;
    left: 4px;
    right: 4px;
    height: 4px;
    background: var(--px-light);
    pointer-events: none;
}

.tk-px-dashes {
    display: flex;
    gap: 6px;
    align-items: center;
    flex: 1;
}

.tk-px-dash {
    width: 14px;
    height: 6px;
    background: var(--px-dark);
}

.tk-px-dots {
    display: flex;
    gap: 4px;
    margin-right: 4px;
}

.tk-px-dot {
    width: 6px;
    height: 6px;
    background: var(--px-highlight);
}

.tk-px-close-btn {
    background: var(--px-dark);
    color: #FFFFFF;
    border: none;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.tk-px-close-btn:hover {
    background: #000000;
}

/* Pixel Body & Text */
.tk-px-body {
    flex: 1;
    background: #FFFFFF;
    position: relative;
    padding: 14px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.tk-px-text-line {
    font-size: 8.5px;
    line-height: 14px;
    color: var(--px-dark);
    letter-spacing: 0.5px;
    margin: 1px 0;
    text-transform: uppercase;
    word-break: break-word;
}

.tk-px-text-highlight {
    color: var(--px-main);
    font-weight: 700;
}

.tk-px-tool-name {
    font-size: 9.5px;
    line-height: 15px;
    color: var(--px-main);
    font-weight: 800;
    margin: 2px 0 4px;
    text-transform: uppercase;
}

/* WhatsApp Interactive Pixel Row */
.tk-px-whatsapp-row {
    margin: 4px 0;
    padding: 4px 8px;
    background: rgba(38, 173, 97, 0.08);
    border: 2px dashed var(--px-wa);
    color: var(--px-wa);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 8.5px;
    text-decoration: none;
    transition: all 0.1s ease;
}
.tk-px-whatsapp-row:hover {
    background: var(--px-wa);
    color: #FFFFFF;
    transform: scale(1.04);
}
.tk-px-whatsapp-row:hover svg path {
    fill: #FFFFFF !important;
}

.tk-px-price-val {
    font-size: 9px;
    color: var(--px-main);
    font-weight: 700;
    margin-top: 2px;
}

/* Pixel Corner Curl Bottom Right */
.tk-px-corner-curl {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 14px;
    height: 14px;
    background: var(--px-light);
    border-top: 4px solid var(--px-dark);
    border-left: 4px solid var(--px-dark);
    pointer-events: none;
}
