.punycode-page {
    padding: 20px 0 56px;
    background: #fff;
    color: #17336f;
    --punycode-caption-size: 14px;
}
.punycode-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    position: relative;
    --punycode-arrow-angle: 0deg;
}
.punycode-panel {
    min-width: 0;
}
.punycode-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    flex-wrap: wrap;
}
.punycode-panel-heading label {
    margin: 0;
    color: #142c68;
    font-size: 21px;
    font-weight: 700;
}
.punycode-entry-wrap {
    position: relative;
}
.punycode-entry {
    width: 100%;
    border: 1px solid #bed0ed;
    border-radius: 11px;
    padding: 10px 56px 10px 18px;
    color: #1e2c48;
    background: #fff;
    font-size: 20px;
    line-height: 1.55;
    box-shadow: 0 0 0 1px rgba(67, 112, 198, .06);
    resize: vertical;
    font-family: inherit;
}
input.punycode-entry {
    height: 68px;
    font-size: 26px;
}
textarea.punycode-entry {
    min-height: 235px;
}
.punycode-entry:focus {
    border-color: #77a3ef;
    outline: 3px solid rgba(67, 125, 237, .16);
}
.punycode-clear {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #94a8c9;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}
.punycode-clear:hover, .punycode-clear:focus {
    color: #374780;
}
.punycode-length-section {
    margin-top: 16px;
}
.punycode-length-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    color: #294982;
    font-weight: 700;
    font-size: var(--punycode-caption-size);
}
#punycode-length {
    color: #354c78;
    font-weight: 500;
    white-space: nowrap;
}
#punycode-length strong {
    font-size: 20px;
    font-weight: 800;
}
.punycode-error {
    color: #ec142d !important;
}
.punycode-warning {
    color: #b66c00 !important;
}
.punycode-success {
    color: #078b58 !important;
}
.punycode-meter {
    overflow: hidden;
    height: 8px;
    border-radius: 10px;
    background: #e3ebf6;
}
.punycode-meter span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #03bd70;
    transition: width .2s ease;
}
.punycode-meter.punycode-error {
    background: #ffd4db;
}
.punycode-meter.punycode-error span {
    background: #ef1733;
}
.punycode-meter.punycode-warning span {
    background: #f8ad25;
}
.punycode-feedback {
    min-height: 0;
    margin: 16px 0 0;
    color: #40577e;
}
.punycode-feedback:empty {
    display: none;
}
.punycode-single-status {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    min-height: 36px;
    padding: 15px 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.punycode-single-status-text strong {
    font-weight: 600;
}
.punycode-single-status.punycode-success {
    background: #f0faf6;
}
.punycode-single-status.punycode-warning {
    background: #fff8eb;
}
.punycode-single-status.punycode-error {
    background: #fff1f3;
}
.punycode-status-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #03bd70;
    font-size: 20px;
    line-height: 1;
}
.punycode-single-status.punycode-error .punycode-status-icon {
    color: #ee2138;
}
.punycode-single-status.punycode-warning .punycode-status-icon {
    color: #f2ab28;
}
.punycode-single-result {
    margin-top: 22px;
}
.punycode-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.punycode-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    min-height: 110px;
    padding: 18px 20px;
    border: 1px solid #e2eaf8;
    border-radius: 16px;
    background: #fff;
}
.punycode-result-text {
    flex: 1 1 auto;
    align-self: flex-start;
    min-width: 0;
}
.punycode-result-label {
    display: block;
    margin-bottom: 2px;
    color: #45618d;
    font-size: 14px;
    font-weight: 600;
}
.punycode-result-value {
    display: block;
    color: #173477;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.punycode-copy {
    flex: 0 0 auto;
    border: 1px solid #9dc3ff;
    border-radius: 10px;
    padding: 10px 15px;
    color: #123e95;
    background: #fff;
    box-shadow: 0 2px 5px rgba(32, 82, 155, .08);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.punycode-result-card .punycode-copy {
    font-size: 14px;
}
.punycode-copy::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 9px;
    vertical-align: -4px;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123e95' stroke-width='2.5' stroke-linejoin='round'%3E%3Crect x='8' y='7' width='13' height='14' rx='1.5'/%3E%3Cpath d='M16 7V4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h4'/%3E%3C/svg%3E");
}
.punycode-copy:hover, .punycode-copy:focus {
    border-color: #1b69eb;
    background: #f7fbff;
}
.punycode-copy:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.punycode-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    min-height: 64px;
    padding: 12px 18px;
    border-radius: 13px;
    background: #edf7ff;
}
.punycode-info-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    color: #3986f7;
    font-size: 36px;
    line-height: 1;
}
.punycode-info strong {
    display: block;
    color: #194482;
    font-size: 14px;
    line-height: 1.4;
}
.punycode-info p {
    margin: 2px 0 0;
    color: #63799e;
    font-size: 12px;
    line-height: 1.4;
}
.punycode-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 6px;
    border-top: 1px solid #e7ebf2;
}
.punycode-primary {
    display: inline-block;
    text-decoration: none;
    border: 0;
    border-radius: 10px;
    padding: 12px 25px;
    background: #0962ec;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(9, 98, 236, .16);
    cursor: pointer;
}
.punycode-primary span {
    margin-left: 6px;
    font-size: 24px;
    line-height: 0;
    vertical-align: -2px;
}
.punycode-primary:hover, .punycode-primary:focus {
    background: #0752c6;
    color: #fff;
}
#punycode-tool:has(#punycode-multi:not([hidden])) .punycode-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#punycode-tool:has(#punycode-multi:not([hidden])) .punycode-panel {
    padding: 20px;
    border: 1px solid #e0e8f3;
    border-radius: 12px;
    background: #f8fbff;
}
#punycode-tool:has(#punycode-multi:not([hidden])) .punycode-clear {
    top: 12px;
    transform: none;
}
#punycode-output {
    background: #fff;
    padding-right: 16px;
    white-space: pre;
    overflow-wrap: normal;
    word-break: normal;
    overflow-x: auto;
}
.punycode-entry-wrap:has(#punycode-clear-output:not([hidden])) #punycode-output {
    padding-right: 56px;
}
.punycode-results {
    background: #fff;
    border: 0;
    border-radius: 0;
    overflow: visible;
    margin-top: 16px;
}
.punycode-table-wrap {
    border: 1px solid #e0e8f3;
    border-radius: 9px;
    overflow: auto;
    max-width: 100%;
}
.punycode-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    table-layout: fixed;
}
.punycode-table th, .punycode-table td {
    border-top: 1px solid #e9edf4;
    text-align: left;
    padding: 12px 10px;
    vertical-align: middle;
    line-height: 1.45;
}
.punycode-table th {
    color: #374780;
    background: #e6f2ff;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 15px;
    font-weight: 700;
}
.punycode-table td {
    color: #173477;
    overflow-wrap: anywhere;
    font-size: 16px;
}
.punycode-domain-cell, .punycode-ascii-cell {
    min-width: 0;
    max-width: none;
}
.punycode-ascii-cell .punycode-copy {
    display: block;
    margin-top: 8px;
}
.punycode-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 4px;
    background: #edf0f7;
    color: #58617b;
    font-size: 12px;
    vertical-align: middle;
}
.punycode-length {
    white-space: nowrap;
    font-size: 14px;
    color: #173477;
}
.punycode-length strong {
    font-size: 14px;
    font-weight: 500;
}
.punycode-length.punycode-success {
    color: #173477 !important;
}
.punycode-state {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    overflow-wrap: anywhere;
}
.punycode-state small {
    font-size: 13px;
}
.punycode-page [hidden] {
    display: none !important;
}
#punycode-tool {
    padding: 24px;
    border: 1px solid #dce7f5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(23, 52, 119, .08);
}
#punycode-tool.is-multi .punycode-fields {
    gap: 44px;
}
.punycode-direction {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #0865f2;
    background: #edf7ff;
    pointer-events: none;
}
#punycode-tool.is-multi .punycode-direction {
    display: grid;
}
#punycode-tool[data-conversion-source="punycode"] .punycode-fields {
    --punycode-arrow-angle: 180deg;
}
.punycode-direction .fa {
    font-size: 16px;
    transform: rotate(var(--punycode-arrow-angle));
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
#punycode-tool.is-multi .punycode-panel {
    padding: 16px;
}
#punycode-tool.is-multi .punycode-panel-heading label {
    font-size: 18px;
}
#punycode-tool.is-multi textarea.punycode-entry {
    height: 190px;
    min-height: 150px;
    color: #173477;
    font-size: 17px;
    line-height: 1.5;
}
.punycode-multi-hint {
    color: #7085ad;
    font-size: 13px;
}
.punycode-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    color: #173477;
    font-size: 15px;
}
.punycode-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}
.punycode-badge-success {
    color: #0b8148;
    background: #e1faeb;
}
.punycode-badge-error {
    color: #ed142c;
    background: #ffe6eb;
}
.punycode-badge-icon {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    color: #fff;
    background: currentColor;
}
.punycode-badge-warning {
    background: #fff3d9;
    color: #966000;
}
.punycode-badge-warning .punycode-badge-icon {
    background: #966000;
}
.punycode-badge-success .punycode-badge-icon {
    background: #0b8148;
}
.punycode-badge-error .punycode-badge-icon {
    background: #ed142c;
}
.punycode-table .punycode-length, .punycode-table .punycode-length strong {
    font-size: 15px;
}
.punycode-table .punycode-domain-cell {
    color: #173477;
    font-weight: 700;
}
.punycode-table .punycode-ascii-cell {
    color: #173477;
    min-width: 0;
    max-width: none;
    font-size: 15px;
}
.punycode-row-error {
    background: #fff0f3;
}
.punycode-copy-cell, .punycode-check-cell {
    white-space: nowrap;
}
.punycode-table .punycode-copy {
    padding: 6px 12px;
    font-size: 13px;
}
.punycode-check {
    border: 1px solid #0865ee;
    border-radius: 7px;
    padding: 7px 14px;
    background: #0865ee;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}
.punycode-check::before {
    font-size: 18px;
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    vertical-align: -2px;
    background-color: currentColor;
    mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M21 21l-5-5'/%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}
.punycode-check:hover, .punycode-check:focus-visible {
    background: #074dc1;
}
.punycode-check:disabled {
    border-color: #cee0f5;
    background: #e9f2fc;
    color: #96abc5;
    cursor: not-allowed;
}
.punycode-result-card + .punycode-result-card .punycode-result-value {
    word-break: break-all;
}
/* Compact notification frames inside batch result rows. */
.punycode-state.punycode-success {
    border-color: #b4e8c9;
    background: #e1faeb;
}
.punycode-state.punycode-warning {
    border-color: #f2d28c;
    background: #fff3d9;
}
.punycode-state.punycode-error {
    border-color: #f7bdc8;
    background: #ffe6eb;
}
.punycode-table .punycode-copy::before {
    width: 16px;
    height: 16px;
    margin-right: 7px;
    vertical-align: -3px;
}
.punycode-table th:nth-child(1) {
    width: 4%;
}
.punycode-table th:nth-child(2) {
    width: 18%;
}
.punycode-table th:nth-child(3) {
    width: 28%;
}
.punycode-table th:nth-child(4) {
    width: 8%;
    white-space: nowrap;
}
.punycode-table th:nth-child(5) {
    width: 18%;
}
.punycode-table th:nth-child(6) {
    width: 11%;
}
.punycode-table th:nth-child(7) {
    width: 13%;
}
/* Keep each Punycode name on one visual line inside the editor. */
.punycode-single-status-text {
    min-width: 0;
}
.punycode-table .punycode-state strong {
    font-size: 15px;
}
.punycode-table .punycode-state small {
    font-size: 13px;
    line-height: 1.5;
}
.punycode-batch-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #173477;
    gap: 24px;
    margin-top: 18px;
    font-size: 15px;
}
.punycode-batch-footer .punycode-summary:not(:empty) {
    padding-left: 0;
    border-left: 0;
}
.punycode-table .punycode-copy, .punycode-table .punycode-check {
    max-width: 100%;
}
.punycode-update-status {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin: 10px 0 0;
    color: #546c94;
    font-size: 13px;
    line-height: 20px;
}
#punycode-tool.is-validating .punycode-update-status::before {
    content: '';
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border: 2px solid #d6e4fa;
    border-top-color: #2169db;
    border-radius: 50%;
    animation: punycode-checking .8s linear infinite;
}
@keyframes punycode-checking {
    to {
        transform: rotate(360deg);
    }
}
/* Pupils look up and right towards the input while waiting for typing to stop. */
.punycode-typing-eyes {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto;
}
.punycode-typing-eye {
    position: relative;
    display: block;
    width: 16px;
    height: 20px;
    box-sizing: border-box;
    border: 1.5px solid #546c94;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}
.punycode-typing-eye::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 1px;
    width: 7px;
    height: 8px;
    border-radius: 50%;
    background: #173477;
}
/* Match the Whois introduction when the converter has no input. */
.punycode-page:has(#punycode-tool.is-empty:not(.is-editing)) {
    padding-top: 48px;
    padding-bottom: 64px;
}
#punycode-tool.is-empty:not(.is-editing) {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
#punycode-tool.is-empty:not(.is-editing) .punycode-panel-heading {
    margin: 0;
}
#punycode-tool.is-empty:not(.is-editing) .punycode-panel-heading label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
#punycode-tool.is-empty:not(.is-editing) input.punycode-entry {
    height: 80px;
    border-color: #ced4da;
    border-radius: 4px;
    box-shadow: none;
    font-size: 20px;
}
.punycode-intro {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 700px);
    justify-content: center;
    gap: 40px;
    align-items: center;
    margin-top: 44px;
    color: #000;
}
.punycode-intro-image {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}
.punycode-intro-image img {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin-left: auto;
    object-fit: contain;
}
.punycode-intro-copy {
    min-width: 0;
}
.punycode-intro-copy .punycode-intro-title {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}
.punycode-intro-copy h2 {
    margin: 0 0 24px;
    color: #000;
    font-family: inherit;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.3;
    font-weight: 500;
}
.punycode-intro-copy p, .punycode-intro-copy li {
    font-size: 16px;
    line-height: 1.65;
}
.punycode-intro-copy p {
    margin: 0 0 12px;
}
.punycode-intro-copy ul {
    margin: 0;
    padding-left: 30px;
}
/* A transformable label lets the placeholder lift above the input. */
#punycode-domain-label {
    display: inline-block;
    transform-origin: left top;
}
.punycode-return-label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    white-space: nowrap;
    pointer-events: none;
    transform-origin: left top;
}
/* Two-line result cards: icon/title and domain value, without a description. */
.punycode-result-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
}
.punycode-result-heading .punycode-result-label {
    margin: 0;
    color: #173477;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}
.punycode-result-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    color: #173477;
    font-size: 24px;
}
.punycode-result-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    color: #7542d8;
    background: #f0eaff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.punycode-result-card .punycode-result-value {
    padding-left: 38px;
    line-height: 1.4;
}
/* Compact batch summary above the result table. */
.punycode-batch-footer .punycode-summary-badge {
    gap: 5px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 15px;
}
.punycode-batch-footer .punycode-badge-icon,
.punycode-batch-footer .punycode-badge-success .punycode-badge-icon,
.punycode-batch-footer .punycode-badge-warning .punycode-badge-icon,
.punycode-batch-footer .punycode-badge-error .punycode-badge-icon {
    display: inline;
    width: auto;
    height: auto;
    color: inherit;
    background: transparent;
}
.punycode-batch-footer + .punycode-results {
    margin-top: 12px;
}
/* Keep batch results stationary while status messages appear or clear. */
#punycode-tool.is-multi #punycode-feedback,
#punycode-tool.is-multi #punycode-excluded {
    display: block;
    box-sizing: border-box;
    block-size: 44px;
    margin: 12px 0 0;
    line-height: 22px;
    overflow: auto;
}
#punycode-tool:is(.is-editing, .is-multi) .punycode-progress-slot {
    block-size: 28px;
    margin-top: 10px;
    overflow: auto;
}
#punycode-tool:is(.is-editing, .is-multi) .punycode-progress-slot .punycode-update-status {
    min-height: 24px;
    margin: 0;
}
/* Reserve the single-domain validation area before results arrive. */
#punycode-tool.is-editing:not(.is-multi) #punycode-length-section {
    block-size: 45px;
    overflow: clip;
}
#punycode-tool.is-editing:not(.is-multi) #punycode-length-section[hidden] {
    display: block !important;
    visibility: hidden;
}
#punycode-tool.is-editing:not(.is-multi) .punycode-length-heading {
    block-size: 28px;
    min-block-size: 0;
    align-items: center;
    line-height: 28px;
}
#punycode-tool.is-editing:not(.is-multi) #punycode-feedback {
    display: block;
    block-size: 50px;
}
#punycode-tool.is-editing:not(.is-multi) .punycode-single-status {
    block-size: 100%;
    overflow: auto;
}
/* Match the paste hint and batch heading to the THNIC reference. */
.punycode-paste-hint {
    display: none;
    max-width: 100%;
    margin-left: auto;
    color: #94a3b8;
    font-size: var(--punycode-caption-size);
    font-weight: 500;
    line-height: 1.4;
    text-align: right;
}
#punycode-tool.is-editing:not(.is-multi) .punycode-paste-hint {
    display: block;
}
.punycode-batch-count {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}
.punycode-batch-label {
    color: #374780;
    font-weight: 700;
}
#punycode-count {
    color: #94a3b8;
    font-weight: 500;
}
@media (min-width: 981px) {
    .punycode-page .container {
        width: min(1320px, calc(100% - 48px));
        max-width: 1320px;
    }
}
@media (min-width: 981px) and (max-width: 1199px) {
    .punycode-table th, .punycode-table td {
        padding: 10px 6px;
    }
    .punycode-table .punycode-copy, .punycode-table .punycode-check {
        padding: 7px 6px;
        font-size: 12px;
    }
    .punycode-table .punycode-copy::before, .punycode-table .punycode-check::before {
        width: 12px;
        height: 12px;
        margin-right: 4px;
    }
    .punycode-table th:nth-child(4) {
        font-size: 14px;
    }
}
@media (max-width: 980px) {
    .punycode-table-wrap {
        border: 0;
        overflow: visible;
    }
    .punycode-table, .punycode-table tbody, .punycode-table tr, .punycode-table td {
        display: block;
        width: 100%;
    }
    .punycode-table thead {
        display: none;
    }
    .punycode-table tr {
        margin-bottom: 12px;
        padding: 10px 15px;
        border: 1px solid #e0e8f3;
        border-radius: 12px;
        background: #fff;
    }
    .punycode-table .punycode-row-error {
        background: #fff0f3;
    }
    .punycode-table td {
        min-width: 0;
        max-width: none;
        padding: 8px 0;
        border-top: 0;
    }
    .punycode-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: #596078;
        font-size: 13px;
        font-weight: 600;
    }
    .punycode-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .punycode-intro-image {
        width: 100%;
    }
    .punycode-page {
        --punycode-caption-size: 13px;
    }
}
@media (max-width: 767px) {
    .punycode-page {
        padding: 20px 0 44px;
    }
    .punycode-panel-heading label {
        font-size: 16px;
    }
    .punycode-entry {
        font-size: 17px;
    }
    input.punycode-entry {
        height: 56px;
        font-size: 17px;
    }
    .punycode-result-grid,
    #punycode-tool:has(#punycode-multi:not([hidden])) .punycode-fields {
        grid-template-columns: minmax(0, 1fr);
    }
    .punycode-result-card {
        padding: 15px;
        min-height: 104px;
    }
    .punycode-result-card .punycode-copy {
        font-size: 14px;
    }
    .punycode-result-value {
        font-size: 19px;
    }
    .punycode-info {
        align-items: flex-start;
        padding: 12px;
    }
    .punycode-info strong {
        font-size: 13px;
    }
    .punycode-info p {
        font-size: 12px;
    }
    .punycode-action {
        display: block;
    }
    .punycode-primary {
        width: 100%;
    }
    .punycode-results {
        border: 0;
        background: transparent;
    }
    .punycode-results h2 {
        padding: 0 0 12px;
    }
    #punycode-tool {
        padding: 16px;
    }
    #punycode-tool.is-multi .punycode-fields {
        gap: 32px;
    }
    .punycode-fields {
        --punycode-arrow-angle: 90deg;
    }
    #punycode-tool[data-conversion-source="punycode"] .punycode-fields {
        --punycode-arrow-angle: 270deg;
    }
    .punycode-table-wrap {
        border: 0;
    }
    .punycode-table .punycode-ascii-cell {
        min-width: 0;
        max-width: none;
    }
    .punycode-summary {
        gap: 8px;
    }
    .punycode-page:has(#punycode-tool.is-empty:not(.is-editing)) {
        padding-top: 20px;
        padding-bottom: 44px;
    }
    #punycode-tool.is-empty:not(.is-editing) input.punycode-entry {
        height: 56px;
        font-size: 16px;
    }
    .punycode-intro {
        gap: 24px;
        margin-top: 32px;
    }
    .punycode-intro-copy .punycode-intro-title {
        font-size: 20px;
    }
    .punycode-intro-copy h2 {
        margin-bottom: 18px;
        font-size: 30px;
    }
    #punycode-tool.is-editing:not(.is-multi) {
        padding-top: 8px;
    }
    .punycode-result-heading {
        gap: 8px;
    }
    .punycode-result-heading .punycode-result-label {
        font-size: 14px;
    }
    .punycode-result-icon {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
        font-size: 20px;
    }
    .punycode-result-badge {
        padding: 4px 6px;
        font-size: 12px;
    }
    .punycode-result-card .punycode-result-value {
        padding-left: 30px;
    }
    #punycode-tool.is-multi #punycode-feedback,
    #punycode-tool.is-multi #punycode-excluded {
        block-size: 66px;
    }
    #punycode-tool:is(.is-editing, .is-multi) .punycode-progress-slot {
        block-size: 44px;
    }
    #punycode-tool.is-editing:not(.is-multi) #punycode-length-section {
        block-size: 67px;
    }
    #punycode-tool.is-editing:not(.is-multi) .punycode-length-heading {
        block-size: 50px;
        line-height: 20px;
    }
    #punycode-tool.is-editing:not(.is-multi) #punycode-feedback {
        block-size: 70px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .punycode-direction .fa {
        transition: none;
    }
    .punycode-meter span {
        transition: none;
    }
    #punycode-tool.is-validating .punycode-update-status::before {
        animation: none;
    }
}
