:root {
    --primary-color: #444;
    --active-color: #000;
    --key-color: #ffbd39;
    /* --primary-color: #ffbd39; */
    --disable-color: #9f9f9f;
    --content-color: #ffffff;
    --outline-color: #eee;
    --bg-color: #fff;
    /* --bg-color: #000000; */
    --night-font-color: #000;
    --btn-font-color: #000000;
    --primary-focus-color: #fff;
    --error-color: #CC0000;
    --checked-color: #25c57b;
    --white-color: #fff;
    --wrap: 760px;
    --sidebar: 250px;
    --sidebar-title: 1rem;
    --sidebar-background: #f8f9fa;
    --sidebar-font: 0.9rem;
    --sidebar-active: #eee;
}
html {
    -webkit-text-size-adjust: 100%;
}
body,
button,
input,
select,
textarea,
.ui-widget {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
body {
    background-color: var(--bg-color);
}
.ui-front { z-index:1060 !important; }
a,
a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    max-width: var(--wrap);
    position: relative;
    padding-left: 0px;
    padding-right: 0px;
}

.btn {
    font-size: 1rem;
    line-height: 39px;
    padding-top: 0px;
    padding-bottom: 0px;
    /* border-radius: 50px; */
    padding-left: 40px;
    padding-right: 40px;
}

/* .btn,
.btn:hover {
    color: var(--btn-font-color);
}

.btn a {
    color: var(--btn-font-color);
} */
#submit {
    border-radius: 20px;
}

.btn-lg {
    font-size: 1.2rem;
    height: 59px;
    line-height: 59px;
    max-width: 355px;
    width: 90%;
}

.btn-check+.btn:hover,
.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:focus {
    background-color: var(--active-color);
    border-color: var(--primary-focus-color);
    color: var(--content-color);
}

:not(.btn-check)+.btn:active,
.btn.active,
.btn.show,
.btn:first-child:active {
    color: var(--primary-focus-color);
    background-color: var(--active-color);
    border-color: var(--primary-focus-color);
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    opacity: 1;
    background-color: var(--disable-color) !important;
    border-color: var(--disable-color) !important;
}

.form-select:disabled {
    background-color: var(--disable-color);
    border-color: var(--disable-color);
    color: var(--bs-btn-disabled-color);
}

.btn-kakao,
.btn-kakao:hover,
.btn-kakao:active,
.btn-kakao:focus {
    background-color: #fee500 !important;
    border-color: #fee500 !important;
    color: #000 !important;
}

.btn-naver,
.btn-naver:hover,
.btn-naver:active,
.btn-naver:focus {
    background-color: #03c75a !important;
    border-color: #03c75a !important;
    color: #000 !important;
}

.snsbtn-naver svg {
    fill: #fff;
}

.btn-outline {
    border: 1px solid var(--bs-gray-900);
    background-color: var(--content-color);
    color: var(--bs-gray-900);
}

.btn-outline:hover {
    background-color: var(--content-color);
    border-color: var(--bs-gray-900);
}

.btn-outline:focus {
    background-color: var(--content-color);
    color: var(--bs-gray-900);
}

.btn-outline a {
    color: var(--bs-gray-900);
}

.btn-group.full {
    display: flex;
}

.btn-group.full .btn-check {
    flex: 1;
}

.m-wrap {
    max-width: var(--wrap);
    margin: 0 auto;
}

.m-wrap .contents {
    background-color: var(--bs-white);
    border-radius: 10px;
    padding: 40px 30px;
    /* margin-left: 30px;
    margin-right: 30px; */
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
}

.m-wrap.member-login-page .contents {
    box-shadow: none;
}

.member-login-page .login-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.member-login-page .login-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--primary-color);
}

/* form */
label.form-label {
    font-size: 1rem;
    color: var(--disable-color);
}

.breadcrumb-chevron {
    margin: 0 4px;
    font-size: 18px;
    font-weight: 300;
    vertical-align: -4px;
}

.form-control,
.form-select,
.input-group-text {
    border-radius: 20px;
}

input.form-control,
select.form-select:not([multiple]):not([size]),
.input-group-text {
    height: 36px;
    min-height: 36px;
}

input.form-control,
select.form-select:not([multiple]):not([size]) {
    padding-top: 5px;
    padding-bottom: 5px;
}

select.form-select:not([multiple]):not([size]) {
    box-sizing: border-box;
    padding-right: 36px;
    padding-left: 18px;
    font-size: 14px;
    line-height: 24px;
}

textarea.form-control {
    min-height: 96px;
    border-radius: 20px;
}

.input-group {
    border-radius: 20px;
}

.input-group > :first-child {
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

.input-group > :last-child {
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.mb-3:focus-within label {
    color: var(--primary-color);
}

input.theme1 {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: -1px 2px 0px -1px var(--disable-color);
    border-radius: 0;
    padding-left: 0px;
    display: block;
}

input.theme1:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: red;
}

input.theme1:focus {
    box-shadow: -1px 3px 0px -1px var(--primary-color);
    border-color: var(--primary-color);
}

.mb-rem2 {
    margin-bottom: 1rem !important;
}

.page-back {
    color: var(--bs-white);
    margin-left: 10px;
}

.label-forgot {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

h1 {
    font-size: 1.8rem;
    color: var(--bs-white);
    margin-bottom: 20px;
    margin-top: 5px;
}

/* login */
#login_msg {
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.login-or {
    margin-top: 40px;
    font-size: 24px;
    font-family: NanumSquare;
    font-weight: 600;
    color: var(--disable-color);
    position: relative;
}

.login-or:before {
    content: "";
    position: absolute;
    width: 30%;
    border-top: 1px solid var(--disable-color);
    top: 17px;
    left: 12%;
}

.login-or:after {
    content: "";
    position: absolute;
    width: 30%;
    border-top: 1px solid var(--disable-color);
    top: 17px;
    right: 12%;
}

.m-wrap .snslogin {
    margin: 30px auto;
    max-width: 145px;
    width: 100%;
    overflow: hidden;
}

.m-wrap .snsbtn-login:first-child {
    margin-left: 0px;
}

.m-wrap .snsbtn-login:last-child {
    margin-right: 0px;
}

.m-wrap .snsbtn-login {
    float: left;
    margin: 0 15px;
    max-width: 56px;
}

.m-wrap .snsbtn-text {
    font-size: 12px;
}

.snslogin svg {
    fill: var(--bs-white);
}

.snslogin span {
    color: var(--bs-white);
}

.top-controll .member {
    position: relative;
    display: inline-block;
    padding-top:2px;
    padding-right: 0px;
    cursor: pointer;
    font-size: 14px;
}

.top-controll .member:after {
    position: absolute;
    display:none; 
    font-family: "bootstrap-icons";
    content: '\F282';
    right: 5px;
    top: 2px;
    font-size: 16px;
    color: var(--primary-color);
}

.navbar {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 189, 57, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
}

.navbar-brand:focus,
.navbar-brand:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
    color: var(--content-color);
}

.nav-link:focus,
.nav-link:hover {
    color: var(--outline-color);
}
nav .nav-link.active::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 5px;
    height: 18px;
    background-color: #000;
    border-radius: 3px;
}

.nav-link {
    position:relative;
    display:inline-block;
    color: var(--disable-color);
    font-size: 1.2rem;
}
.nav-link.sub-menu { padding-left:45px !important; }
.nav-link.sub-menu.sub-active { font-weight:900;}

.nav-link > i { font-size:20px; padding-right:6px; }

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color);
}

.top-section {
    background-color: var(--content-color);
    height: 40px;
    line-height: 35px;
    color: var(--primary-color);
    border-bottom: 1px solid rgb(238, 238, 238);
}

.top-section .top-home {
    position: relative;
    font-weight: 500;
    font-size: 20px;
    padding-left: 0px;
}

.top-section .top-home:after {
    /* content: '알림';
    position: absolute;
    top: 9px;
    left: 0px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 12px;
    height: 22px;
    line-height: 16px; */
}

.top-section .top-home.landing {
    padding-left: 38px;
}

.top-section .top-home.landing:after {
    content: '알림';
}

.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0px 0px 0px;
    align-items: flex-end;
    margin-bottom: 0px;
}

.header .brand {
    margin-right: auto;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 400;
    position: relative;
    top: 0px;
    left: 0px;
    line-height: 1.2;
    align-self: flex-start;
    padding: 10px 10px 10px 0px;
}

.header .brand a {
    font-weight: 600;
}

.header .brand .bi {
    padding: 0px 2px 0px 3px;
}

.header .noti {
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    align-self: flex-start;
}

.header .noti .unread {
    background-color: var(--key-color);
    color: var(--night-font-color);
    padding: 4px 12px;
    border-radius: 20px;
    position: relative;
    top: 8px;
    margin-right: 10px;
    font-weight: 500;
}

.header .noti .unread .bi {
    font-size: 20px;
}

.header .search {
    align-self: flex-start;
    padding-top: 8px;
}

.header .search .bi {
    color: var(--primary-color);
    font-size: 30px;
    cursor: pointer;
    align-self: flex-start;
}

.header.main-page-header {
    align-items: center;
    min-height: 56px;
    padding: 10px 0;
}

.header.main-page-header .brand {
    align-self: center;
    margin-left: 10px;
    padding: 0;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 36px;
}

.header.main-page-header .search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--content-color);
    color: var(--primary-color);
    cursor: pointer;
}

.header.main-page-header .search .material-symbols-rounded {
    font-size: 20px;
    font-variation-settings: 'wght' 300;
    line-height: 1;
}

.bottom-section {
    position: fixed;
    background-color: var(--bg-color);
    bottom: 0;
    height: 70px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-top: 1px solid var(--primary-color);
    margin-bottom: 0px;
    z-index: 2;
    border-top: 1px solid rgb(238, 238, 238);
}

.nav-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 10px;
    align-items: flex-end;
    justify-content: space-around;
    max-width: var(--wrap);
    margin: 0 auto;
}

.nav-bottom li {
    color: var(--primary-color);
    text-align: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.nav-bottom li .bi {
    font-size: 19px;
}

.nav-bottom li.quick {
    position: absolute;
    right: 0px;
    top: -210px;
    height: 0px;
}

.schedule {
    position: relative;
}

.schedule th {
    background-color: var(--outline-color);
    color: var(--primary-color);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
}

.schedule th.th-date {
    width: 90px;
    padding-right: 0px;
    text-align: right;
}

.schedule td {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-bottom: none;
    border-top: 1px solid var(--outline-color);
    padding: 15px;
}

.schedule td.td-time {
    padding-right: 0px;
    text-align: right;
}

.schedule td .title {
    margin-bottom: 5px;
}

.schedule td .status {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    top: 5px;
}

.schedule td .badge {
    font-weight: 400;
    position: relative;
    margin-right: 3px;
    color: var(--primary-color) !important;
    background-color: var(--bg-color) !important;
    border: 1px solid var(--primary-color) !important;
}

.schedule th:first-child {
    border-top-left-radius: 5px;
}

.schedule th:last-child {
    border-top-right-radius: 5px;
}

.making {
    position: relative;
    display: inline-block;
    background-color: var(--bg-color);
    color: var(--content-color);
    border-radius: 20px;
    z-index: 10;
    padding: 10px 28px;
    margin-bottom: 0px;
    display: none;
}

.making li {
    text-align: left;
    padding: 10px 0px;
    color: var(--night-font-color);
}

.making li .bi {
    font-size: 16px;
    padding-right: 5px;
}

.making:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-top: 10px solid var(--primary-color);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.empty {
    height: 0px;
}

.bottom-padding {
    height: 80px;
}

.box {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 25px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.box.outline {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.box a {
    color: var(--bg-color);
}

#loaderbg {
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0% 0%;
    z-index: 2000;
    width: 100%;
    height: 100%;
    display: none;
}

#loader {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    animation: spin 1s linear infinite;
    border-color: #3498db #f3f3f3 #f3f3f3;
    border-image: none;
    border-radius: 50%;
    border-style: solid;
    border-width: 4px;
    height: 60px;
    left: 50%;
    margin: -40px 0 0 -40px;
    position: absolute;
    top: 50%;
    width: 60px;
    z-index: 1;
}

.close-loader {
    float: right;
    padding: 15px;
    cursor: pointer;
}

.desc {
    position: absolute;
    top: 55%;
    left: 50%;
    margin-left: -102px;
    width: 200px;
    color: #fff;
    text-align: center;
    font-size: 13px;
}

.spinner:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 20px;
    left: 22px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #3c4450;
    animation: spinner 0.9s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    0% {
        background-color: var(--primary-color);
        color: var(--content-color);
    }

    50% {
        background-color: transparent;
        color: var(--primary-color);
    }

    100% {
        background-color: var(--primary-color);
        color: var(--content-color);
    }
}

.w50 {
    width: 50px;
}

.w100 {
    width: 100px;
}

.w150 {
    width: 150px;
}

.w200 {
    width: 200px;
}

/* .form-control:focus { background-color:var(--night-font-color); color:var(--primary-color);} */
/* .input-group .input-group-text { background-color:var(--primary-color); color:var(--content-color);  } */
input.form-control {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.form-text {
    color: var(--primary-color);
}

input::placeholder {
    color: var(--disable-color) !important;
}

.form-select {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.table_01 td,
.table_01 th {
    color: #fff;
}

#club-check {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
    color: var(--content-color);
}

.btn-check:checked+.btn {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--content-color);
}

.btn.checked:after {
    position: absolute;
    content: '\F633';
    font-family: "bootstrap-icons";
    color: var(--checked-color);
    top: 0px;
    left: 12px;
    font-size: 22px;
}

.err {
    color: var(--error-color);
    border-color: var(--error-color);
}

.blink {
    animation: blink 1s infinite;
}

.relative {
    position: relative !important;
}

.check {
    display: flex;
    margin: 0px;
    padding: 0px;
	height: 36px;
	min-height: 36px;
	border: 2px solid var(--primary-color);
	border-radius: 20px;
	background-color: var(--primary-color);
	overflow: hidden;
}

.check li {
    flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
    text-align: center;
    cursor: pointer;
	padding: 0 8px;
	border: 0;
	color: #fff;
	line-height: 32px;
}

.check li:last-child {
    border-right: none;
}

.check li.active {
	border-radius: 18px;
	background-color: var(--content-color);
	color: var(--primary-color);
}

.check li.active.disabled {
    background-color: var(--disable-color);
}

.check li:first-child.active {
	border-radius: 18px;
}

.check li:last-child.active {
	border-radius: 18px;
}

.flex {
    display: flex;
}

.top-home {
    flex-grow: 1;
}

.top-controll {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    text-align: right;
}

.top-controll.logged-control {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    height: 39px;
    line-height: 1;
    gap: 7px;
}

.header-club-switcher {
    align-self: center;
    box-sizing: border-box;
    max-width: 150px;
    height: 24px;
    min-height: 24px;
    margin: 0;
    border: 1px solid var(--bs-border-color);
    border-radius: 13px;
    background-color: #fff;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
}

.header-club-switcher.single {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    padding: 0 12px;
    text-decoration: none;
    text-overflow: ellipsis;
}

.header-club-switcher-group {
    position: relative;
    display: flex;
    align-self: center;
    width: 150px;
    max-width: 150px;
    height: 24px;
    border: 1px solid var(--bs-border-color);
    border-radius: 13px;
    background: #fff;
}

.header-club-switcher-main {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    padding: 0 9px 0 12px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-club-shortcut-icon {
    flex: 0 0 14px;
    width: 14px;
    font-size: 14px;
    font-variation-settings: 'wght' 300;
    line-height: 1;
}

.header-club-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-club-switcher-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 22px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--bs-border-color);
    border-radius: 0 12px 12px 0;
    background: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 12px;
    color: var(--primary-color);
}

.header-club-switcher-menu {
    position: absolute;
    z-index: 1070;
    display: none;
    top: 28px;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 5px 0;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    background: #fff;
    list-style: none;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .08);
}

.header-club-switcher-group.show .header-club-switcher-menu {
    display: block;
}

.header-club-switcher-menu a {
    display: block;
    overflow: hidden;
    padding: 7px 12px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    text-align: left;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-controll.logged-control .member.logged-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 24px;
    padding-top: 0;
    line-height: 1;
}

.top-controll.logged-control .member.logged-in .bi {
    line-height: 1;
}

.header-profile-avatar { display:block; width:24px; height:24px; border-radius:50%; object-fit:cover; }

.top-controll .bi {
    font-size: 24px;
}

.signup,
.signin {
    font-size: 0.8rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    height: 22px;
    line-height: 16px;
    cursor: pointer;
}

.signup {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-right: 5px;
}

th.blue,
.blue {
    color: blue !important;
}

th.red,
.red {
    color: red !important;
}

.game-title {
    font-size: 1rem;
    padding: 10px 0px 6px;
    position: relative;
}
.game-title h5 { font-size:1.1rem; margin-bottom:0px;}
.game-title.sidebar-title h5 { line-height:1.5rem; }
.game-title.club-title { width:100%; }
.game-title.club-title .club-home-link { color:inherit; font-size:inherit; font-weight:inherit; text-decoration:none; }
.game-title.club-title .club-position-menu { display:inline-flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:32px; margin-left:auto; padding:0; border:0; border-radius:50%; background:transparent; color:var(--primary-color); }
.game-title.club-title .club-position-menu .material-symbols-rounded { font-size:24px; font-weight:300; line-height:1; }
body.club-settings-open { overflow:hidden; }
.club-settings-modal { position:fixed; inset:0; z-index:3100; display:none; flex-direction:column; width:100vw; height:100vh; height:100dvh; background-color:var(--content-color); }
.club-settings-modal.show { display:flex; }
.club-settings-modal-header { display:flex; flex-shrink:0; align-items:center; width:100%; max-width:var(--wrap); margin:0 auto; padding:16px 15px; border-bottom:1px solid var(--outline-color); }
.club-settings-modal-header h5 { margin:0; color:var(--primary-color); font-size:1.1rem; }
.club-settings-modal-close { margin-left:auto; padding:4px 8px; border:0; background:transparent; color:var(--primary-color); font-size:13px; }
.club-settings-modal-save { min-width:48px; height:30px; margin-left:6px; padding:0 12px; border:1px solid var(--primary-color); border-radius:16px; background:var(--primary-color); color:#fff; font-size:13px; line-height:28px; text-align:center; }
.club-settings-modal-save:disabled { opacity:.55; }
.club-settings-modal-body { flex:1; min-height:0; width:100%; max-width:var(--wrap); margin:0 auto; padding:15px; overflow-y:auto; }
.club-settings-field { margin-bottom:16px; }
.club-settings-field .form-label { margin:0 0 6px 10px; color:var(--primary-color); font-size:12px; font-weight:700; }
.club-settings-required { color:#d22; }
.club-settings-error { min-height:0; margin:5px 0 0 10px; color:#d22; font-size:11px; font-weight:600; }
.club-settings-error:empty { display:none; }
.club-settings-field.has-error .form-select,
.club-settings-field.has-error .club-settings-weeks li { border-color:#d22; }
.club-settings-region,
.club-settings-datetime { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:8px; }
.club-settings-region .form-select,
.club-settings-datetime .form-select,
.club-settings-join-type { height:36px !important; min-height:36px !important; padding:0 36px 0 14px; border-radius:20px; font-size:13px; }
.club-settings-weeks { gap:8px; height:36px; border:0; border-radius:0; background:transparent; overflow:visible; }
.club-settings-weeks li { min-width:0; height:36px; padding:0 6px; border:1px solid var(--primary-color); border-radius:20px; background:var(--content-color); color:var(--primary-color); font-size:13px; line-height:34px; }
.club-settings-weeks li.active { border-radius:20px; background:var(--primary-color); color:#fff; }
.game-title.sidebar-title .material-symbols-rounded.sidebar-toggle {
    flex-shrink: 0;
    padding-right: 8px;
    font-size: 1.5rem;
	font-variation-settings: 'wght' 300;
    line-height: 1;
    cursor: pointer;
}
.game-title>i {
    font-size: 1.6em;
    padding-right: 10px;
    cursor: pointer;
    top: 1px;
    position: relative;
}

.game-title.dropdown .dropdown-menu {
    z-index: 1030 !important;
}

.game-title.dropdown .dropdown-menu a {
    font-size: 0.9rem;
}

.game-title.dropdown .dropdown-toggle::after {
    display: none;
}

.activity-func {
    position: relative;
    max-width: var(--wrap);
    height: 36px;
    margin: 5px 0px 0px;
}

.activity-func ul {
    display: flex;
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color);
    margin: 0px;
    padding: 0px;
}

.activity-func ul {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-width: 240px;
    max-width: var(--wrap);
    /* max-width: 320px;
    width: 90%; */
    height: 36px;
    border: 2px solid;
    font-size: 13px;
    line-height: 32px;
    border-radius: 20px;
}

.activity-func ul {
    will-change: transform, opacity;
}

.activity-func ul:before {
    background-color: #fff;
}

.activity-func ul:before {
    transition: left .4s, margin-left .4s;
}

.activity-func ul:before {
    left: 0;
}

.activity-func ul:before {
    content: "";
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 33.33%;
    height: 100%;
    border-radius: 20px;
}

.activity-func.col4 ul:before {
    width: 25%;
}

.activity-func.col2 ul:before {
    width: 50%;
}

.fc-list li,
.sidebar li {
    list-style: none;
}

.activity-func li {
    width: 33.33%;
}

.activity-func.col4 li {
    width: 25%;
}

.activity-func.col2 li {
    width: 50%;
}

.activity-func li button.active {
    color: var(--primary-color) !important;
}

.activity-func li button {
    color: #fff;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    padding: 0 8px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .3s;
    border: none;
    background-color: transparent;
    font-size: 14px;
}

.activity-func li button.team-formation-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.team-formation-button .material-symbols-rounded {
    font-size: 18px;
    font-variation-settings: 'wght' 300;
    line-height: 1;
}

.team-formation-form label.form-label {
    margin-left: 12px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
}

.team-formation-form .team-participant-label {
    display: flex;
    align-items: center;
    width: calc(100% - 12px);
}

.team-formation-form button,
.team-create-modal button {
    border-radius: 20px;
}

.team-selection-reset {
    margin-left: auto;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
}

.team-formation-form input.form-control {
    padding-right: 18px;
    padding-left: 18px;
    font-size: 14px;
}

.team-formation-form select.form-select {
    font-size: 14px;
}

.team-formation-form .team-lane-inputs {
    display: grid;
    grid-template-columns: repeat(var(--team-count), minmax(0, 1fr));
    gap: 8px;
}

.team-formation-form .team-lane-field {
    position: relative;
    min-width: 0;
}

.team-formation-form .team-lane-field > .bi {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 1;
    color: var(--disable-color);
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.team-formation-form .team-lane-field > .team-lane-icon-end {
    right: 12px;
    left: auto;
    display: block;
    transform: translateY(-50%) scaleX(-1);
}

.team-formation-form .team-lane-end {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: none;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.team-formation-form .team-lane-end {
    right: 30px;
}

.team-formation-form .team-lane-field.has-lane-pair .team-lane-end {
    display: block;
}

.team-formation-form .team-lane-input {
    min-width: 0;
    padding-left: 30px !important;
    text-align: left;
}

.team-create-action .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    min-height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 20px;
    line-height: 1;
}

body.team-modal-open {
    overflow: hidden;
}

.team-create-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--content-color);
}

.team-create-modal.show {
    display: flex;
}

.team-create-modal,
.team-extra-handi-modal,
.team-save-modal {
    touch-action: none;
}

@media only screen and (max-width: 600px) {
    body.team-modal-open .team-extra-handi-modal input,
    body.team-modal-open .team-save-modal input,
    body.team-modal-open .team-save-modal select {
        font-size: 16px !important;
    }
}

.team-create-modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 16px 15px;
    border-bottom: 1px solid var(--outline-color);
}

.team-create-modal-header h5 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.team-create-modal-close {
    margin-left: auto;
    padding: 4px 8px;
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-size: 13px;
}

.team-formation-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 58px;
    height: 36px;
    margin-left: 8px;
    padding: 0 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.team-formation-save:disabled {
    opacity: .45;
}

.team-formation-save[hidden] {
    display: none;
}

.team-create-modal-body {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: var(--wrap);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
}

.team-create-modal-footer {
    position: relative;
    z-index: 50;
    flex-shrink: 0;
    width: 100%;
    max-width: var(--wrap);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 12px 15px calc(16px + env(safe-area-inset-bottom));
    background-color: var(--content-color);
}

.team-create-modal.saved-formation-view .team-create-modal-footer {
    display: block;
}

.team-create-modal.saved-formation-view #team-shuffle-reset,
.team-create-modal.saved-formation-view #team-generate {
    display: none;
}

.team-create-modal-footer .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    min-height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 20px;
    line-height: 1;
}

.team-create-modal-footer-actions {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 8px;
}

.team-create-modal-footer-actions .btn {
    flex: 1;
    min-width: 0;
    width: auto;
    max-width: 100%;
}

.team-create-modal-footer-actions .team-capture-icon-button {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    padding: 0;
    border-radius: 50%;
}

.team-create-modal-footer-actions .team-capture-icon-button .material-symbols-rounded {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

#team-shuffle-reset,
#team-shuffle-reset:hover,
#team-shuffle-reset:focus {
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
}

.team-shuffle-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.team-shuffle-stage.dragging {
    cursor: grabbing;
}

.team-shuffle-stage.teams-arranged {
    cursor: default;
}

.team-shuffle-stage.can-rearrange.teams-arranged {
    cursor: grab;
}

.team-shuffle-stage.can-rearrange.teams-arranged.manual-rearranging {
    cursor: grabbing;
}

.team-generated-lanes {
    position: absolute;
    top: 12px;
    right: 0;
    left: 0;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .35s ease, transform .35s ease;
}

.team-generated-lanes.show {
    opacity: 1;
    transform: translateY(0);
}

.team-shuffle-stage.restoring-formation .team-generated-lanes {
    opacity: 1;
    transform: none;
    transition: none;
}

.team-generated-lane {
    position: relative;
    flex: 0 0 240px;
    width: 240px;
    max-width: calc(50% - 12px);
    height: 36px;
    border: 1px solid var(--bs-gray-400);
    border-radius: 20px;
    background-color: var(--content-color);
    color: var(--primary-color);
    font-size: 14px;
    line-height: 34px;
}

.team-shuffle-stage.teams-arranged .team-generated-lane {
    pointer-events: auto;
}

.team-shuffle-stage.can-rearrange.teams-arranged .team-generated-lane {
    cursor: pointer;
}

.team-generated-lane > .bi {
    position: absolute;
    top: 50%;
    left: 12px;
    color: var(--disable-color);
    font-size: 14px;
    line-height: 1;
    transform: translateY(-50%);
}

.team-generated-lane > .team-generated-lane-icon-end {
    right: 12px;
    left: auto;
    transform: translateY(-50%) scaleX(-1);
}

.team-generated-lane-start,
.team-generated-lane-end {
    position: absolute;
    top: 0;
}

.team-generated-lane-start {
    left: 30px;
}

.team-generated-lane-end {
    right: 30px;
}

.team-generated-extra-handi {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.team-extra-handi-modal,
.team-save-modal {
    position: fixed;
    inset: 0;
    z-index: 3100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .42);
}

.team-extra-handi-modal.show,
.team-save-modal.show {
    display: flex;
}

.team-extra-handi-panel,
.team-save-panel {
    width: min(100%, 320px);
    padding: 20px;
    border-radius: 20px;
    background: var(--content-color);
}

.team-save-panel {
    width: min(100%, 420px);
}

.team-extra-handi-panel h5,
.team-save-panel h5 {
    margin: 0 0 18px;
    color: var(--primary-color);
    font-size: 1rem;
}

.team-extra-handi-panel label {
    display: block;
    margin: 0 0 6px 10px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
}

.team-extra-handi-panel .form-control {
    height: 36px;
    padding: 0 14px;
    border-radius: 20px;
    font-size: 13px;
}

.team-extra-handi-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.team-save-selectors {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.team-save-selectors .form-select {
    width: 100%;
}

.team-save-history {
    max-height: min(240px, 36vh);
    overflow-y: auto;
    border-top: 1px solid var(--outline-color);
}

.team-save-history-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 40px 8px 10px;
    border-bottom: 1px solid var(--outline-color);
    color: var(--primary-color);
    font-size: 13px;
}

.team-save-history-item strong {
    font-weight: 600;
}

.team-save-history-item > span {
    margin-left: auto;
    color: var(--disable-color);
    font-size: 12px;
    font-weight: 600;
}

.team-save-history-delete {
    position: absolute;
    top: 50%;
    right: 8px;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--disable-color);
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity .15s ease, color .15s ease;
    appearance: none;
}

.team-save-history-delete .material-symbols-rounded {
    font-size: 18px;
    font-weight: 300;
}

.team-save-history-item:hover .team-save-history-delete {
    color: var(--primary-color);
    opacity: 1;
    pointer-events: auto;
}

.team-save-history-empty {
    padding: 18px 10px;
    border-bottom: 1px solid var(--outline-color);
    color: var(--disable-color);
    font-size: 12px;
    text-align: center;
}

.team-save-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.team-extra-handi-actions .btn,
.team-save-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 36px;
    min-height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 20px;
    font-size: 13px;
    line-height: 1;
}

.team-shuffle-players {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 150px;
}

.team-shuffle-player {
    position: absolute;
    bottom: 16px;
    left: calc(50% - 58px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    max-width: none;
    height: 30px;
    padding: 4px 10px;
    border: 1px solid var(--primary-color);
    background-color: var(--content-color);
    color: var(--primary-color);
    font-size: 13px;
    line-height: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .14);
    transform-origin: center;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    will-change: transform;
}

.team-shuffle-stage.restoring-formation .team-shuffle-player {
    visibility: hidden;
    transition: none !important;
}

.team-shuffle-player > span:first-child {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-generated-lanes {
    --team-result-lane-width: clamp(136px, calc(50vw - 24px), 168px);
    gap: 16px;
}

.team-generated-lane {
    position: absolute;
    flex: 0 0 var(--team-result-lane-width);
    width: var(--team-result-lane-width);
    max-width: var(--team-result-lane-width);
}

.team-shuffle-player {
    left: calc(50% - clamp(32px, calc(12.5vw - 8px), 40px));
    flex-direction: row;
    width: clamp(64px, calc(25vw - 16px), 80px);
    height: 30px;
    padding: 3px 5px;
    line-height: 20px;
}

.team-shuffle-player .team-shuffle-average {
    padding-left: 3px;
    font-size: 11px;
    line-height: 20px;
}

.team-shuffle-player.arranging {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    transition: transform .85s cubic-bezier(.22, .8, .3, 1), box-shadow .85s ease;
}

.team-shuffle-stage.can-rearrange.teams-arranged .team-shuffle-player {
    cursor: grab;
    pointer-events: auto;
    touch-action: none;
}

.team-shuffle-stage.can-rearrange.teams-arranged .team-shuffle-player.manual-dragging {
    cursor: grabbing;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .24);
    transition: none;
}

.team-shuffle-average {
    padding-left: 3px;
    color: #aaa;
    font-size: 12px;
}


.team-formation-form .game-type-selector {
    margin-top: 0;
}

.team-formation-form .team-participant-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-left: 3px;
}

.team-formation-form .team-participant-list li,
.team-formation-form .team-guest,
.team-formation-form .team-guest-add {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 4px 6px;
    border: 1px solid var(--bs-gray-400);
    border-color: var(--bs-gray-400);
    border-radius: 20px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: .8rem;
    line-height: 18px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-formation-form .team-guest-select {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-formation-form .team-guest-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-formation-form .team-guest-average {
    flex-shrink: 0;
    padding-left: 3px;
    color: #aaa;
    font-size: 12px;
    text-align: left;
}

.team-formation-form .team-guest-delete,
.team-formation-form .team-guest-edit {
    position: absolute;
    top: 50%;
    right: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--content-color);
    color: var(--error-color);
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .15s;
}

.team-formation-form .team-guest-edit {
    right: 25px;
    color: var(--primary-color);
}

.team-formation-form .team-guest:hover .team-guest-delete,
.team-formation-form .team-guest:focus-within .team-guest-delete,
.team-formation-form .team-guest:hover .team-guest-edit,
.team-formation-form .team-guest:focus-within .team-guest-edit {
    opacity: 1;
}

.team-formation-form .team-guest.active .team-guest-delete,
.team-formation-form .team-guest.active .team-guest-edit {
    opacity: 0;
    pointer-events: none;
}

.team-formation-form .team-guest-delete .material-symbols-rounded,
.team-formation-form .team-guest-edit .material-symbols-rounded {
    font-size: 16px;
    font-variation-settings: 'wght' 300;
    line-height: 1;
}

.team-formation-form .team-guest-editor {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-width: 0;
    height: 28px;
    border: 1px solid var(--bs-gray-400);
    border-radius: 20px;
    background-color: var(--bg-color);
    overflow: hidden;
}

.team-formation-form .team-guest-editor .form-control {
    height: 26px;
    min-height: 26px;
    padding: 4px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    font-size: .8rem;
    line-height: 18px;
    text-align: center;
}

.team-formation-form .team-guest-input-divider {
    background: transparent;
    color: var(--disable-color);
    font-size: .8rem;
    line-height: 26px;
    user-select: none;
}

.team-formation-form .team-participant-list li.active {
    border-color: var(--primary-color);
    background-color: transparent;
    box-shadow: inset 0 0 0 1px var(--primary-color);
    color: var(--primary-color);
}

.team-formation-form .team-guest.active {
    border-color: var(--primary-color);
    background-color: transparent;
    box-shadow: inset 0 0 0 1px var(--primary-color);
    color: var(--primary-color);
}

.team-formation-form .team-participant .team-member-average {
    display: inline-block;
    padding-left: 3px;
    color: #aaa;
    font-size: 12px;
    text-align: left;
}

.team-formation-form .team-participant.active .team-member-average {
    color: #aaa;
}

.team-formation-form .team-guest.active .team-guest-average {
    color: #aaa;
}

.team-formation-form.random-mode .team-member-average,
.team-formation-form.random-mode .team-guest-average {
    display: none;
}

.team-formation-form .team-participant-count {
    margin-left: 4px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
}

.team-participant-empty {
    padding: 8px 12px;
    color: var(--disable-color);
    font-size: 13px;
}

.fade-link {
    transition: color .2s;
}

.activity-func.active1 ul:before {
    left: 0
}

.activity-func.active2 ul:before {
    left: 33.33%
}

.activity-func.active3 ul:before {
    left: 100%;
    margin-left: -33.32%
}

.activity-func.col2.active2 ul:before {
    left: 50%;
}

.activity-func.col4.active1 ul:before {
    left: 0
}

.activity-func.col4.active2 ul:before {
    left: 25%
}

.activity-func.col4.active3 ul:before {
    left: 50%;
    margin-left: 0px;
}

.activity-func.col4.active4 ul:before {
    left: 75%;
}

#team-result {
    padding: 0px 10px;
}

.team-round-filter { margin: 10px 0 8px; }
.team-round-scroll { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; white-space: nowrap; }
.team-round-scroll::-webkit-scrollbar { display: none; }
.team-round-chip { flex-shrink: 0; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--outline-color); border-radius: 15px; background-color: var(--content-color); color: var(--primary-color); font-size: 13px; }
.team-round-chip.active { border-color: var(--button-bg-color); background-color: var(--button-bg-color); color: var(--button-font-color); }
.rank-change { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; line-height: 1; white-space: nowrap; }
.rank-change.up { color: var(--checked-color); }
.rank-change.down { color: var(--error-color); }
.rank-change.same { color: var(--muted-color); }
.table-game th.name { position: relative; }
.table-game th.rank > div { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 18px; }
.rank-no { display: inline-block; min-width: 12px; }
.team-name-text { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.rank-change.mini { position: absolute; top: 55%; right: -6px; transform: translateY(-50%); font-size: 10px; }
.rank-change.mini .bi { font-size: 9px; }

.game-capture-actions {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 6px;
}

.game-capture-actions > .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 20px !important;
    line-height: 1;
}

.game-capture-actions > .capture-page {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    padding: 0;
    border-radius: 50% !important;
}

.game-capture-actions > .capture-page .material-symbols-rounded {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

.league-capture-actions {
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}

.league-capture-actions .capture-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50% !important;
    pointer-events: auto;
}

.league-capture-actions .capture-page .material-symbols-rounded {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

.btn-group.d-flex>button {
    white-space: nowrap;
}

@media only screen and (max-width:480px) {
    .game-title {
        font-size: 0.9rem;
    }

    .header .brand {
        left: 5px;
    }

    .header.main-page-header .brand {
        left: 0;
    }

    .mobile-hide {
        display: none;
    }

    .td-time {
        display: none;
    }

    .td-entry {
        display: none;
    }
}

.rule {
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px 0px 0px;
    white-space: nowrap;
}

.rule::-webkit-scrollbar {
    display: none;
}

.rule .item {
    flex-shrink: 0;
    flex-basis: 110px;
    width: 110px;
    height: 105px;
    margin-right: 5px;
    font-weight: 500;
    background-color: #fff;
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 2px solid var(--primary-color);
    cursor: ew-resize;
}

.rule .item .icon {
    font-size: 28px;
}

.rule .item .text {
    font-size: 13px;
    text-align: center;
    padding-top: 5px;
}

.bi-text-indent-left::before {
    transform: rotate(90deg);
}

.prize table td:first-child {
    text-align: center;
}

.prize table td {
    vertical-align: top;
    font-size: 18px;
}

.prize table tr:last-child td {
    border-bottom: none;
}

.section {
    display: none;
    margin-bottom: 60px;
}

.fixed-top {
    position: fixed;
    top: 0;
}

.goto-top {
    position: fixed;
    display: none;
    right: 14px;
    bottom: 5px;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 0;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    z-index: 1020;
}

.goto-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    font-size: 32px;
    line-height: 1;
}

.table-entry,
.table-game {
    margin-top: 15px;
}

.table-entry th,
.table-prize th,
.table-game th {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    background-color: #eee;
    padding: .7rem .7rem;
}

.check-charge i,
.check-side i {
    font-size: 24px !important;
}

.table-entry th.team {}

.table-game tr {
    position: relative;
}

.table-entry tr:hover td.hover {
    background-color: rgba(0, 0, 0, 0.025);
}

.table-entry td.side-name {
    line-height: 47px;
    padding: 0px 15px 0px;
    font-size: 1.1rem;
}

.table-entry td.team,
.table-entry td.no {
    border-right: 1px solid var(--bs-border-color);
    font-size: 1.1rem;
}

.table-entry td.team .check-charge {
    position: absolute;
    top: 5px;
    left: 5px;
    cursor: pointer;
}

.table-entry td.side-name .bi-check-circle {
    position: relative;
    top: 2px;
}

.table-entry td.side-name .bi-check-circle,
.table-entry td.side .bi-check-circle,
.table-entry td.team .check-charge .bi-check-circle {
    color: #aaa;
    cursor: pointer;
}

.table-game th.first {
    border-top-left-radius: 15px;
}

.table-entry th.no,
.table-game th.col-rank {
    width: 60px;
    text-align: center;
    border-top-left-radius: 15px;
}

.prize .table-game td {
    font-size: 1rem;
}

.prize .table-game .col-rank {
    width: 80px;
}

.prize .table-game .col-champ {
    width: 20px;
    font-size: 1rem;
    padding-left: 0px;
}

.prize .table-game td {
    position: relative;
}

.prize .table-game td .plus {
    position: absolute;
    white-space: nowrap;
    left: 60px;
    color: rgb(219, 0, 0);
    display: inline-block;
    font-size: 0.9rem;
    width: 80px;
    text-align: right;
}

.table-entry th.side,
.table-game th.diff {
    border-top-right-radius: 15px;
    width: 60px;
}

.table-game th.last {
    border-top-right-radius: 15px;
}

.table-game th.game {
    text-align: center;
    cursor: pointer;
}

.table-game th.col-change {
    max-width: 60px;
    text-align: center;
}

.table-game th.col-name {
    width: 80px;
    text-align: left;
}

.table-game th.col-total {
    width: 80px;
    text-align: left;
}

/* .table-game th.col-score { min-width:50px; max-width:90px; width:90px; }  */
.table-game th.league-count {
    min-width: 50px;
    max-width: 50px;
    width: 50px;
}

.table-game th.name,
.table-game th.rank,
.table-game th.total {
    font-weight: 500;
    font-size: 1rem;
    background-color: #fff;
}

.table-game th.total {
    border-right: 1px solid rgb(222, 226, 230);
}

.table-game th.active {
    background-color: #000;
    color: #fff;
    border: 1px solid #000 !important;
}

.table-game td.active {
    border-left: 1px solid black !important;
    border-right: 1px solid black;
}

.table-game tr:last-child td.active {
    border-bottom: 1px solid black;
}

.table-game td {
    padding: .7rem .7rem;
    font-size: 1rem;
}

.table-game.capture th.name,
.table-game.capture th.rank,
.table-game.capture th.total,
.table-game.capture td {
    padding: 0px;
}

.table-game.capture td.last {
    padding-right: 20px;
}

.table-game.capture th.total {
    padding-right: 10px;
}

.table-game tr.active th,
.table-game tr.active td,
.table-game tr.side th,
.table-game tr.side td {
    background-color: #e0ecfd !important;
}

.table-game td.league-point {
    font-size: 1rem;
    color: #666;
}

.table-game th {
    white-space: nowrap;
}

.table-game .no {
    width: 40px;
    text-align: right;
    padding-right: 0px;
}

.table-game .club-user-name {
    width: 80px;
    text-align: center;
    position: relative;
}

.table-game .club-user-handi {
    width: 40px;
    text-align: right;
}

.table-game .club-user-birth {
    width: 90px;
    text-align: center;
}

.table-game .club-user-phone {
    text-align: left;
}

th.col-fix.rank .take {
    color: var(--error-color);
}

.col-fix {
    position: -webkit-sticky !important;
    position: sticky !important;
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
    z-index: 10;
}

.fix-col1 {
    width: 51px;
    min-width: 51px;
    max-width: 51px;
    left: 0px;
}

.fix-col2 {
    width: 71px;
    min-width: 71px;
    max-width: 71px;
    left: 50px;
}

.fix-col3 {
    width: 71px;
    min-width: 71px;
    max-width: 71px;
    left: 120px;
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.fix-league-col1 {
    width: 51px;
    min-width: 51px;
    max-width: 51px;
    left: 0px;
    border-right: 1px solid rgb(222, 226, 230);
}

.fix-league-col2 {
    width: 91px;
    min-width: 91px;
    max-width: 91px;
    left: 50px;
}

.fix-league-col3 {
    width: 41px;
    min-width: 41px;
    max-width: 41px;
    left: 140px;
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.fix-league-col4 {
    width: 41px;
    min-width: 41px;
    max-width: 41px;
    left: 180px;
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.fix-league-col5 {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    left: 220px;
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.league-count {
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}

.mt-60 {
    margin-top: 60px;
}

.mt-80 {
    margin-top: 80px;
}

.pl-30 {
    padding-left: 30px !important;
}

.pl-40 {
    padding-left: 40px !important;
}

.sticky-top {
    top: -1px;
}

.relative {
    position: relative;
}

.sticky-bottom {
    bottom: 5px;
}

.bill {
    background-color: var(--primary-color);
    height: 41px;
    border-radius: 25px;
    overflow: hidden;
    color: #fff;
}

.bill ul {
    display: flex;
    margin: 0px;
    padding: 0px 25px;
    margin-top: 10px;
}

.bill ul li {
    flex-grow: 1;
    text-align: right;
    flex-basis: 100px;
    font-size: 14px;
}

.bill ul li.info {
    text-align: left;
    white-space: nowrap;
}

.game-entry-floating .bill {
    height: 36px;
    border-radius: 20px;
}

.game-entry-floating .bill ul {
    align-items: center;
    height: 36px;
    margin: 0;
    padding: 0 16px;
}

.game-entry-floating .bill ul li {
    font-size: 13px;
    line-height: 1;
}

.simple {
    font-size: 14px;
    font-weight: 400;
}

.top-logo {
    font-size: 20px;
    font-weight: 600;
    display:inline-block;
    margin-top:2px; 
}

.brand-alarm-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin: 0 1px;
    vertical-align: -.12em;
}

.member-menu {
    position: absolute;
    display: none;
    top: 40px;
    right: 0px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin: 0px;
    padding: 0px;
    z-index: 1060;
    border-radius: 10px;
    min-width: 126px;
}

.member-menu li {
    padding: 0;
    text-align: left;
    font-size: 14px;
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
}

.member-menu li a,
.member-menu li button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
    text-decoration: none;
    width: 100%;
    border: 0;
    background: transparent;
}

.member-menu li .material-symbols-rounded {
    flex: 0 0 18px;
    width: 18px;
    font-size: 18px;
    font-variation-settings: 'wght' 300;
    line-height: 1;
}

body.member-profile-modal-open { overflow:hidden; }
.member-profile-modal { position:fixed; inset:0; z-index:3200; display:none; flex-direction:column; width:100vw; height:100vh; height:100dvh; background:var(--content-color); }
.member-profile-modal.show { display:flex; }
.member-profile-modal-header { display:flex; align-items:center; flex:0 0 auto; width:100%; max-width:var(--wrap); margin:0 auto; padding:16px 15px; border-bottom:1px solid var(--outline-color); }
.member-profile-modal-header h5 { margin:0; color:var(--primary-color); font-size:1.1rem; }
.member-profile-modal-close { margin-left:auto; padding:4px 8px; border:0; background:transparent; color:var(--primary-color); font-size:13px; }
.member-profile-modal-frame { display:block; flex:1 1 auto; width:100%; min-height:0; border:0; background:var(--content-color); }
.member-profile-avatar-panel { flex:0 0 auto; width:100%; max-width:var(--wrap); margin:0 auto; padding:18px 15px 20px; border-bottom:1px solid var(--outline-color); }
.member-profile-avatar-label { margin:0 0 14px; color:var(--primary-color); font-size:16px; font-weight:700; text-align:center; }
.member-profile-avatar-list { display:grid; grid-template-columns:repeat(10, minmax(0, 1fr)); gap:8px; width:100%; padding:3px; }
.member-profile-avatar-option { display:flex; min-width:0; padding:0; border:0; background:transparent; flex-direction:column; align-items:center; gap:7px; color:var(--disable-color); font-family:inherit; font-size:12px; line-height:16px; }
.member-profile-avatar-image { position:relative; display:block; width:100%; overflow:hidden; border:3px solid transparent; border-radius:8px; background:var(--outline-color); transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.member-profile-avatar-image::before { display:block; padding-top:100%; content:''; }
.member-profile-avatar-option.active .member-profile-avatar-image { border-color:var(--primary-color); box-shadow:0 0 0 1px var(--content-color); }
.member-profile-avatar-option.active .member-profile-avatar-name { color:var(--primary-color); font-weight:700; }
.member-profile-avatar-option:hover .member-profile-avatar-image { transform:scale(1.045); border-color:var(--primary-color); }
.member-profile-avatar-option:disabled { opacity:.65; }
.member-profile-avatar-option img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; }
.member-profile-avatar-name { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.member-profile-avatar-create .member-profile-avatar-image { display:flex; align-items:center; justify-content:center; border-color:var(--bs-border-color); background:var(--content-color); }
.member-profile-avatar-create .member-profile-avatar-image::before { flex:0 0 auto; }
.member-profile-avatar-create .material-symbols-rounded { position:absolute; top:50%; left:50%; color:var(--primary-color); font-size:34px; font-variation-settings:'wght' 200; transform:translate(-50%, -50%); }
.member-avatar-maker { position:fixed; inset:0; z-index:3210; display:none; flex-direction:column; background:var(--content-color); }
.member-avatar-maker.show { display:flex; }
.member-avatar-maker-header { display:flex; align-items:center; flex:0 0 auto; width:100%; max-width:var(--wrap); margin:0 auto; padding:16px 15px; border-bottom:1px solid var(--outline-color); }
.member-avatar-maker-header h5 { margin:0; color:var(--primary-color); font-size:1.1rem; }
.member-avatar-maker-close { margin-left:auto; padding:4px 8px; border:0; background:transparent; color:var(--primary-color); font-size:13px; }
.member-avatar-maker-body { display:flex; flex:1; min-height:0; width:100%; max-width:var(--wrap); margin:0 auto; padding:36px 20px; flex-direction:column; align-items:center; justify-content:center; }
.member-avatar-maker-preview { width:min(54vw, 220px); overflow:hidden; border-radius:12px; background:var(--outline-color); }
.member-avatar-maker-preview::before { display:block; padding-top:100%; content:''; }
.member-avatar-maker-preview { position:relative; }
.member-avatar-maker-preview img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.member-avatar-maker-body p { margin:18px 0; color:var(--disable-color); font-size:12px; text-align:center; }
.member-avatar-maker-navigation,
.member-avatar-maker-actions { display:flex; gap:8px; width:min(54vw, 220px); }
.member-avatar-maker-navigation { margin-bottom:12px; }
.member-avatar-maker-navigation .btn,
.member-avatar-maker-actions .btn { display:inline-flex; align-items:center; justify-content:center; flex:1; height:36px; padding:0 15px; border:1px solid var(--primary-color); border-radius:20px; font-size:13px; font-weight:700; line-height:1; }
.member-avatar-maker-prev,
.member-avatar-maker-next,
.member-avatar-maker-actions .member-avatar-maker-close { margin-left:0; background:var(--content-color); color:var(--primary-color); }
.member-avatar-maker-navigation .material-symbols-rounded { margin:0 4px; font-size:17px; font-variation-settings:'wght' 300; }
.member-avatar-maker-navigation .btn:disabled { border-color:var(--disable-color); background:var(--disable-color); color:#fff; opacity:.6; }

@media (max-width:600px) {
    .member-profile-avatar-list { grid-template-columns:repeat(8, minmax(0, 1fr)); gap:8px 5px; }
    .member-profile-avatar-label { font-size:15px; }
    .member-profile-avatar-name { font-size:10px; }
}

.member-profile-content.is-popup { width:100%; max-width:var(--wrap); margin:0 auto; padding:15px; }
.member-profile-content.is-popup #member_wrap { width:100% !important; max-width:740px !important; margin:0 auto !important; padding:0 !important; overflow:visible !important; }
.member-profile-content.is-popup #box { width:100%; }
.member-profile-content.is-popup #boxtitle { display:none; }
.member-profile-content.is-popup ul { margin:0; padding:0; list-style:none; }
.member-profile-content.is-popup li { margin:0 0 14px; padding:0; list-style:none; }
.member-profile-content.is-popup li > label,
.member-profile-content.is-popup .infor p > label,
.member-profile-content.is-popup .infor p > span { display:block; margin:0 0 6px 12px; color:var(--primary-color); font-size:13px; font-weight:600; line-height:18px; }
.member-profile-content.is-popup li > b,
.member-profile-content.is-popup .infor p > b { display:flex; align-items:center; width:100%; min-height:36px; margin:0; padding:5px 18px; border:1px solid var(--bs-border-color); border-radius:20px; background:var(--outline-color); color:var(--primary-color); font-size:14px; font-weight:500; line-height:24px; }
.member-profile-content.is-popup input.input_text,
.member-profile-content.is-popup select,
.member-profile-content.is-popup textarea.input_text { box-sizing:border-box; display:block; width:100%; max-width:none; margin:0; border:1px solid var(--bs-border-color); border-radius:20px; background:var(--content-color); color:var(--primary-color); font-family:inherit; font-size:14px; }
.member-profile-content.is-popup input.input_text,
.member-profile-content.is-popup select { height:36px; min-height:36px; padding:5px 18px; line-height:24px; }
.member-profile-content.is-popup select { padding-right:36px; }
.member-profile-content.is-popup textarea.input_text { min-height:96px; padding:12px 18px; resize:vertical; }
.member-profile-content.is-popup input[type=file].input_text { display:block; width:100%; height:36px; min-height:36px; padding:0 12px 0 0; overflow:hidden; border-radius:20px; font-size:12px; line-height:34px; }
.member-profile-content.is-popup input[type=file].input_text::file-selector-button { height:34px; margin:0 12px 0 0; padding:0 16px; border:0; border-right:1px solid var(--bs-border-color); border-radius:18px 0 0 18px; background:var(--outline-color); color:var(--primary-color); font-family:inherit; font-size:12px; font-weight:600; line-height:34px; cursor:pointer; }
.member-profile-content.is-popup input[type=file].input_text::-webkit-file-upload-button { height:34px; margin:0 12px 0 0; padding:0 16px; border:0; border-right:1px solid var(--bs-border-color); border-radius:18px 0 0 18px; background:var(--outline-color); color:var(--primary-color); font-family:inherit; font-size:12px; font-weight:600; line-height:34px; cursor:pointer; }
.member-profile-content.is-popup .msg_tip { display:block !important; margin:5px 0 0 12px; color:var(--disable-color); font-size:11px; line-height:16px; }
.member-profile-content.is-popup li > p { margin:0; }
.member-profile-content.is-popup #btn_email { display:inline-flex; align-items:center; justify-content:center; height:30px; margin:7px 0 0 3px !important; padding:0 11px; border-radius:16px; font-size:12px; }
.member-profile-content.is-popup .last > div,
.member-profile-content.is-popup .modi li > div[style] { margin:8px 0 0 12px !important; color:var(--disable-color); font-size:11px; }
.member-profile-content.is-popup #kcaptcha { display:block; max-width:100%; min-height:40px; }
.member-profile-content.is-popup #error,
.member-profile-content.is-popup label.error { margin:5px 0 0 12px; color:#d22; font-size:11px; font-weight:600; }
.member-profile-content.is-popup #member_wrap p.pass { margin:8px 0 0; padding:0; border:0; }
.member-profile-content.is-popup #member_wrap p.pass .g-button,
.member-profile-content.is-popup #conf_cont > li > .g-button { display:flex; align-items:center; justify-content:center; width:100%; height:36px; min-height:36px; margin:0; padding:0 16px; border:1px solid var(--primary-color); border-radius:20px; background:var(--primary-color); color:#fff !important; font-family:inherit; font-size:13px; font-weight:600; line-height:1; text-decoration:none; }
.member-profile-content.is-popup #conf_cont .infor p { margin:0 0 14px; }
.member-profile-content.is-popup #conf_msg { margin-top:12px; color:var(--disable-color); font-size:11px; line-height:18px; text-align:center; }

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

.ui-menu-item .handi,
.ranker .handi,
.side-name .handi,
.name .handi {
    width: 18px;
    font-size: 12px;
    color: #aaa;
    text-align: left;
    display: inline-block;
    padding-left: 3px;
}

.side-name .handi {
    font-size: 16px;
    color: #999;
}

.league-home {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 12px;
    margin-right: 9px;
    cursor: pointer;
    font-weight: 300;
}

.league-home:hover {
    color: #fff;
}

.total,
.user-point {
    position: relative;
}

.total .hl {
    position: absolute;
    left: 2px;
    bottom: 0px;
    font-size: 0.7rem;
    text-align: right;
    width: 20px;
    color: #888;
}

.user-point .handi {
    position: absolute;
    right: 5px;
    top: 0px;
    font-size: 0.7rem;
    text-align: right;
    width: 20px;
    color: #888;
}

.award-title {
    margin-top: 15px;
    margin-left: 5px;
    font-size: 1rem;
}

.award {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 10px;
}

.award table {
    margin-bottom: 0px;
}

.award table td.played {
    font-size: 0.8rem;
    color: #888;
    text-align: right;
    width: 60px;
}

.award table td.rank {
    width: 30px;
    text-align: center;
}

.award table td.score {
    width: 80px;
    text-align: right;
}

.award table tr:last-child td {
    border-bottom: none;
}

.award table tr.cut td {
    border-bottom: 2px solid #CC0000;
}

.entry-count {
    margin: 0px;
    padding: 0;
}

.entry-count li {
    display: inline-block;
    width: 8%;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 20px;
    padding: 5px 1px;
    border: 1px solid var(--primary-color);
    margin: 0 2px 10px 2px;
    cursor: pointer;
}

.entry-count li.w1 {
    width: 18%;
}

.entry-count li.active {
    background-color: var(--primary-color);
    color: #fff;
}

/* .add-prize:after { content:''; height:100%; width:1px; position:absolute; right:0; background:#fff;} */
.entry-prize {
    margin: 10px 0px 0px 0px;
    padding: 0px 15px;
}

.entry-prize .form-check {
    padding: 5px 9px;
}

.row>div {
    position: relative;
}

.record-exist {
    display: none;
}

.record-delete {
    position: relative;
    top: -5px;
    background-color: var(--bs-danger);
    color: #fff;
    font-size: 0.8rem;
    border-radius: 5px;
    padding: 4px 20px;
    cursor: pointer;
}

.refresh {
    margin-left: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	position: static;
	padding: 10px 5px 6px 8px;
    cursor: pointer;
}

.refresh .material-symbols-rounded {
	font-size: 1.5rem;
	font-variation-settings: 'wght' 300;
	line-height: 1;
}

.d-flex>button {
    border-top-right-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
    margin-right: 3px;
}

.add-prize,
.add-bracket {
    flex: 7 !important;
}

.add-game {
    flex: 3 !important;
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;
}

.add-player {
    border-radius: 25px;
}

button.add-player {
    border-radius: 5px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

button:focus.add-player {
    border-color: var(--primary-color);
}

.modal-footer button {
    position: relative;
}

.msg {
    margin-top: 10px;
}

.add {
    position: fixed;
    max-width: 760px;
    right: 15px;
    left: 15px;
    bottom: 5px;
    margin: 0 auto;
    z-index: 1020;
}

.add button,
.add .upload-label .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-height: 36px;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 20px !important;
    font-size: 13px;
    line-height: 1;
}

.add > .btn-group.d-flex,
.add > .d-flex {
    width: 100%;
    min-width: 0;
    gap: 6px;
}

.add > .btn-group.d-flex > button,
.add > .btn-group.d-flex > .btn,
.add > .btn-group.d-flex > .upload-label,
.add > .d-flex > button,
.add > .d-flex > .btn,
.add > .d-flex > .upload-label {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

.add > .btn-group.d-flex > .upload-label .btn,
.add > .d-flex > .upload-label .btn,
.add > .upload-label .btn {
    width: 100%;
}

.add > .upload-label {
    display: block;
    margin: 0;
}

.add > .d-flex > .capture-page,
.add > .capture-icon-button,
.add > .club-member-capture {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50% !important;
}

.modal-footer {
    flex-wrap: nowrap;
}

.add-list {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    margin-top: 30px;
}

form.row>div {
    position: relative;
}

.clear {
    position: absolute;
    top: 38px;
    right: 18px;
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.clear.no-label {
    top: 7px;
}

.player[data-sex="M"] {
    border: 2px solid #4789e7;
}

.player[data-sex="F"] {
    border: 2px solid var(--bs-danger);
}

.player .handi {
    padding-left: 5px;
    color: #999;
}

.info .count {
    padding-left: 5px;
}

.club-box {
    margin-top: 10px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    position: relative;
}

.club-box h5 {
    padding: 10px 20px;
    margin: 0px;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-radius: 10px;
}

.club-box .table-game {
    margin: 0px 0px;
}

.club-box .count {
    position: absolute;
    right: 20px;
    top: 10px;
}

.club-box .club-info {
    display: none;
}

.sex {
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: .7rem;
}

.sex.M {
    color: #4789e7;
}

.sex.F {
    color: var(--bs-danger);
}

.flex1 {
    flex: 1 !important;
}

.flex2 {
    flex: 2 !important;
}

.flex3 {
    flex: 3 !important;
}

.flex4 {
    flex: 4 !important;
}

.flex5 {
    flex: 5 !important;
}

.flex6 {
    flex: 6 !important;
}

.flex7 {
    flex: 7 !important;
}

.flex8 {
    flex: 8 !important;
}

.flex9 {
    flex: 9 !important;
}

.flex10 {
    flex: 10 !important;
}

.money {
    display: flex;
    margin: 0px;
    padding: 0px;
}

.money li {
    margin-top: 10px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.8rem;
    margin-right: 10px;
    cursor: pointer;
}
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.hide { display:none !important;}
.club-match-selector {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(120px, 1fr);
    gap: 8px;
    margin: 10px 0 5px;
}

.club-match-selector .form-select {
    box-sizing: border-box;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px;
    border-radius: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
    line-height: 24px;
}

.club-match-selector .club-match-turn {
    width: 100%;
    height: 36px;
    margin: 0;
}

.club-match-selector .club-match-turn ul {
    min-width: 0;
}

.club-match-selector .club-match-turn li,
.club-match-selector .club-match-turn ul:before {
    width: calc(100% / var(--match-turn-count));
}

.club-match-selector .club-match-turn ul:before {
    left: calc(100% / var(--match-turn-count) * var(--match-active-index));
    margin-left: 0;
}

.club-match-selector .club-match-turn button:disabled {
    color: var(--disable-color);
    cursor: default;
    opacity: .55;
}

.club-match-selector + .table-game {
    margin-top: 10px;
}

.club-match-capture-clone .club-match-turn ul:before {
    display: none;
}

.club-match-capture-clone .club-match-turn button.active {
    border-radius: 20px;
    background-color: var(--content-color);
    color: var(--primary-color) !important;
    opacity: 1;
}

.club-match-stats-filter {
    margin-top: 10px;
}

.club-match-stats-filter .club-match-stats-period {
    height: 36px;
    margin: 0;
}

.club-match-stats-table {
    margin-top: 10px;
}

.club-match-upload-help {
    padding: 0 12px;
    color: var(--disable-color);
    font-size: 12px;
    line-height: 1.5;
}

.club-match-upload-target {
    display: flex;
    align-items: center;
    min-height: 36px;
    margin: 0 0 10px;
    padding: 0 14px;
    border: 1px solid var(--outline-color);
    border-radius: 20px;
    color: var(--disable-color);
    font-size: 12px;
}

.club-match-upload-target strong {
    margin-left: auto;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.club-match-manage-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.club-match-team-section {
    margin-top: 20px;
}

.club-match-team-title {
    margin: 0 0 8px 5px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.club-match-team-table {
    margin-top: 0 !important;
}

.club-match-team-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.club-match-team-group {
    min-width: 0;
    overflow-x: auto;
}

.club-match-team-group-head {
    display: flex;
    align-items: center;
    min-height: 28px;
    padding: 0 5px 6px;
    color: var(--primary-color);
    font-size: 12px;
}

.club-match-team-group-head strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
}

.club-match-team-group-head strong .bi {
    color: var(--disable-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.club-match-team-group-head span {
    margin-left: auto;
    color: var(--disable-color);
    font-size: 11px;
    font-weight: 600;
}

.club-match-team-table tfoot th,
.club-match-team-table tfoot td {
    border-top: 1px solid var(--outline-color);
    color: var(--primary-color);
    font-weight: 700;
}

.club-match-extra-handi-row th,
.club-match-extra-handi-row td {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
}

.team-game-winner {
    position: relative;
    white-space: nowrap;
}

.club-match-manage-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 36px;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 20px;
    font-size: 13px;
    line-height: 1;
}

.club-match-manage-actions.capture-actions {
    gap: 6px;
}

.club-match-manage-actions.capture-actions .btn {
    min-width: 0;
    padding-right: 6px;
    padding-left: 6px;
    white-space: nowrap;
}

.club-match-manage-actions.capture-actions .capture-icon-button {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    padding: 0;
    border-radius: 50%;
}

.club-match-manage-actions.capture-actions .capture-icon-button .material-symbols-rounded {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

#club-match-record-delete,
#club-match-record-delete:hover,
#club-match-record-delete:focus {
    border: 1px solid var(--primary-color);
    background: var(--content-color);
    color: var(--primary-color);
}

.club-match-empty {
    padding: 72px 16px;
    color: var(--disable-color);
    font-size: 14px;
    text-align: center;
}

.section .row .col-sm-6:last-child {
    margin-right: 0px;
}
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1049;
}

.sidebar.active + .sidebar-overlay {
    display: block;
}
.sidebar {
    min-width: var(--sidebar);
    background-color: var(--sidebar-background);
    padding: 0rem;
    border-right: 1px solid #dee2e6;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}
.sidebar.active {
    transform: translateX(0);
}
.sidebar h5 {
    font-size:var(--sidebar-title);
    padding:10px 15px;
    margin-bottom:0px;
    background: #fff;
    border-bottom: 1px solid #eee;
    word-break: keep-all;
    line-height: 140%;    
}
.sidebar .nav-link {
    color: #333;
    font-size:var(--sidebar-font);
    padding-left:28px;
}

.sidebar .nav-link.active {
    background-color:var(--sidebar-active);
}

@media only screen and (min-width:768px) {
    body {
        min-height: 100vh;
        display: flex;    
    }

    .container {
        width: 100%;
        max-width: var(--wrap);        
        padding-left: 15px;
        padding-right: 15px;
    }
    .sidebar { display:block; }
    .pm-content {
        flex: 1;
        min-width: 0;
        padding: 0;
        background-color: #fff;
    }
}


@media only screen and (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rule label {
        text-align: left;
    }

    #team-result {
        padding: 0px;
    }

    .btn {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 600px) {
    .club-match-team-groups {
        grid-template-columns: minmax(0, 1fr);
    }
}
