html {
	background: #f6f7fb;
}

body {
	color: #232c36;
	background: #f6f7fb;
	font-size: 1rem;
	line-height: 1.7;
	letter-spacing: 0.5px;
}

nav.bg-white\/90 {
	background: rgba(255,255,255,0.96) !important;
	border-bottom: 1px solid #e6e8ec !important;
	box-shadow: none !important;
	backdrop-filter: blur(10px);
	position: relative;
	z-index: 1000;
}

.nav-menu {
	display: flex;
	gap: 2.3rem;
	font-weight: 600;
	font-size: 1.1rem;
	align-items: center;
}

.nav-link {
	color: #23436c;
	padding: 0.4em 0.95em;
	border-radius: 6px;
	background: none;
	transition: color .15s, background .13s;
}

.nav-link:hover, .nav-link.active {
	color: #2563eb;
	background: #eaf3ff;
	text-decoration: none;
}

.dropdown {
	position: relative;
}

.dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 0.32em;
	cursor: pointer;
	font-weight: 500;
	color: #23436c;
	border-radius: 6px;
	transition: color .15s;
}

.dropdown-toggle:hover {
	color: #2563eb;
	background: #eaf3ff;
}

.dropdown-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 2.2em;
	min-width: 380px;
	max-width: 600px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border-radius: 7px;
	padding: 8px 6px;
	z-index: 99;
	column-gap: 0;
}

.dropdown-menu.show {
	display: block;
}

.dropdown-menu li {
	break-inside: avoid;
	margin: 0;
	padding: 0;
}

@media (max-width: 600px) {
	.dropdown-menu {
		min-width: 0;
		max-width: 100vw;
		column-count: 1;
	}
}

/* 导航菜单作为下拉菜单定位参考 */
.nav-menu-main {
    position: relative;
}

/*
 * 工具菜单不再作为定位参考，
 * 下拉菜单相对于整个 nav-menu 定位。
 */
.nav-menu-main > .tools-dropdown {
    position: static !important;
}

/* 工具按钮 */
.tools-dropdown > .dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

/* 默认必须隐藏 */
.nav-menu-main .tools-dropdown-menu {
    display: none !important;

    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    right: auto !important;

    width: min(1158px, calc(100vw - 32px)) !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 12px !important;

    transform: translateX(-50%) !important;

    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;

    list-style: none;

    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;

    background: #ffffff !important;

    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.14),
        0 8px 16px rgba(15, 23, 42, 0.08) !important;

    overflow: visible !important;
    z-index: 9999 !important;
}

/*
 * 只有你的点击程序添加 show 后才显示。
 * 不再支持鼠标经过自动展开。
 */
.nav-menu-main .tools-dropdown-menu.show {
    display: grid !important;
}

/* 每一个菜单项目 */
.tools-dropdown-item {
    display: block !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

/* 菜单卡片 */
.nav-menu-main .tools-dropdown-link {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 64px;

    padding: 10px 12px !important;

    border: 1px solid #e2e8f0 !important;
    border-radius: 11px !important;

    background: #f8fafc !important;
    color: #334155 !important;

    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}



/* 左侧图标 */
.tools-dropdown-icon {
    display: flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin-right: 10px;

    border-radius: 9px;

    background: #ffffff;
    color: #2563eb;
}

/* 菜单文字必须保持横向显示 */
.tools-dropdown-text {
    display: block;

    min-width: 0;
    flex: 1;

    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;

    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;

    text-align: left !important;
}

/* 当前页面 */
.nav-menu-main .tools-dropdown-link.active {
    border-color: #bfdbfe !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.10);
}

.nav-menu-main .tools-dropdown-link.active .tools-dropdown-icon {
    background: #dbeafe;
    color: #2563eb;
    box-shadow: none;
}

/* 顶部下拉箭头 */
.tools-dropdown-arrow {
    margin-left: 5px;

    font-size: 12px;

    transition: transform 0.2s ease;
}

/*
 * 菜单具有 show 时旋转箭头。
 * 这不会影响点击逻辑。
 */
.tools-dropdown.is-open .tools-dropdown-arrow {
    transform: rotate(180deg);
}


/* 桌面端：最多4列 */
@media (min-width: 901px) {
    .nav-menu-main .tools-dropdown-menu {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* 平板：3列 */
@media (max-width: 900px) {
    .nav-menu-main .tools-dropdown-menu {
        width: min(680px, calc(100vw - 24px)) !important;

        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 手机：2列 */
@media (max-width: 640px) {
    .nav-menu-main .tools-dropdown-menu {
        top: calc(100% + 6px) !important;

        width: calc(100vw - 16px) !important;

        padding: 8px !important;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;

        border-radius: 12px !important;
    }

    .nav-menu-main .tools-dropdown-link {
        min-height: 58px;

        padding: 8px !important;

        font-size: 13px !important;
    }

    .tools-dropdown-icon {
        flex-basis: 32px;

        width: 32px;
        height: 32px;

        margin-right: 8px;
    }
}

/* 极小屏幕：1列 */
@media (max-width: 380px) {
    .nav-menu-main .tools-dropdown-menu {
        grid-template-columns: minmax(0, 1fr);
    }
}


h2 .fa {
    margin-top: 5px;
}

.ps-row .fa-copy:hover {
	color: #ececec;
}

.text-gray-500 {
	color: #4f4f4f;
}

.security-value.text-gray-700 {
    text-indent: 0.2em;
}

button.text-gray-700 {
	text-indent: 0.2em;
}

.i_success {
	color: #35db2d;
	font-weight: 700;
}


.text-gray-700  ul{
	list-style-type: decimal;
    list-style-position: inside;
    padding-left: 1.5em;
	text-indent: 0.2em;
}

ul.list-disc.pl-6.space-y-1,
ul.list-disc.pl-6.space-y-1 {
 list-style-type: decimal;
    list-style-position: inside;
}


.dropdown-item {
	display: block;
	padding: 9px 18px;
	color: #2c2c2c;
	border-radius: 5px;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
	background: none;
	transition: background .13s, color .13s;
}

nav.bg-white\/90.border-b.border-gray-100.py-4.shadow-sm.backdrop-blur {
    border-bottom: aliceblue !important;
}

.dropdown-item:hover {
	background: #eaf3ff;
	color: #2563eb;
}

pre.text-yellow-300 {
	color: #fffc61;
}

a.nav-link {
    font-weight: 500;
}
.text-2xl.md\:text-3xl.font-bold.text-gray-900.tracking-wide {
    font-weight: 500;
    font-size: 1.25rem;
}
li.dropdown {
    font-weight: 400;
}

span.text-gray-800.group-hover\:text-blue-600.font-medium {
    font-weight: 400;
}
span {
    font-weight: 400;
}

span.text-gray-600 {
   font-size: .875rem;
    color: #404245;
    font-weight: 400;
}

/* 代码框容器 */
.font-sans pre {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0)
    ),
    #0f172a;

  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.875rem;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  color: #e2e8f0;
  line-height: 1.75;
  tab-size: 2;
  -moz-tab-size: 2;
}

/* 代码文字 */
.font-sans pre code {
  display: block;
  min-width: max-content;
  padding: 0;

  background: transparent;
  border: 0;

  color: #ffffff;
  font-family:
    "JetBrains Mono",
    "Fira Code",
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: inherit;
  letter-spacing: -0.01em;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;

  font-variant-ligatures: contextual;
  -webkit-font-smoothing: antialiased;
}



/* 滚动条 */
.font-sans pre::-webkit-scrollbar {
  height: 0.65rem;
}

.font-sans pre::-webkit-scrollbar-track {
  margin: 0 0.75rem;
  background: transparent;
}

.font-sans pre::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border: 2px solid #0f172a;
  border-radius: 999px;
}

.font-sans pre::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.55);
}

/* 选中文字 */
.font-sans pre code::selection,
.font-sans pre code *::selection {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.45);
}

/* 移动端 */
@media (max-width: 640px) {
  .font-sans pre {
    margin: 1.25rem -0.25rem;
    padding: 1rem;
    border-radius: 0.75rem;
  }

  .font-sans pre code {
    font-size: 0.8125rem;
  }
}

.text-xs.text-gray-500.mt-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .875rem;
    color: #404245;
    font-weight: 400;
}

.flex.py-2.items-center.font-semibold.text-gray-900 {
    height: 2.8rem;
}

.font-medium.py-2.text-gray-900.truncate {
    height: 2.8rem;
}

.text-sm.font-medium.py-2.text-gray-900 {
    height: 2.7rem;
}

h2.text-xl.font-bold.my-3.text-blue-600.flex.items-center.gap-2 {
    font-weight: 600;
    font-size: 1.125rem;
}
h3.text-lg.font-bold.text-blue-600.my-3.flex.items-center.gap-2 {
    font-weight: 600;
}

h2.text-xl {
    font-size: 1.125rem;
}

b {
    font-weight: 600;
}

a.mt-4.inline-flex.items-center.text-sm.text-blue-600.hover\:text-blue-800 {
    font-size: .75rem;
}

td.px-2.py-1.font-mono.text-center {
    font-size: 1rem;
}
td.px-2.py-1.text-center {
    font-size: .875rem;
    color: #404245;
    font-weight: 400;
}

a.text-sm.text-blue-600.bg-blue-50.hover\:bg-blue-100.px-3.py-1.rounded-md.transition {
    font-size: .875rem;
    color: #404245;
    font-weight: 400;
    padding: 6px 7px;
}

.flex.items-center.text-sm.text-gray-400.space-x-2.mt-2 {
    font-size: .875rem;
    color: #404245;
    font-weight: 400;
}

.grid.md\:grid-cols-4.gap-8.mb-10 {
    margin-bottom: 10px;
}
.grid.grid-cols-1.lg\:grid-cols-2.gap-2.mb-6 {
    margin-bottom: 10px;
}
.bg-white.border.border-gray-100.rounded-2xl.shadow.px-7.my-5.flex.flex-col {
    margin-top: 10px;
    margin-bottom: 10px;
}
.bg-white.rounded-2xl.shadow-sm.border.border-gray-100.p-5.mb-6 {
    margin-bottom: 10px;
}
aside.hidden.md\:flex.flex-col.gap-6 {
    gap: 0.65rem;
}

.bg-white.rounded-2xl.shadow-md.border.border-gray-100.p-5.mb-6 {
    margin-bottom: 10px;
    border-width: inherit;
    padding: 20px 20px 5px 20px;
}

.bg-white.rounded-2xl.shadow-sm.border.border-gray-100.p-5 {
    border-width: inherit;
}

.group.relative.bg-white.hover\:bg-gray-50.transition.rounded-xl.shadow-sm.border.border-gray-100.p-6.mb-6 {
    border-width: inherit;
    border-bottom: 1.5px solid #e6eaf1 !important;
    border-radius: inherit !important;
    
}

pre .pre-span {
   color: #857f7f7a;
}

.rounded-xl.border.border-gray-200.m-6.shadow-sm.overflow-hidden {
    border-width: inherit;
}

.inline-flex.items-center.gap-2.px-3.py-2.rounded-xl.bg-slate-50.border.border-slate-200.text-slate-800.mono.text-sm.max-w-full {
   font-size: .875rem;
    color: #404245;
    font-weight: 400;
    padding-top: .25rem;
    padding-bottom: .25rem;
}
.

table.min-w-full.text-sm.text-left.border.border-gray-200.rounded-lg.overflow-hidden td.px-4.py-2 {
    padding-top: .25rem;
    padding-bottom: .25rem;
    color: #404245!important;
    line-height: 2em;
    font-size:16px;
}


button.bg-blue-600.text-white.px-3.py-1.rounded.hover\:bg-blue-700 {
        padding: .25rem;
    font-size: 14px;
    display: unset;
    font-weight: 400;
    line-height: initial;
}

a.bg-blue-600.text-white.inline-flex.items-center.justify-center.rounded-md.px-3.py-2.hover\:bg-blue-700.focus\:outline-none.focus\:ring-2.focus\:ring-blue-500.focus\:ring-offset-2 {
    padding: .45rem;
    font-size: 12px;
    display: unset;
    font-weight: 400;
    line-height: initial;
}

.px-7.my-5.flex.flex-col {
    padding-top: 10px!important;
}

a.bg-blue-600.text-white.px-3.py-1.rounded.hover\:bg-blue-700.inline-block {
    padding: .25rem;
    font-size: 14px;
    display: unset;
}

pre.bg-gray-50.border.border-gray-200.rounded.p-3.text-sm.text-gray-800.overflow-x-auto {
    font-size: 14px;
    color: #404245 !important;
    line-height: 1.35rem;
}

span.w-32.min-w-max.text-gray-400.text-base.font-medium {
    font-size: 0.875rem;
    color: #24314e !important;;
    font-weight: 400;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

pre.text-xs {
   font-size: 1rem;
   line-height: 1.25rem; 
}

tbody.divide-y.divide-gray-100.text-sm {
    font-size: .875rem;
    color: #404245;
    font-weight: 400;
}

span.inline-flex.items-center.px-2\.5.py-1.rounded-full.text-xs.bg-slate-100.border.border-slate-200.text-slate-700 {
    border-radius: 8px;
    padding-top: .25rem;
    padding-bottom: .25rem;
    line-height: 1.25rem;
}

.font-sans .shadow-sm,
.font-sans .shadow,
.font-sans .shadow-md,
.font-sans .shadow-lg,
.font-sans .shadow-xl,
.font-sans .shadow-2xl {
  box-shadow: none;
}

.border.w-full.rounded-xl.p-4.shadow-sm.inline-block.overflow-x-auto.bg-white.mt-3,
.border.rounded-xl.w-full.p-4.shadow-sm.bg-white.mt-3.space-y-3 {
    border-width: 0;
}

i.fa.text-blue-500,
i.fa.text-blue-600 {
    color: #339af0;
}

.hidden .font-extrabold {
   font-weight: 600;
}

span.inline-block.px-3.py-1.text-sm.font-semibold.rounded-full {
    border-radius: 8px;
    font-weight: 500;
}

span.text-xs.font-semibold.tracking-widest.text-gray-500 {
    color: #3d3d3d;
    font-weight: 500;
}

span.mr-4.inline-flex.items-center.justify-center.text-gray-800 {
    border-radius: 8px !important;
    --tw-bg-opacity: 1;
    background-color: rgba(239, 246, 255, var(--tw-bg-opacity));
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    display: flex;
    --tw-text-opacity: 1;
    color: rgb(59 130 246);
}

.flex.items-center img.mr-2.rounded {
   box-shadow: 0px 1px 1px rgb(194 186 186 / 35%);
}   

span.ml-4.flex.items-center img.mr-3.rounded {
    box-shadow: 0px 1px 1px rgb(76 76 76 / 59%);
}

.flex.justify-between .text-gray-900 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 268px;
    font-weight: 500;
}

/* 经典 Windows CMD 外壳 */
.cmd-window{
  background: #0c0c0c;
  border: 1px solid #bfbfbf;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin-top: 16px;
  text-indent: 0;
}

/* 标题栏（白底） */
.cmd-titlebar{
  display: flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 8px;
  background: #ffffff;
  color: #000000;
  border-bottom: 1px solid #d9d9d9;
  font-family: "Segoe UI", "Microsoft YaHei UI", Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
}

/* 左侧小图标（黑底白字 C:\） */
.cmd-icon{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: -0.2px;

  border: 1px solid #000;         /* 让它更像截图那种“方块图标” */
}

/* 标题文字 */
.cmd-title{
  font-weight: 600;
  color: #000;
  user-select: none;
}

/* 内容区（黑底白字、固定宽字体） */
.cmd-body{
  margin: 0;
  padding: 10px 10px;             /* 截图内容区边距感 */
  background: #0c0c0c;
  color: #f2f2f2;

  font-family: Consolas, "Lucida Console", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.35;

  white-space: pre;               /* 保持空行与缩进 */
  overflow-x: auto;
}

/* 滚动条尽量低存在感（可选） */
.cmd-body::-webkit-scrollbar{ height: 10px; }
.cmd-body::-webkit-scrollbar-track{ background: #0c0c0c; }
.cmd-body::-webkit-scrollbar-thumb{ background: #2b2b2b; }
.cmd-body::-webkit-scrollbar-thumb:hover{ background: #3a3a3a; }


.powershell-box {
	width: 282px;
	height: 100px;
	background: #012456;
	border-radius: 7px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0;
	font-family: Lato,PingFangSC-Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji,Android Emoji,EmojiSymbols;
	overflow: hidden;
}

.ps-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 50%;
	padding: 0 16px;
	font-size: 16px;
	color: #fff;
}

.ps-cmd {
	flex: 1;
	color: #fffc61;
	letter-spacing: 0.2px;
	user-select: text;
	font-size: 16px;
}

.ps-cmd.text-xs {
	font-size: .75rem;
}

.copy-btn {
	background: rgba(255,255,255,0.08);
	color: #fff;
	border: none;
	border-radius: 4px;
	margin-left: 12px;
	padding: 3px 9px;
	cursor: pointer;
	font-size: 0.75rem;
	transition: background 0.12s;
}


.ps-divider {
	height: 1px;
	width: 88%;
	margin: 0 auto;
	background: #fff;
	border-radius: 2px;
}

.group > button {
	border-radius: 8px !important;
	border: 1px solid #e6eaf2;
	background: #f8fafc;
	font-size: 0.8652rem;
	font-weight: 600;
	padding: 0.25rem 0.55rem;
	box-shadow: none;
}

.group > button:focus {
	outline: 1.5px solid #9dc8fa;
	border-color: #cbe2fd;
}

.group .rounded-lg {
	border-radius: 7px !important;
	min-width: 138px;
}

.text-blue-600 {
	letter-spacing: -0.02em;
}

img.rounded-xl {
	border-radius: 8px !important;
}

.font-sans .bg-blue-900 {
	background: url('/proxy?url=https%3A%2F%2Fipin.io%2Fstatic%2Fimg%2FAnimated-Shape.svg') no-repeat center center / cover;
}

.max-w-7xl .bg-white .flex select:disabled, .max-w-7xl .bg-white .flex select[disabled] {
	background-color: #f3f4f6 !important;
	color: #b1b1b1 !important;
	border: 2px dashed #d1d5db !important;
	cursor: not-allowed !important;
	opacity: 1 !important;
	position: relative;
	background-image: repeating-linear-gradient( 135deg, #e5e7eb 0px, #e5e7eb 8px, #f3f4f6 8px, #f3f4f6 16px ) !important;
	box-shadow: 0 0 0 8px rgba(156,163,175,0.09) inset;
	transition: background 0.2s, border-color 0.2s;
}

.max-w-7xl .bg-white .flex select:disabled:focus, .max-w-7xl .bg-white .flex select[disabled]:focus {
	outline: none;
	box-shadow: none;
}

.max-w-7xl .bg-white .flex select:enabled, .max-w-7xl .bg-white .flex select:not([disabled]) {
	background-color: #fff !important;
	color: #1f2937 !important;
	text-indent: 0;
	border: 1.5px solid #3b82f6 !important;
	box-shadow: 0 1px 6px 0 rgba(59,130,246,0.07);
	transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.max-w-7xl .bg-white .flex select:enabled:focus, .max-w-7xl .bg-white .flex select:not([disabled]):focus {
	border-color: #2563eb !important;
	box-shadow: 0 0 0 2.5px rgba(59, 130, 246, 0.30);
	background-color: #f0f9ff !important;
}

.max-w-7xl .bg-white .flex select:enabled:hover {
	background-color: #e0ecff !important;
	border-color: #2563eb !important;
}

.max-w-7xl .bg-white .flex select option[disabled], .max-w-7xl .bg-white .flex select option[value=""], .max-w-7xl .bg-white .flex select option:empty {
	color: #bdbdbd;
	background: #f9fafb;
}

.font-sans  pre code {
  display: block!important;
  width: 100%!important;
  white-space: pre-wrap!important;
  overflow-wrap: break-word;
}
.font-sans  pre.bg-gray-800,
.font-sans  pre.bg-gray-900 {
   background-color: #292d3e;
}

#ipInput {
	background: transparent;
	border: none;
	font-size: 1.08rem;
	color: #24314e;
	letter-spacing: 0.02em;
	padding-left: 0;
}

#ipInput:focus {
	background: #eaf3ff;
}

#ipBtn {
	border-radius: 10px !important;
	font-weight: 500;
	font-size: 14px;
	box-shadow: none !important;
	outline: none;
}

#ipBtn:active {
	background: linear-gradient(to right,#216adf,#4095f4);
	opacity: .93;
	transform: scale(0.98);
}



.rounded-2xl, .rounded-xl {
	border-radius: 10px !important;
}

aside .rounded-2xl, aside .rounded-xl {
	border-radius: 10px !important;
}

aside .inline-block.w-1\.5 {
	width: 0.33em !important;
	min-width: 0.33em;
	margin-right: 0.9em !important;
	border-radius: 2px !important;
}

aside .rounded {
	border-radius: 4px !important;
}

aside .text-base {
	letter-spacing: 0.04em;
	color: #333c48;
}

aside .text-xs {
	color: #96a3b3 !important;
}

span.text-gray-400 {
	color: #8da0b3 !important;
}

section .grid > div {
	margin-bottom: 1.5px;
	border-radius: 6px;
}

section .grid > div:hover {
	background: #f6faff;
	transition: background .16s;
}

section h2, section h3 {
	letter-spacing: 0.03em;
	font-weight: 700;
	color: #2563eb;
}

section h2 .fa, section h3 .fa {
	font-size: 0.806em;
	color: #56a2ff;
}

.list-decimal li {
	padding-left: 2px;
}

#loadingMask .bg-white {
	border-radius: 10px;
	box-shadow: none !important;
	border: 1.5px solid #bbe4ff;
}

footer.bg-white {
	border-radius: 0 !important;
	border-top: 1.5px solid #e6eaf1 !important;
	background: #f8fafc !important;
}

footer .text-sm {
	color: #8791a5 !important;
	letter-spacing: 0.01em;
}

@media (max-width: 900px) {
	.nav-menu {
		gap: 1.1rem;
		font-size: 1rem;
	}

	main {
		padding-top: 1.1em !important;
		padding-bottom: 1.1em !important;
	}

	section, aside, .rounded-2xl, .rounded-xl {
		border-radius: 8px !important;
	}
}


@media (min-width: 320px) and (max-width: 768px) { 
  button.flex.items-center.gap-2.px-4.py-2.rounded-lg.bg-gray-100.hover\:bg-gray-200.transition.font-semibold {
         display: contents;

       }
     span#lang-label {
         display: none;
       }

      svg.ml-2.w-4.h-4.text-gray-400 {
         margin-left: 2px;
       }

     img.rounded-xl.transition.hover\:scale-105 {
          width: 72px;
       }
     ul.dropdown-menu.show {
          min-width: max-content;
          left: -100px;
       }
     .p-7,.m-6,.text-gray-700 ul {
       padding: 5px 2px 5px 2px;
       margin: 5px 5px 5px 5px;
      }
     
     .space-y-6.p-5 {
        width: 100%;
        display: block;
        word-break: break-word;
       }
       .px-4 {
          padding-left: 0.35rem;
          padding-right: 0.35rem;
     }
     
     table {
        border-collapse: collapse;
        display: block;
        width: 100%;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: break-word;
       }
}

@media (max-width: 480px) {
	html, body {
		font-size: 15px;
	}

	.nav-menu {
		gap: 0.6rem;
		font-size: 0.97em;
	}
}

nav .text-gray-700 {
	text-indent: 0.2em;
}

h2.text-2xl.font-semibold.text-gray-900 {
    font-size: 1.15rem;
}

.text-gray-700 {
	color: rgb(59 59 59);
    line-height: 1.95em;
    text-indent: 1em;
    letter-spacing: 0.5px;
}

code {
  font-size: .875em;
  overflow-wrap: break-word;
  background-color: #d8d8d6;
  padding: 2px;
  border-radius: 4px;
}

/* 代码块里的 code：撤销行内样式 */
pre code {
  font-size: inherit;
  overflow-wrap: normal;
  background: transparent;
  padding: 0;
  border-radius: 0;
}



button, .nav-link, .dropdown-toggle, .dropdown-item, #ipBtn {
	transition: background 0.13s, color 0.13s, border-color 0.13s, transform 0.14s;
}

.font-sans h1 {
	margin: 0 10px 40px;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .04em;
	color: #020617;
	text-align: left;
}

button.bg-blue-600 {
	background-image: linear-gradient(to top, #2563eb, #3b82f6)!important;
	color: #f9fafb!important;
	border: none!important;
	padding: 8px;
	font-size: 14px;
	cursor: pointer!important;
	font-weight: 400;
}

button.bg-blue-600:hover {
	background-color: #1f58d3!important;
}

#exampleDataLabel {
	--tw-text-opacity: 1;
	color: rgb(211 122 67)!important;
	border-width: 1px!important;
}

@keyframes ipin-spin {
	to {
		transform: rotate(360deg);
	}
}

.ipin-spinner {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	border: 2px solid #e5e7eb;
	border-top-color: #6b7280;
	animation: ipin-spin 0.6s linear infinite;
	box-sizing: border-box;
}

#loadingMask {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease-out;
}

#loadingMask .ipin-dialog {
	opacity: 0;
	transform: scale(0.97) translateY(4px);
	transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

#loadingMask.ipin-mask-active {
	opacity: 1;
	pointer-events: auto;
}

#loadingMask.ipin-mask-active .ipin-dialog {
	opacity: 1;
	transform: scale(1) translateY(0);
}


/* 只针对 loading 弹窗：恢复好看的阴影 + 边框高光 */
#loadingMask.ipin-mask-active .ipin-dialog {
  box-shadow: -1px 7px 15px rgba(0, 0, 0, .28), 0px 6px 18px rgba(0, 0, 0, .16) !important;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.96);
}


#proxyLoadingMask {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

#proxyLoadingMask .ipin-dialog {
  opacity: 0;
  transform: scale(0.97) translateY(4px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

#proxyLoadingMask.ipin-mask-active {
  opacity: 1;
  pointer-events: auto;
}

#proxyLoadingMask.ipin-mask-active .ipin-dialog {
  opacity: 1;
  transform: scale(1) translateY(0);
}

#proxyLoadingMask.ipin-mask-active .ipin-dialog {
  box-shadow: -1px 7px 15px rgba(0, 0, 0, .28), 0px 6px 18px rgba(0, 0, 0, .16) !important;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.96);
}

/* lookup_ip_asn result table: fixed layout + polished style */
#ip-location-table {
  width: 100%;
}

#ip-location-table .ipin-asn-table-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

#ip-location-table .ipin-asn-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: #bfdbfe #eff6ff;
}

#ip-location-table .ipin-asn-table-scroll::-webkit-scrollbar {
  height: 8px;
}

#ip-location-table .ipin-asn-table-scroll::-webkit-scrollbar-track {
  background: #eff6ff;
  border-radius: 999px;
}

#ip-location-table .ipin-asn-table-scroll::-webkit-scrollbar-thumb {
  background: #bfdbfe;
  border-radius: 999px;
}

#ip-location-table #ip-result-table.ipin-asn-table {
  width: 100%;
  min-width: 870px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

#ip-location-table #ip-result-table col.asn-col-ip { width: 14%; }
#ip-location-table #ip-result-table col.asn-col-network { width: 15%; }
#ip-location-table #ip-result-table col.asn-col-asn { width: 10%; }
#ip-location-table #ip-result-table col.asn-col-country { width: 11%; }
#ip-location-table #ip-result-table col.asn-col-org { width: 24%; }
#ip-location-table #ip-result-table col.asn-col-domain { width: 15%; }
#ip-location-table #ip-result-table col.asn-col-status { width: 11%; }

#ip-location-table .ipin-asn-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 14px 16px;
  border-bottom: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #eaf2ff 100%);
  color: #0f172a;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#export-csv {
    height: 38px;
    border: 1px solid #cbd8ea;
    border-radius: 11px;
    background: #fff;
    color: #334155;
    padding: 0 14px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .08s, filter .15s, background .15s;
    text-indent: 0;
}

#ip-count {
   align-content: center;
}

#ip-location-table .ipin-asn-cell {
  padding: 13px 8px;
  border-bottom: 1px solid #e8eef8;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#ip-location-table .ipin-asn-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  color: #0f172a;
}

#ip-location-table .asn-cell-center { text-align: center; }
#ip-location-table .asn-cell-left { text-align: left; }

#ip-location-table .ipin-asn-table tbody tr {
  background: rgba(255,255,255,.94);
  transition: background-color .18s ease, box-shadow .18s ease;
}

#ip-location-table .ipin-asn-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

#ip-location-table .ipin-asn-table tbody tr:hover {
  background: #eef6ff;
  box-shadow: inset 3px 0 0 #3b82f6;
}

#ip-location-table .ipin-asn-row-ok {
  background: #f4f9ff;
}

#ip-location-table .ipin-asn-row-error {
  background: #fff7f7;
}

#ip-location-table .ipin-asn-row-sample {
  background: #f8fafc;
}

#ip-location-table .ipin-asn-row-loading {
  opacity: .82;
}

#ip-location-table .ipin-asn-row-fade {
  opacity: 0;
  transition: opacity .2s ease;
}

#ip-location-table .ipin-asn-loading-cell {
  text-align: center;
  color: #64748b;
}

#ip-location-table .ipin-asn-loading-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

#ip-location-table .ipin-asn-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 62px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#ip-location-table .ipin-asn-status-ok,
#ip-location-table .ipin-asn-status-sample {
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
  color: #047857;
}

#ip-location-table .ipin-asn-status-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

#ip-location-table .ipin-asn-table tbody tr:last-child .ipin-asn-cell {
  border-bottom: 0;
}

@media (max-width: 640px) {
  #ip-location-table #ip-result-table.ipin-asn-table {
    min-width: 860px;
    font-size: 13px;
  }

  #ip-location-table .ipin-asn-table thead th,
  #ip-location-table .ipin-asn-cell {
    padding: 11px 12px;
  }
}


a.inline-flex.items-center.gap-2.px-2.py-2.rounded-lg.border.border-gray-200.text-gray-700.hover\:border-blue-300.hover\:text-blue-600.text-sm.font-semibold.transition {
    height: 38px;
    border: 1px solid #cbd8ea;
    border-radius: 11px;
    background: #fff;
    color: #334155;
    padding: 0 14px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .08s, filter .15s, background .15s;
    text-indent: 0;
}


a.inline-flex.items-center.gap-2.px-2.py-2.rounded-lg.bg-blue-600.hover\:bg-blue-700.text-white.text-sm.font-semibold.transition {
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(to top, #2563eb, #3b82f6) !important;
    color: #f3f3f3 !important;
    padding: 0 14px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .08s, filter .15s, background .15s;
    text-indent: 0;
}

button#uploadBtn {
    height: 38px;
    border: 1px solid #cbd8ea;
    border-radius: 11px;
    background: #fff;
    color: #191a1d;
    padding: 0 14px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .08s, filter .15s, background .15s;
    text-indent: 0;
}

.log-tab-active {
    background-color: rgba(255, 255, 255, 1);
}

.dm-hero-card {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
  overflow: hidden;
}

.dm-hero-card h1,
.dm-hero-card h2,
.dm-hero-card h3,
.dm-workspace h2,
.dm-workspace h3 {
  font-weight: 500;
}

.dm-glass {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  box-shadow: none;
}

.dm-glass .fa-search {
  font-size: 14px;
}

.dm-glass .inline-flex.w-10,
.dm-glass .inline-flex.w-9 {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  box-shadow: none;
}

.dm-input {
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}

.dm-input:hover {
  border-color: #bfdbfe;
}

.dm-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
  outline: none;
}

.dm-primary,
.dm-stop-btn,
.dm-danger,
.dm-soft-btn,
.dm-export-btn {
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.dm-primary {
  background: linear-gradient(to top, #2563eb, #3b82f6) !important;
  border: 1px solid #2563eb;
  color: #fff;
}

.dm-primary:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8;
}

.dm-stop-btn,
.dm-soft-btn {
  background: #fff;
  border: 1px solid #dbe3ef;
  color: #4b5563;
}

.dm-stop-btn:hover,
.dm-soft-btn:hover {
  background: #f8fafc;
  color: #1f2937;
}

.dm-danger {
  background: #dc2626;
  border: 1px solid #dc2626;
  color: #fff;
}

.dm-workspace {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  padding: 18px;
}

.dm-workspace *,
#domainMonitorRoot * {
  font-weight: 400;
}

.dm-metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .dm-metrics-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.dm-metric-card {
  min-height: 64px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-right: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 768px) {
  .dm-metric-card {
    border-bottom: 0;
  }
}

.dm-metric-card:last-child {
  border-right: 0;
}

.dm-metric-value {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  color: #111827;
  word-break: break-all;
}

.dm-metric-label {
  margin-top: 5px;
  font-size: 12px;
  color: #64748b;
}

.dm-metric-hint {
  display: none;
}

.dm-progress-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

@media (min-width: 1024px) {
  .dm-progress-row {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
  }
}

#dmProgressBar {
  background: linear-gradient(to top, #2563eb, #3b82f6) !important;
}

#dmProgressPct {
  color: #2563eb;
  font-weight: 500;
}

.dm-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .dm-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dm-status-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  box-shadow: none;
}

.dm-status-card .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: none;
}

.dm-status-card.is-active,
.dm-status-card.is-done {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.dm-status-card.is-active .dot,
.dm-status-card.is-done .dot {
  background: #60a5fa;
}

.dm-status-card.is-error {
  background: #fff7f7;
  border-color: #fecaca;
  color: #991b1b;
}

.dm-status-card.is-error .dot {
  background: #dc2626;
}

.dm-stage-shell {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dm-stage-head {
  display: none;
}

.dm-stage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.dm-stage-block {
  height: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.dm-stage-block::before,
.dm-stage-block::after {
  display: none;
}

.dm-stage-block.is-active,
.dm-stage-block.is-done {
  background: #339af0;
  border-color: #bfdbfe;
}

.dm-stage-block.is-error {
  background: #fee2e2;
  border-color: #fecaca;
}

.shimmer {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
  animation: dmShimmer 1.15s infinite;
  transform: translateX(-100%);
}

.dm-stage-block.is-active .shimmer {
  display: block;
}

@keyframes dmShimmer {
  to { transform: translateX(100%); }
}

.dm-result-shell {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
}

.dm-result-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .dm-result-toolbar {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.dm-result-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  overflow: visible;
}

.dm-result-tab {
  padding: 5px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  line-height: 1.2;
  box-shadow: none;
  cursor: pointer;
}

.dm-result-tab:hover,
.dm-result-tab.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.dm-tab-count {
  display: none;
}

.dm-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dm-export-btn {
  padding: 5px 9px;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
}

.dm-export-btn:hover {
  background: #dbeafe;
}

.dm-result-area,
.dm-panel {
  min-height: 260px;
}

.dm-panel-loaded {
  max-height: 680px;
  overflow: auto;
}

.dm-result-placeholder {
  padding: 14px 0;
}

.dm-placeholder-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 13px;
}

.dm-placeholder-dot,
.dm-empty-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #bfdbfe;
}

.dm-placeholder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .dm-placeholder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dm-empty {
  border: 1px dashed #dbeafe;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.dm-skeleton-card {
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: none;
}

.dm-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e2e8f0;
}

.dm-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: dmShimmer 1.25s infinite;
  transform: translateX(-100%);
}

.dm-content-section {
  padding: 0;
}

.dm-section-head,
.dm-summary-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}

@media (min-width: 768px) {
  .dm-section-head,
  .dm-summary-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.dm-section-title,
.dm-inline-title {
  margin-bottom: 10px;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
}

.dm-section-count,
.dm-summary-sub {
  color: #64748b;
  font-size: 12px;
}

.dm-summary-title {
  color: #111827;
  font-size: 18px;
  font-weight: 500;
  word-break: break-all;
}

.dm-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dm-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .dm-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dm-fact {
  padding: 10px 12px;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  background: #f8fafc;
}

.dm-fact-value {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #111827;
  font-size: 15px;
  word-break: break-all;
}

.dm-fact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  border-radius: 4px;
}

.dm-fact-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dm-fact-label {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.dm-summary-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 1024px) {
  .dm-summary-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.dm-inline-list {
  display: grid;
  gap: 7px;
}

.dm-inline-item {
  padding: 8px 10px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 12px;
  word-break: break-all;
}

.dm-table-scroll {
  border: 1px solid #eef2f7;
  border-radius: 10px;
}

.dm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

.dm-table th,
.dm-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: top;
}

.dm-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #475569;
}

.dm-table td {
  color: #111827;
}

.dm-table tr:hover td {
  background: #f8fafc;
}

.dm-mono,
.dm-inline-item {
  font-family: Consolas, Menlo, Monaco, monospace;
  word-break: break-all;
}

.dm-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  line-height: 1.2;
}

.dm-pill-blue,
.dm-pill-green,
.dm-pill-yellow,
.dm-pill-purple,
.dm-pill-gray {
  background: #eff6ff;
  color: #1d4ed8;
}

.dm-pill-red {
  background: #fee2e2;
  color: #991b1b;
}


.dm-status-badge-valid {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  line-height: 1.2;
}

.dm-origin-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.dm-origin-ip {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-family: Consolas, Menlo, Monaco, monospace;
  font-size: 12px;
  line-height: 1.2;
}

.dm-table th.dm-col-value,
.dm-table td.dm-col-value {
  width: 420px;
  max-width: 420px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 768px) {
  .dm-table th.dm-col-value,
  .dm-table td.dm-col-value {
    width: 180px;
    max-width: 180px;
  }
}

.dm-article {
  margin-top: 22px;
  color: #374151;
  font-size: 1rem;
  line-height: 1.8;
}

.dm-article h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 12px;
  color: #2563eb;
  font-size: 1.125rem;
  font-weight: 600;
}

.dm-article p {
  margin: 0 0 12px;
}

.dm-article ul {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.dm-article li {
  margin: 6px 0;
}

#dmErrorSection {
  margin-top: 14px;
}

 .ipin_chrome_card {
    box-sizing: border-box;
    width: 100%;
    margin: 12px 0;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
   
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  .ipin_chrome_card:hover {
    border-color: #c4d4e8;
    box-shadow:
      0 2px 4px rgba(15, 23, 42, 0.04),
      0 7px 18px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
  }

  .ipin_chrome_link {
    box-sizing: border-box;
    display: block;
    padding: 8px 8px 8px;
    color: inherit;
    text-decoration: none;
  }

  .ipin_chrome_link:focus-visible {
    outline: 2px solid #7da7dc;
    outline-offset: -2px;
    border-radius: 10px;
  }

  .ipin_chrome_header {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  /* Chrome-like icon created entirely with CSS */
  .ipin_chrome_icon {
    position: relative;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    margin-right: 11px;
    overflow: hidden;
    border-radius: 50%;
    background:
      conic-gradient(
        from -30deg,
        #d9574f 0deg 120deg,
        #e3b34a 120deg 180deg,
        #55a865 180deg 300deg,
        #d9574f 300deg 360deg
      );
    box-shadow:
      inset 0 0 0 1px rgba(15, 23, 42, 0.08),
      0 2px 5px rgba(15, 23, 42, 0.12);
  }

  .ipin_chrome_icon::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 11px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #ffffff;
  }

  .ipin_chrome_icon_center {
    position: absolute;
    top: 14px;
    left: 13px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #5f86b5;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
  }

  .ipin_chrome_content {
    min-width: 0;
    flex: 1;
  }

  .ipin_chrome_title_row {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
  }

  .ipin_chrome_title {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ipin_chrome_badge {
    flex: 0 0 auto;
    padding: 2px 5px;
    border: 1px solid #cbd9ea;
    border-radius: 5px;
    background: #f5f8fc;
    color: #647b98;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.25px;
  }

  .ipin_chrome_description {
    margin: 3px 0 0;
    overflow: hidden;
    color: #7a879a;
    font-size: 11px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ipin_chrome_arrow {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-left: 5px;
    color: #92a0b3;
    transition:
      color 0.2s ease,
      transform 0.2s ease;
  }

  .ipin_chrome_arrow svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .ipin_chrome_card:hover .ipin_chrome_arrow {
    color: #5f7591;
    transform: translateX(2px);
  }

  .ipin_chrome_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    padding-left: 46px;
  }

  .ipin_chrome_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 0 10px;
    border: 1px solid #8caed7;
    border-radius: 8px;
    background: #ffffff;
    color: #4d76a8;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease;
  }

  .ipin_chrome_card:hover .ipin_chrome_button {
    border-color: #7298c5;
    background: #f6f9fd;
    color: #3e699d;
  }

  .ipin_chrome_button_icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
  }



  @media (max-width: 1100px) {
    .ipin_chrome_link {
      padding-right: 12px;
      padding-left: 12px;
    }

    .ipin_chrome_footer {
      padding-left: 47px;
    }

    .ipin_chrome_title {
      font-size: 13px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ipin_chrome_card,
    .ipin_chrome_arrow,
    .ipin_chrome_button {
      transition: none;
    }

    .ipin_chrome_card:hover {
      transform: none;
    }
  }