body.browser-page .gm-comment-input {
    position: relative;
    width: 100%;
    min-width: 0;
}
body.browser-page .gm-comment-input > input[name="comment"] {
    padding-right: 50px;
}
body.browser-page .gm-comment-input > input[name="comment"][hidden] { display: none; }
body.browser-page .gm-comment-input > .gm-comment-editor {
    display: block;
    box-sizing: border-box;
    padding-right: 50px;
    margin: 0;
    white-space: pre;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    line-height: 24px;
    outline: none;
    cursor: text;
}
body.browser-page .gm-comment-editor::-webkit-scrollbar { display: none; }
body.browser-page .gm-comment-editor:empty::before {
    content: attr(data-placeholder);
    color: #777;
    pointer-events: none;
}
body.browser-page .gm-comment-editor:focus-visible { box-shadow: inset 0 0 0 1px #505663; }
body.browser-page .gm-comment-editor[aria-disabled="true"] { opacity: .6; cursor: default; }
body.browser-page .gm-comment-rating {
    display: inline-block;
    width: 64px;
    height: 28px;
    margin: 0 2px;
    vertical-align: middle;
    line-height: 1;
    user-select: all;
}
body.browser-page #ChangeNameCommnet .gm-comment-input { margin-bottom: 15px; }
body.browser-page #ChangeNameCommnet .gm-comment-input > input[name="comment"] { margin-bottom: 0; }
body.browser-page #post_comment .gm-comment-input > button.gm-comment-emoji-toggle,
body.browser-page .gm-comment-input > button.gm-comment-emoji-toggle {
    position: absolute;
    top: 0;
    right: 6px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: auto 0;
    float: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #a9adb9;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease;
}
body.browser-page #post_comment .gm-comment-input > button.gm-comment-emoji-toggle:hover,
body.browser-page #post_comment .gm-comment-input > button.gm-comment-emoji-toggle[aria-expanded="true"],
body.browser-page .gm-comment-input > button.gm-comment-emoji-toggle:hover,
body.browser-page .gm-comment-input > button.gm-comment-emoji-toggle[aria-expanded="true"] {
    background: #303641;
    color: #fff;
}
body.browser-page .gm-comment-emoji-panel {
    position: fixed;
    z-index: 2147483647;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    box-sizing: border-box;
    width: 280px;
    padding: 10px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #383e49;
    border-radius: 12px;
    background: #242731;
    box-shadow: 0 8px 24px #0005;
}
body.browser-page .gm-comment-emoji-panel[hidden] { display: none; }
body.browser-page .gm-comment-emoji-panel > button,
body.browser-page .gm-comment-emoji-ratings > button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
body.browser-page .gm-comment-emoji-panel > button:hover,
body.browser-page .gm-comment-emoji-ratings > button:hover { background: #383e49; }
body.browser-page .gm-comment-emoji-heading {
    grid-column: 1 / -1;
    padding: 8px 4px 2px;
    color: #a9adb9;
    font-size: 12px;
    line-height: 18px;
}
body.browser-page .gm-comment-emoji-ratings {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}
body.browser-page .gm-comment-emoji-ratings .gm-comment-rating { margin: 0; pointer-events: none; }
body.browser-page .gm-comment-input > button.gm-comment-emoji-toggle:focus-visible,
body.browser-page .gm-comment-emoji-panel > button:focus-visible,
body.browser-page .gm-comment-emoji-ratings > button:focus-visible {
    outline: 2px solid #ff4343;
    outline-offset: -2px;
}
