@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-content:""}}}.custom-md{counter-reset:theorem-counter lemma-counter}.custom-md h1{font-size:var(--text-3xl,1.875rem);line-height:var(--tw-leading,var(--text-3xl--line-height, 1.2 ))}.custom-md :is(h1,h2,h3,h4,h5,h6) .anchor{margin:calc(var(--spacing,.25rem) * -.5);padding:calc(var(--spacing,.25rem) * .5);opacity:0;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));-webkit-user-select:none;user-select:none;margin-inline-start:.2ch;text-decoration-line:none}.custom-md :is(h1,h2,h3,h4,h5,h6) .anchor .anchor-icon{margin-inline:.45ch}.custom-md :is(h1,h2,h3,h4,h5,h6):hover .anchor{opacity:1}.custom-md a:not(.no-styling){--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--primary);text-decoration-line:underline;-webkit-text-decoration-color:var(--link-underline);text-decoration-color:var(--link-underline);text-underline-offset:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone;background-image:none;text-decoration-style:dashed;text-decoration-thickness:1px;position:relative}.custom-md a:not(.no-styling):hover,.custom-md a:not(.no-styling):active{background:var(--btn-plain-bg-hover);border-bottom:1px dashed var(--link-hover);text-decoration:none}.custom-md code{border-radius:var(--radius-md,.375rem);background-color:var(--inline-code-bg);padding-inline:calc(var(--spacing,.25rem) * 1);padding-block:calc(var(--spacing,.25rem) * .5);color:var(--inline-code-color);font-family:JetBrains Mono Variable,JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;overflow:hidden}.custom-md code:before,.custom-md code:after{content:none}.custom-md code{counter-reset:line}.custom-md code span.line:before{margin-right:calc(var(--spacing,.25rem) * 4);width:calc(var(--spacing,.25rem) * 4);color:#ffffff40;display:inline-block}@supports (color:color-mix(in lab,red,red)){.custom-md code span.line:before{color:color-mix(in oklab,var(--color-white,#fff) 25%,transparent)}}.custom-md code span.line:before{-webkit-user-select:none;user-select:none;content:counter(line);counter-increment:line;direction:rtl}.custom-md code span.line:last-child:empty,.custom-md code span.line:last-child:has(>span:empty:only-child){display:none}:is(.custom-md ul,.custom-md ol) li::marker{color:var(--primary)}.custom-md blockquote{font-style:normal;font-weight:inherit;border-color:#0000;position:relative}.custom-md blockquote:before{left:calc(var(--spacing,.25rem) * 0);height:100%;width:calc(var(--spacing,.25rem) * 1);background-color:var(--btn-regular-bg);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-content:"";content:var(--tw-content);border-radius:3.40282e38px;display:block;position:absolute}.custom-md blockquote p:before,.custom-md blockquote p:after{--tw-content:none;content:none}.custom-md .table-wrapper{margin:calc(var(--spacing,.25rem) * 0);border-radius:var(--radius-large);-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.custom-md .table-wrapper::-webkit-scrollbar{width:6px;height:6px}.custom-md .table-wrapper::-webkit-scrollbar-track{margin:0 calc(var(--radius-large) + 2px);background:0 0}.custom-md .table-wrapper::-webkit-scrollbar-thumb{background:var(--scrollbar-bg);border-radius:4px}.custom-md .table-wrapper::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-bg-hover)}.custom-md .table-wrapper::-webkit-scrollbar-thumb:active{background:var(--scrollbar-bg-active)}.custom-md table{margin:calc(var(--spacing,.25rem) * 0);border-collapse:separate;background-color:var(--card-bg);border-spacing:0;border:1px solid var(--line-divider);border-radius:var(--radius-large);width:100%;overflow:hidden}.custom-md th,.custom-md td{padding-inline:calc(var(--spacing,.25rem) * 4);padding-block:calc(var(--spacing,.25rem) * 3);white-space:nowrap;border-bottom:1px solid var(--line-divider);border-right:1px solid var(--line-divider);transition:none}.custom-md th{background-color:var(--btn-regular-bg);color:var(--btn-content);text-align:left;font-weight:600}.custom-md tr:last-child td{border-bottom:none}.custom-md th:last-child,.custom-md td:last-child{border-right:none}.custom-md tr:nth-child(2n){background-color:var(--codeblock-bg)}.custom-md tr:hover td{background-color:var(--btn-plain-bg-hover);transition:none}.custom-md .katex-display{margin-block:calc(var(--spacing,.25rem) * 4);box-sizing:border-box;-webkit-overflow-scrolling:touch;scrollbar-width:thin;width:100%;padding-top:.5rem;padding-bottom:2px;overflow:auto hidden}.custom-md .katex-display::-webkit-scrollbar{width:3px;height:3px}.custom-md .katex-display::-webkit-scrollbar-button{width:0;height:0;display:none}.custom-md .katex-display::-webkit-scrollbar-track{background:0 0}.custom-md .katex-display::-webkit-scrollbar-thumb{background:var(--scrollbar-bg);border-radius:999px}.custom-md .katex-display::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-bg-hover)}.custom-md .katex-display::-webkit-scrollbar-thumb:active{background:var(--scrollbar-bg-active)}.custom-md .katex-display>.katex{width:fit-content;min-width:calc(100% - 2px);display:block}.custom-md .katex-display>.katex:has(.tag)>.katex-html{box-sizing:border-box;padding-right:3rem;display:block}.custom-md .katex .math-accent{color:var(--primary);font-weight:700}.custom-md .katex .math-note{color:var(--text-main);background:var(--btn-plain-bg-hover);border-radius:.45rem;padding:.08em .45em}.custom-md .katex .math-link{color:var(--primary);font-weight:600}.custom-md .katex-html a{color:var(--primary);text-underline-offset:.14em;text-decoration:underline;text-decoration-thickness:.08em}.custom-md .paper-math-block,.custom-md .paper-statement,.custom-md .paper-math-cols{border:1px solid var(--line-divider);background:linear-gradient(180deg,var(--card-bg),var(--card-bg));border-radius:1rem;margin:1.25rem 0}@supports (color:color-mix(in lab,red,red)){.custom-md .paper-math-block,.custom-md .paper-statement,.custom-md .paper-math-cols{background:linear-gradient(180deg,color-mix(in oklch,var(--card-bg) 94%,var(--primary) 6%),color-mix(in oklch,var(--card-bg) 98%,transparent 2%))}}.custom-md .paper-math-block,.custom-md .paper-statement,.custom-md .paper-math-cols{overflow:hidden}.custom-md .paper-math-head,.custom-md .math-statement-head{border-bottom:1px solid var(--line-divider);background:var(--btn-regular-bg);align-items:center;gap:.55rem;padding:.9rem 1rem .75rem;display:flex}@supports (color:color-mix(in lab,red,red)){.custom-md .paper-math-head,.custom-md .math-statement-head{background:color-mix(in oklch,var(--btn-regular-bg) 88%,transparent 12%)}}.custom-md .paper-math-head,.custom-md .math-statement-head{color:var(--text-main);font-size:.95rem;font-weight:700;line-height:1.5}.custom-md .paper-math-head>div,.custom-md .math-statement-title>div,.custom-md .paper-math-head>p,.custom-md .math-statement-title>p{margin:0}.custom-md .paper-math-body,.custom-md .math-statement-body{padding:.95rem 1rem 1.05rem}.custom-md .paper-math-body>:first-child,.custom-md .math-statement-body>:first-child{margin-top:0}.custom-md .paper-math-body>:last-child,.custom-md .math-statement-body>:last-child{margin-bottom:0}.custom-md .paper-math-compact{margin:.9rem 0 1.15rem}.custom-md .paper-math-compact .paper-math-head{padding-bottom:.65rem}.custom-md .paper-math-compact .paper-math-body{padding-top:.7rem;padding-bottom:.8rem}.custom-md .paper-math-compact .katex-display{margin-top:.5rem;margin-bottom:.5rem}.custom-md .paper-math-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;display:grid}.custom-md .paper-math-cols>.paper-math-head{grid-column:1/-1}.custom-md .paper-math-col{min-width:0;padding:0}.custom-md .paper-math-col+.paper-math-col{border-left:1px solid var(--line-divider)}.custom-md .paper-math-col .paper-math-head{background:0 0;border-bottom-width:0;padding-bottom:.35rem}.custom-md .paper-math-col .paper-math-body{padding-top:.2rem}.custom-md .paper-math-col .katex-display{margin-top:.55rem;margin-bottom:.55rem}.custom-md .paper-statement{position:relative}.custom-md .paper-theorem{counter-increment:theorem-counter}.custom-md .paper-lemma{counter-increment:lemma-counter}.custom-md .math-statement-kind{color:var(--primary);letter-spacing:.01em;align-items:center;gap:.35rem;font-weight:800;display:inline-flex}.custom-md .paper-theorem .math-statement-kind:before{content:"定理 " counter(theorem-counter)}.custom-md .paper-lemma .math-statement-kind:before{content:"引理 " counter(lemma-counter)}.custom-md .math-statement-title{color:var(--text-main);font-weight:650}.custom-md .paper-statement .math-statement-body{font-size:.98rem}.custom-md .paper-math-long .paper-math-body{padding-bottom:.9rem}.custom-md .paper-math-long .katex-display{margin-top:.55rem;margin-bottom:.35rem}.custom-md .paper-math-long .katex-display>.katex{width:max-content;min-width:max-content}.custom-md .paper-math-long .katex-display>.katex:has(.tag)>.katex-html{min-width:max-content}.custom-md .image-grid{--image-grid-gap:.9rem;gap:var(--image-grid-gap);flex-direction:column;margin:1.2rem 0;display:flex}.custom-md .image-grid[data-gap=sm]{--image-grid-gap:.6rem}.custom-md .image-grid[data-gap=md]{--image-grid-gap:.9rem}.custom-md .image-grid[data-gap=lg]{--image-grid-gap:1.25rem}.custom-md .image-grid-row{grid-template-columns:repeat(var(--image-grid-columns,2),minmax(0,1fr));align-items:stretch;gap:var(--image-grid-gap);display:grid}.custom-md .image-grid-figure{flex-direction:column;justify-content:stretch;min-width:0;height:100%;margin:0;display:flex;overflow:hidden}.custom-md .image-grid-image{object-fit:cover;object-position:center;background:var(--codeblock-bg);cursor:zoom-in;border-radius:1rem;flex-grow:1;width:100%;height:100%;min-height:220px;margin:0;display:block}.custom-md .image-grid-caption{color:var(--text-secondary);text-align:center;margin-top:.55rem;margin-bottom:0;font-size:.92rem;line-height:1.5}@media(min-width:901px){.custom-md .image-grid[data-desktop-visible=false]{display:none}}@media(max-width:900px)and (min-width:641px){.custom-md .image-grid[data-tablet-visible=false]{display:none}.custom-md .image-grid[data-tablet-visible=true] .image-grid-row{grid-template-columns:repeat(var(--image-grid-tablet-columns,3),minmax(0,1fr))}}@media(max-width:900px){.custom-md .paper-math-cols{grid-template-columns:1fr}.custom-md .paper-math-col+.paper-math-col{border-left:none;border-top:1px solid var(--line-divider)}}@media(max-width:640px){.custom-md .image-grid[data-mobile-visible=false]{display:none}.custom-md .image-grid[data-mobile-visible=true] .image-grid-row{grid-template-columns:repeat(var(--image-grid-mobile-columns,2),minmax(0,1fr))}}.custom-md .expressive-code :is(ul,ol) li::marker{color:inherit}:root:not(.dark) .custom-md spoiler{--_spoiler-mask:var(--primary)}@supports (color:color-mix(in lab,red,red)){:root:not(.dark) .custom-md spoiler{--_spoiler-mask:color-mix(in oklch, var(--primary) 55%, white 45%)}}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}
