@import 'Mahjong.Web.Client.cgsm70gklh.bundle.scp.css';

/* /Components/Account/Shared/AvatarPicker.razor.rz.scp.css */
.avatar-picker[b-a3gd1hcvxf] {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
}

.avatar-picker legend[b-a3gd1hcvxf] {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

.choices[b-a3gd1hcvxf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr));
    gap: 0.5rem;
}

.choice[b-a3gd1hcvxf] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.2rem;
    border: 2px solid transparent;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    text-align: center;
}

.choice:hover[b-a3gd1hcvxf] {
    border-color: #d6c29c;
}

/* The radio button itself is hidden; the card shows the choice. */
.choice[b-a3gd1hcvxf]  input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice:has(input:checked)[b-a3gd1hcvxf] {
    border-color: var(--accent);
    background: #fbe9dc;
}

.choice:has(input:focus-visible)[b-a3gd1hcvxf] {
    outline: 3px solid #2b6cb0;
    outline-offset: 2px;
}

.name[b-a3gd1hcvxf] {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.chinese[b-a3gd1hcvxf] {
    font-weight: 400;
    opacity: 0.8;
}
/* /Components/Account/Shared/DisplayNameHelp.razor.rz.scp.css */
.display-name-help[b-qso9it8jyv] {
    margin: -0.5rem 0 1rem;
    font-size: 0.9rem;
}

.display-name-help p[b-qso9it8jyv] {
    margin: 0.35rem 0;
}

.emoji[b-qso9it8jyv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.emoji button[b-qso9it8jyv] {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 1px solid #d6c29c;
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.emoji button:hover[b-qso9it8jyv] {
    background: #fbe9dc;
}

.tip[b-qso9it8jyv] {
    color: #6b5a44;
    font-size: 0.8rem;
}
/* /Components/Account/Shared/ExternalLoginPicker.razor.rz.scp.css */
/* Three across, in the settings' dark style. A live service is a light button with its own logo; one
   that isn't set up yet is dark and dimmed, with "soon" under its name. */
.providers[b-pzdzlr6udd] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.provider[b-pzdzlr6udd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    height: 56px;
    padding: 0 4px;
    border: 1px solid #3A312B;
    border-radius: 12px;
    background: #F3EEDC;
    color: #171310;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    cursor: pointer;
}

.provider:hover:not(:disabled)[b-pzdzlr6udd] {
    background: #ffffff;
}

.provider:focus-visible[b-pzdzlr6udd] {
    outline: 3px solid #F3EEDC;
    outline-offset: 2px;
}

.provider:disabled[b-pzdzlr6udd] {
    background: #201A16;
    color: #8C8270;
    cursor: default;
}

.provider span[b-pzdzlr6udd] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.soon[b-pzdzlr6udd] {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.logo[b-pzdzlr6udd] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

/* Facebook's own blue when it's live. */
.provider.facebook:not(:disabled)[b-pzdzlr6udd] {
    border-color: #1877f2;
    background: #1877f2;
    color: #fff;
}
/* /Components/Layout/HomeAbout.razor.rz.scp.css */
/* Below the game, reached by scrolling: a readable panel like the other text pages. */
.home-about[b-o7q187dwg9] {
    max-width: 46rem;
    margin: 1.5rem auto;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    background: var(--panel-bg);
    color: var(--panel-text);
    line-height: 1.55;
}

.home-about h2[b-o7q187dwg9] {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
}

.home-about h3[b-o7q187dwg9] {
    margin: 1.25rem 0 0.4rem;
    font-size: 1.1rem;
}

.home-about dt[b-o7q187dwg9] {
    margin-top: 0.6rem;
    font-weight: 700;
}

.home-about dd[b-o7q187dwg9] {
    margin: 0.15rem 0 0;
}

.home-about a[b-o7q187dwg9] {
    color: var(--accent);
}

@media (max-width: 600px) {
    .home-about[b-o7q187dwg9] {
        margin: 1rem 0.5rem;
        padding: 1rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* margin-top: auto keeps the footer at the bottom of the window when the page is short. */
.site-footer[b-l26926k3pt] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: var(--footer-height);
    margin-top: auto;
    padding: 0 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(20, 12, 6, 0.7);
}

.site-footer a[b-l26926k3pt] {
    color: inherit;
}

#blazor-error-ui[b-l26926k3pt] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-l26926k3pt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/TopNav.razor.rz.scp.css */
.top-nav[b-la662ovpe9] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    height: var(--nav-height);
    padding: 0 1rem;
    background: rgba(20, 12, 6, 0.82);
    backdrop-filter: blur(6px);
    color: #fff;
    /* The blur makes the header a layer of its own, so its tooltips can only rise as high as it
       does: above the page under it (the game bar is blurred too, and comes later), below dialogs. */
    position: relative;
    z-index: 50;
}

.brand[b-la662ovpe9] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-right: 0.75rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* The full logo (white lettering for the dark bar). */
.brand-logo[b-la662ovpe9] {
    width: auto;
    height: 1.9rem;
}

/* The 家 glyph (haus-glyph2.png): only on phones, in place of the full logo. */
.logo[b-la662ovpe9] {
    display: none;
    width: auto;
    height: 2.4rem;
}

.spacer[b-la662ovpe9] {
    flex: 1;
}

.right[b-la662ovpe9] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

form[b-la662ovpe9] {
    margin: 0;
}

/* Round icon buttons: links (NavLink renders <a>, hence ::deep) and buttons alike. */
.top-nav[b-la662ovpe9]  .icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    text-decoration: none;
}

.top-nav[b-la662ovpe9]  .icon-link:hover,
.top-nav[b-la662ovpe9]  .icon-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.top-nav[b-la662ovpe9]  .icon-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
}

/* The language button: the other language's code, in small capitals. */
.top-nav[b-la662ovpe9]  .icon-link.language {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.top-nav[b-la662ovpe9]  .icon-link.register {
    background: var(--accent);
    color: #fff;
}

.top-nav[b-la662ovpe9]  .icon-link.register:hover {
    background: #9c2a19;
}

.top-nav[b-la662ovpe9]  .icon-link svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-nav[b-la662ovpe9]  .icon-link .speaker {
    fill: currentColor;
    stroke: none;
}

/* Tooltips: the data-tip text in a small label under the icon. */
.top-nav[b-la662ovpe9]  .icon-link[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    padding: 0.25rem 0.55rem;
    border-radius: 0.35rem;
    background: rgba(20, 12, 6, 0.95);
    color: #fff;
    font-size: 0.8rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s;
}

/* Icons at the right edge line their tooltips up with the edge, so they stay on screen. */
.right[b-la662ovpe9]  .icon-link[data-tip]::after {
    left: auto;
    right: 0;
    transform: none;
}

.top-nav[b-la662ovpe9]  .icon-link[data-tip]:hover::after,
.top-nav[b-la662ovpe9]  .icon-link[data-tip]:focus-visible::after {
    opacity: 1;
}

/* Touch screens have no hover: a tap navigates, so there's no tooltip to leave stuck on screen. */
@media (hover: none) {
    .top-nav[b-la662ovpe9]  .icon-link[data-tip]:hover::after {
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .top-nav[b-la662ovpe9] {
        padding: 0 0.5rem;
    }

    .brand[b-la662ovpe9] {
        margin-right: 0.25rem;
    }

    .brand-logo[b-la662ovpe9] {
        display: none;
    }

    .logo[b-la662ovpe9] {
        display: block;
    }
}
/* /Components/Pages/Stats.razor.rz.scp.css */
.who[b-whvrsipf8s] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.who span[b-whvrsipf8s] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #B8AE9C;
}

/* The three totals on light tiles, like the score lists. */
.stat-tiles[b-whvrsipf8s] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.stat-tiles > div[b-whvrsipf8s] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
    padding: 12px 10px;
    border-radius: 12px;
    background: #F7F1E3;
    color: #2b2116;
}

.stat-tiles span[b-whvrsipf8s] {
    font-size: 11px;
    letter-spacing: 0.06em;
    line-height: 1.25;
    text-transform: uppercase;
    color: #6b5a44;
}

.stat-tiles strong[b-whvrsipf8s] {
    font-size: 26px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

h2[b-whvrsipf8s] {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 600;
}

.bests[b-whvrsipf8s] {
    margin: 0;
    padding: 4px 0;
    border-radius: 14px;
    background: #F7F1E3;
    list-style: none;
}

.bests li + li[b-whvrsipf8s] {
    border-top: 1px solid #e6dcc6;
}

.bests a[b-whvrsipf8s] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: #2b2116;
    text-decoration: none;
}

.bests a:hover[b-whvrsipf8s] {
    background: #efe6d2;
}

.bests a:focus-visible[b-whvrsipf8s] {
    outline: 3px solid #D7263D;
    outline-offset: -3px;
}

.what[b-whvrsipf8s] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.layout[b-whvrsipf8s] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
}

.sub[b-whvrsipf8s] {
    font-size: 12px;
    color: #6b5a44;
}

.best[b-whvrsipf8s] {
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bests svg[b-whvrsipf8s] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #6b5a44;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (min-width: 700px) {
    .stat-tiles strong[b-whvrsipf8s] {
        font-size: 32px;
    }
}
