.dp-spelling-bee { color: var(--title); } .dp-spelling-bee__title { display: inline-block; margin-bottom: 1rem; color: var(--title); font-weight: 600; } .dp-spelling-bee__grid { display: flex; flex-direction: column; align-items: center; } @media (min-width: 1024px) { .dp-spelling-bee__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch; gap: 1rem; } } @media (min-width: 1280px) { .dp-spelling-bee__grid { gap: 1.5rem; } } .dp-spelling-bee__left { display: contents; } @media (min-width: 1024px) { .dp-spelling-bee__left { display: flex; min-width: 0; flex-direction: column; align-items: center; padding-top: 0.25rem; } } .dp-spelling-bee__hive { width: 150px; font-size: 20px; } @media (min-width: 768px) { .dp-spelling-bee__hive { width: 245px; font-size: 36px; } } @media (min-width: 1280px) { .dp-spelling-bee__hive { width: 285px; } } .dp-spelling-bee__pangrams, .dp-spelling-bee__guide { margin-top: 1rem; width: 100%; border-radius: 9px; border: 1px solid #dfe1e1; background-color: #fff; padding: 0.75rem; box-shadow: 0 5px 22px rgba(0, 0, 0, 0.04); } .dp-spelling-bee__guide { order: 1; } @media (min-width: 768px) { .dp-spelling-bee__pangrams, .dp-spelling-bee__guide { margin-top: 0.75rem; padding: 1.25rem; } } @media (min-width: 1024px) { .dp-spelling-bee__guide { order: 0; } } .dp-spelling-bee__card-head { display: flex; align-items: center; gap: 0.5rem; } .dp-spelling-bee__card-head--wide { gap: 0.75rem; } .dp-spelling-bee__card-bar { width: 0.25rem; flex-shrink: 0; border-radius: 9999px; background-color: #101919; } .dp-spelling-bee__card-bar--lg { height: 1.75rem; } @media (min-width: 768px) { .dp-spelling-bee__card-bar--lg { height: 2.25rem; } } .dp-spelling-bee__pangrams-icon { width: 30px; height: 30px; flex-shrink: 0; } @media (min-width: 768px) { .dp-spelling-bee__pangrams-icon { width: 34px; height: 34px; } } .dp-spelling-bee__card-title { font-size: 20px; font-weight: 600; color: var(--title); } @media (min-width: 768px) { .dp-spelling-bee__card-title { font-size: 24px; } } .dp-spelling-bee__card-title--group { font-size: 18px; } @media (min-width: 768px) { .dp-spelling-bee__card-title--group { font-size: 22px; } } .dp-spelling-bee__pangrams-list { margin-top: 1rem; display: grid; gap: 1.25rem; } @media (min-width: 768px) { .dp-spelling-bee__pangrams-list { margin-top: 1.5rem; gap: 1.5rem; } } .dp-spelling-bee__pangram-word { display: grid; gap: 0.625rem; border-top: 1px solid #e1e3e3; padding-top: 1rem; } .dp-spelling-bee__pangram-word:first-child { border-top: 0; padding-top: 0; } @media (min-width: 768px) { .dp-spelling-bee__pangram-word { padding-top: 1.25rem; } } .dp-spelling-bee__pangram-tiles { display: flex; order: 1; width: 100%; flex-wrap: wrap; justify-content: flex-start; } .dp-spelling-bee__letter:not(.dp-is-revealed) { position: relative; color: transparent; } .dp-spelling-bee__letter:not(.dp-is-revealed)::after { position: absolute; color: #0f172a; content: "?"; } .dp-spelling-bee__word-reveal { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; border-radius: 7px; border: 1px solid transparent; font-weight: 500; color: #fff; transition: opacity 0.15s; } .dp-spelling-bee__word-reveal::before, .dp-spelling-bee__group-reveal::before, .dp-spelling-bee__definitions-reveal::before, .dp-spelling-bee__reveal-all::before { width: 1.5rem; height: 1.5rem; flex-shrink: 0; background: url("/wp-content/themes/dazepuzzle-theme/assets/img/lock-open-icon.svg") center / contain no-repeat; content: ""; } .dp-spelling-bee__word-reveal[aria-pressed="true"]::before, .dp-spelling-bee__group-reveal[aria-pressed="true"]::before, .dp-spelling-bee__definitions-reveal[aria-pressed="true"]::before, .dp-spelling-bee__reveal-all[aria-pressed="true"]::before { background-image: url("/wp-content/themes/dazepuzzle-theme/assets/img/lock-locked-icon.svg"); } @media (hover: hover) { .dp-spelling-bee__word-reveal:hover, .dp-spelling-bee__group-reveal:hover { opacity: 0.88; } } .dp-spelling-bee__word-reveal--pangram { height: 36px; min-width: 78px; order: 2; justify-self: start; padding-inline: 0.5rem; font-size: 14px; background-color: #299795; } @media (min-width: 768px) { .dp-spelling-bee__word-reveal--pangram { height: 2.25rem; min-width: 96px; font-size: 0.75rem; } } .dp-spelling-bee__word-reveal--definition { height: 36px; min-width: 82px; flex-shrink: 0; padding-inline: 0.75rem; font-size: 14px; font-weight: 600; background-color: #299795; } @media (min-width: 768px) { .dp-spelling-bee__word-reveal--definition { min-width: 132px; } } .dp-spelling-bee__answer-btn { display: block; max-width: 100%; overflow: hidden; cursor: pointer; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: 0.015em; color: var(--title); filter: blur(4px); user-select: none; transition: filter 0.15s; } .dp-spelling-bee__answer-btn.dp-is-revealed { filter: blur(0); user-select: text; } .dp-is-bulk-updating .dp-spelling-bee__answer-btn { transition: none; } .dp-spelling-bee__answer-btn--pangram::before { display: inline-block; width: 15px; height: 15px; margin-right: 0.25rem; background: url("/wp-content/themes/dazepuzzle-theme/assets/img/star-small.svg") center / contain no-repeat; content: ""; } @media (min-width: 768px) { .dp-spelling-bee__answer-btn { font-size: 18px; } } .dp-spelling-bee__answer-letter--center { color: #dcaf00; } .dp-spelling-bee__answer-item { min-width: 0; } .dp-spelling-bee__answer-group { content-visibility: auto; contain-intrinsic-size: auto 320px; border-radius: 9px; border: 1px solid #dfe1e1; background-color: #fff; padding-inline: 0.75rem; padding-block: 0.75rem; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04); } @media (min-width: 768px) { .dp-spelling-bee__answer-group { padding-inline: 1.25rem; padding-block: 1rem; } } .dp-spelling-bee__card-text { min-width: 0; } .dp-spelling-bee__card-text .dp-spelling-bee__card-title, .dp-spelling-bee__card-text .dp-spelling-bee__card-count { display: inline; } .dp-spelling-bee__card-count { margin-left: 0.5rem; font-size: 14px; font-weight: 400; color: var(--subtitle); } .dp-spelling-bee__group-reveal { margin-top: 0.75rem; display: inline-flex; width: auto; min-width: 82px; height: 36px; align-items: center; justify-content: center; gap: 0.375rem; border-radius: 7px; border: 1px solid transparent; background-color: #299795; padding-inline: 0.75rem; font-size: 14px; font-weight: 600; color: #fff; transition: opacity 0.15s; } .dp-spelling-bee__answer-list { margin-top: 0.75rem; display: flex; flex-wrap: wrap; column-gap: 1.75rem; row-gap: 0.5rem; } @media (min-width: 768px) { .dp-spelling-bee__answer-group { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.75rem; } .dp-spelling-bee__answer-group .dp-spelling-bee__card-head { grid-row: 1; grid-column: 1; } .dp-spelling-bee__answer-group .dp-spelling-bee__answer-list { grid-column: 1 / -1; } .dp-spelling-bee__group-reveal { margin-top: 0; width: auto; min-width: 132px; grid-row: 1; grid-column: 2; margin-left: auto; } } .dp-spelling-bee__panel { margin-top: 1rem; display: grid; grid-column: 1 / -1; gap: 0.75rem; } .dp-spelling-bee__panel.dp-is-hidden { display: none; } .dp-spelling-bee__definition { display: flex; min-width: 0; flex-direction: column; content-visibility: auto; contain-intrinsic-size: auto 8rem; border-radius: 9px; border: 1px solid #dfe1e1; background-color: #fff; padding: 0.75rem; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04); } @media (min-width: 768px) { .dp-spelling-bee__definition { contain-intrinsic-size: auto 5.5rem; padding: 1rem; } } .dp-spelling-bee__definition-text { font-size: var(--dp-font-size-body); font-weight: 400; line-height: 1.625; color: var(--title); } .dp-spelling-bee__definition-star { margin-right: 0.25rem; font-size: 0.875rem; color: #f8cd0e; } .dp-spelling-bee__definition-footer { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding-top: 0.75rem; } @media (min-width: 768px) { .dp-spelling-bee__definition-footer { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 0.75rem; } } .dp-spelling-bee__definition-tiles { display: flex; min-width: 0; flex-wrap: wrap; } .dp-spelling-bee__definitions { margin-top: 1.25rem; } .dp-spelling-bee__definitions .dp-spelling-bee__card-head { flex-wrap: wrap; } .dp-spelling-bee__definitions.dp-is-bulk-revealed .dp-spelling-bee__letter.dp-is-revealed { animation: none; } @media (min-width: 768px) { .dp-spelling-bee__definitions { margin-top: 2rem; } .dp-spelling-bee__definitions .dp-spelling-bee__card-head { flex-wrap: nowrap; } } .dp-spelling-bee__definitions-list { margin-top: 0.75rem; display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 0.625rem; } @media (min-width: 768px) { .dp-spelling-bee__definitions-list { margin-top: 1rem; gap: 0.75rem; } } @media (min-width: 1024px) { .dp-spelling-bee__definitions-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } } .dp-spelling-bee__freq-wrap { margin-top: 0.75rem; overflow-x: auto; border-block: 1px solid #e1e3e3; } @media (min-width: 768px) { .dp-spelling-bee__freq-wrap { margin-top: 1rem; } } .dp-spelling-bee__freq-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: center; font-size: 10px; } @media (min-width: 768px) { .dp-spelling-bee__freq-table { font-size: 0.75rem; } } .dp-spelling-bee__freq-corner { width: 30px; } @media (min-width: 768px) { .dp-spelling-bee__freq-corner { width: 46px; } } .dp-spelling-bee__freq-cell { padding-inline: 0.25rem; padding-block: 0.5rem; cursor: pointer; font-size: 16px; font-weight: 500; transition: background-color 0.15s; } @media (min-width: 768px) { .dp-spelling-bee__freq-cell { padding-inline: 0.375rem; padding-block: 0.625rem; } } .dp-spelling-bee__freq-cell--head { font-weight: 600; } .dp-spelling-bee__freq-cell--row-head { text-align: left; font-size: 16px; font-weight: 600; } .dp-spelling-bee__freq-cell.dp-is-highlighted { background-color: #fff8d7; } .dp-spelling-bee__freq-cell.dp-is-intersection { background-color: #f8cd0e; } .dp-spelling-bee__freq-row { border-top: 1px solid #e1e3e3; } .dp-spelling-bee__freq-row--total { font-weight: 600; } .dp-spelling-bee__guide-icon { width: 1rem; flex-shrink: 0; } @media (min-width: 768px) { .dp-spelling-bee__guide-icon { width: 1.25rem; } } .dp-spelling-bee__guide-stats { margin-top: 0.75rem; font-size: 11px; } @media (min-width: 768px) { .dp-spelling-bee__guide-stats { margin-top: 1rem; font-size: 0.875rem; } } .dp-spelling-bee__guide-stat { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e1e3e3; padding-block: 0.625rem; } @media (min-width: 768px) { .dp-spelling-bee__guide-stat { padding-block: 0.75rem; } } .dp-spelling-bee__guide-stat-label { font-weight: 500; } .dp-spelling-bee__guide-stat-value { font-weight: 600; } .dp-spelling-bee__guide-freq-title { margin-top: 1rem; font-size: 18px; font-weight: 600; } @media (min-width: 768px) { .dp-spelling-bee__guide-freq-title { margin-top: 1.5rem; font-size: 22px; } } .dp-spelling-bee__right { margin-top: 1.25rem; display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; align-content: start; } @media (min-width: 1024px) { .dp-spelling-bee__right { margin-top: 0; } } .dp-spelling-bee__right-head { display: flex; align-items: center; gap: 0.625rem; grid-row: 1; grid-column: 1 / -1; } @media (min-width: 768px) { .dp-spelling-bee__right-head { gap: 0.75rem; } } .dp-spelling-bee__right-head-text { min-width: 0; flex: 1 1 auto; } .dp-spelling-bee__found-row { display: flex; min-width: 0; align-items: center; gap: 0.5rem; } .dp-spelling-bee__found-title { min-width: 0; font-size: 20px !important; font-weight: 600; color: var(--title); } @media (min-width: 768px) { .dp-spelling-bee__found-title { font-size: 24px !important; } } .dp-spelling-bee__right-subtitle { margin-top: 0.125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 400; color: var(--subtitle); } @media (min-width: 768px) { .dp-spelling-bee__right-subtitle { font-size: 16px; } } .dp-spelling-bee__definitions-reveal, .dp-spelling-bee__reveal-all { margin-top: 0.75rem; margin-left: auto; display: inline-flex; width: 100%; height: 36px; grid-row: 3; grid-column: 1 / -1; flex-shrink: 0; align-items: center; justify-content: center; gap: 0.375rem; border-radius: 7px; background-color: #000; padding-inline: 0.75rem; font-size: 14px; font-weight: 500; color: #fff; transition: opacity 0.15s; } @media (hover: hover) { .dp-spelling-bee__definitions-reveal:hover, .dp-spelling-bee__reveal-all:hover { opacity: 0.88; } } @media (min-width: 768px) { .dp-spelling-bee__definitions-reveal, .dp-spelling-bee__reveal-all { margin-top: 1.25rem; width: auto; height: 3rem; min-width: 150px; grid-row: 2; grid-column: 2; align-self: center; justify-self: end; padding-inline: 1.25rem; font-size: 16px; } } .dp-spelling-bee__tabs { margin-top: 1rem; display: flex; align-items: center; gap: 0.375rem; grid-row: 2; grid-column: 1 / -1; } @media (min-width: 768px) { .dp-spelling-bee__tabs { margin-top: 1.25rem; gap: 0.5rem; grid-column: 1; } } .dp-spelling-bee__tab { display: inline-flex; height: 2.25rem; flex: 1 1 0; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid #d7dada; background-color: #fff; padding-inline: 0.75rem; font-size: 14px; font-weight: 500; color: var(--title); transition: background-color 0.15s, border-color 0.15s, color 0.15s; } @media (hover: hover) { .dp-spelling-bee__tab:hover { background-color: #f8f8f8; } } @media (min-width: 768px) { .dp-spelling-bee__tab { height: 3rem; flex: 0 1 auto; padding-inline: 1.25rem; font-size: 16px; } } .dp-spelling-bee__tab.dp-is-active { border-color: #299795; background-color: #f0fafa; color: #238886; }
