* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
height: 100%;
background: var(--clr-bg);
color: var(--clr-text);
font-family: var(--font-body);
-webkit-font-smoothing: antialiased;
overscroll-behavior: none;
overflow-x: hidden;
}
button {
font: inherit;
color: inherit;
background: none;
border: none;
cursor: pointer;
}
.viewer {
position: relative;
height: 100dvh;
display: flex;
flex-direction: column;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 0 16px;
height: 56px;
flex: none;
border-bottom: 1px solid var(--clr-border);
background: color-mix(in srgb, var(--clr-surface) 88%, transparent);
backdrop-filter: saturate(180%) blur(14px);
-webkit-backdrop-filter: saturate(180%) blur(14px);
z-index: 30;
}
.title {
font-family: var(--font-heading);
font-weight: 600;
font-size: 15px;
letter-spacing: -0.01em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--clr-text);
}
.topbar-actions {
display: flex;
align-items: center;
gap: 4px;
}
.icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border-radius: 999px;
color: var(--clr-text);
text-decoration: none;
transition: background-color 0.15s ease;
}
.icon-btn:hover {
background: var(--clr-border);
}
@media (max-width: 768px) {
#fullscreenToggle {
display: none;
}
}
.sidebar {
position: fixed;
top: 56px;
left: 0;
bottom: 0;
width: 200px;
background: var(--clr-surface);
border-right: 1px solid var(--clr-border);
transform: translateX(-100%);
transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 40;
overflow: hidden;
}
.sidebar.open {
transform: translateX(0);
}
.sidebar-inner {
height: 100%;
overflow-y: auto;
padding: 12px;
display: grid;
gap: 10px;
}
.thumb-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 6px;
border-radius: 10px;
border: 1px solid transparent;
}
.thumb-item img {
width: 100%;
border-radius: 6px;
border: 1px solid var(--clr-border);
display: block;
}
.thumb-item span {
font-size: 11px;
color: var(--clr-muted);
}
.thumb-item.active {
border-color: var(--clr-accent);
}
.thumb-item.active img {
border-color: var(--clr-accent);
}
.thumb-row {
display: flex;
gap: 0;
}
.thumb-row .thumb-item {
flex: 1;
min-width: 0;
}
.thumb-row .thumb-item:first-child {
padding-right: 0;
}
.thumb-row .thumb-item:last-child {
padding-left: 0;
}
.thumb-row .thumb-item:first-child img {
border-radius: 6px 0 0 6px;
border-right: none;
}
.thumb-row .thumb-item:last-child img {
border-radius: 0 6px 6px 0;
border-left: none;
}
.thumb-solo {
display: flex;
}
.thumb-solo .thumb-item {
width: 50%;
}
.sidebar-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
z-index: 35;
}
.sidebar-overlay.open {
opacity: 1;
pointer-events: auto;
}
.search-panel {
position: fixed;
z-index: 41;
top: 64px;
right: 16px;
left: 16px;
width: auto;
max-width: 380px;
margin-left: auto;
max-height: min(70vh, 560px);
background: var(--clr-surface);
border: 1px solid var(--clr-border);
border-radius: var(--radius);
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
display: flex;
flex-direction: column;
opacity: 0;
visibility: hidden;
transform: translateY(-8px);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.search-panel.open {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
#tocPanel {
right: auto;
margin-left: 0;
margin-right: auto;
}
.search-input-row {
flex: none;
display: flex;
align-items: center;
gap: 10px;
padding: 12px 12px 12px 16px;
border-bottom: 1px solid var(--clr-border);
color: var(--clr-muted);
}
.search-input-row #searchInput {
flex: 1;
min-width: 0;
font: inherit;
font-size: 14px;
color: var(--clr-text);
background: none;
border: none;
outline: none;
}
.search-input-row #searchInput::placeholder {
color: var(--clr-muted);
}
.search-input-row .icon-btn {
width: 30px;
height: 30px;
}
.search-results {
overflow-y: auto;
padding: 8px;
display: grid;
gap: 6px;
}
.search-message {
margin: 0;
padding: 14px 10px;
font-size: 13px;
color: var(--clr-muted);
text-align: center;
}
.search-result-item {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 8px;
border-radius: 10px;
text-align: left;
transition: background-color 0.15s ease;
}
.search-result-item:hover {
background: var(--clr-border);
}
.search-result-item img {
flex: none;
width: 42px;
border-radius: 4px;
border: 1px solid var(--clr-border);
display: block;
}
.search-result-thumb-pair {
flex: none;
display: flex;
width: 64px;
}
.search-result-item .search-result-thumb-pair img {
flex: 1;
min-width: 0;
width: auto;
}
.search-result-thumb-pair img:first-child {
border-radius: 4px 0 0 4px;
border-right: none;
}
.search-result-thumb-pair img:last-child {
border-radius: 0 4px 4px 0;
border-left: none;
}
.search-result-body {
min-width: 0;
display: flex;
flex-direction: column;
gap: 3px;
}
.search-result-page {
font-size: 11px;
font-weight: 600;
color: var(--clr-accent);
}
.search-result-snippet {
margin: 0;
font-size: 12.5px;
line-height: 1.5;
color: var(--clr-muted);
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.search-result-snippet mark {
background: color-mix(in srgb, var(--clr-accent) 30%, transparent);
color: var(--clr-text);
border-radius: 2px;
}
@media (max-width: 768px) {
.search-panel {
top: 56px;
right: 8px;
left: 8px;
max-width: none;
}
}
.stage {
position: relative;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 24px;
}
.stage.has-fab {
padding-bottom: 100px;
}
.pages {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
perspective: 2200px;
}
.watermark-overlay {
position: absolute;
inset: 0;
pointer-events: none;
background-repeat: repeat;
z-index: 5;
}
.page-turn-layer {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
}
.spread {
display: flex;
width: 100%;
gap: 0;
height: 100%;
align-items: center;
justify-content: center;
transition: transform 0.25s ease;
}
.page-image {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 4px;
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
background: var(--clr-surface);
cursor: zoom-in;
transition: transform 0.25s ease;
touch-action: pan-y;
-webkit-user-drag: none;
user-select: none;
}
.page-image.zoomed {
cursor: grab;
touch-action: none;
}
.page-image.panning,
.spread.panning {
cursor: grabbing;
transition: none;
}
.page-with-caption {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
min-width: 0;
min-height: 0;
}
.page-with-caption .page-image {
flex: none;
max-height: calc(100% - 26px);
min-height: 0;
}
.page-caption {
flex: none;
margin-top: 6px;
font-size: 12px;
color: var(--clr-muted);
letter-spacing: 0.02em;
line-height: 1.2;
}
.page-caption:empty {
display: none;
}
.page-caption-row {
display: flex;
width: 100%;
justify-content: space-between;
padding: 0 6px;
margin-top: 6px;
flex: none;
}
.page-caption-row .page-caption {
margin-top: 0;
}
.spread .page-with-caption {
max-width: 50%;
}
.spread .page-image {
border-radius: 0;
box-shadow: none;
background: none;
}
.spread .page-with-caption.dual-caption {
max-width: 100%;
}
.spread.spread-solo {
width: 50%;
}
.spread.spread-solo .page-with-caption {
max-width: 100%;
}
.spread.zoomed .page-image {
cursor: grab;
touch-action: none;
}
.nav-btn {
position: absolute;
top: 50%;
translate: 0 -50%;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: color-mix(in srgb, var(--clr-surface) 75%, transparent);
border: 1px solid var(--clr-border);
color: var(--clr-text);
z-index: 20;
transition: opacity 0.15s ease, background-color 0.15s ease;
}
.nav-btn:hover {
background: var(--clr-surface);
}
.nav-prev {
left: 16px;
}
.nav-next {
right: 16px;
}
.nav-btn.is-hidden {
display: none;
}
.bookmark-ribbon {
position: absolute;
top: 0;
right: 28px;
z-index: 10;
width: 40px;
height: 56px;
display: flex;
align-items: flex-start;
justify-content: center;
padding-top: 10px;
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.18));
transition: transform 0.15s ease;
}
.bookmark-ribbon:hover {
transform: translateY(2px);
}
.bookmark-ribbon svg {
fill: none;
stroke: #ff5470;
stroke-width: 1.8;
stroke-linejoin: round;
transition: fill 0.15s ease;
}
.bookmark-ribbon.on svg {
fill: #ff5470;
}
@media (max-width: 768px) {
.bookmark-ribbon {
right: 16px;
}
}
.footer {
flex: none;
display: flex;
justify-content: center;
padding: 10px 0 14px;
font-size: 12px;
color: var(--clr-muted);
letter-spacing: 0.02em;
}
.page-indicator {
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
}
.page-jump-pill {
display: inline-flex;
align-items: center;
gap: 5px;
font: inherit;
font-weight: 500;
font-size: 13px;
color: var(--clr-text);
background: var(--clr-bg);
border: 1px solid var(--clr-border);
border-radius: 999px;
padding: 3px 10px;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease;
}
.page-jump-pill:hover {
border-color: var(--clr-muted);
}
.page-jump-pill svg {
flex: none;
opacity: 0.55;
}
.page-total-label {
font-size: 11px;
color: var(--clr-muted);
}
.page-jump-input {
width: 72px;
height: 28px;
font: inherit;
font-weight: 500;
font-size: 16px;
text-align: center;
color: var(--clr-text);
background: var(--clr-surface);
border: 1px solid var(--clr-accent);
border-radius: 999px;
padding: 0 8px;
}
.page-jump-input:focus {
outline: none;
}
.pages.view-scroll {
display: block;
overflow-y: auto;
scroll-snap-type: y mandatory;
perspective: none;
}
.scroll-page {
height: 100%;
scroll-snap-align: start;
scroll-snap-stop: always;
display: flex;
align-items: center;
justify-content: center;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideIn {
from { opacity: 0; transform: translateX(24px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes foldAwayLeft {
from { transform: rotateY(0deg); }
to { transform: rotateY(100deg); }
}
@keyframes foldAwayRight {
from { transform: rotateY(0deg); }
to { transform: rotateY(-100deg); }
}
.transition-fade .page-turn-layer {
animation: fadeIn 0.35s ease;
will-change: opacity;
}
.transition-slide .page-turn-layer {
animation: slideIn 0.32s cubic-bezier(0.4, 0, 0.2, 1);
will-change: opacity, transform;
}
.fold-half {
z-index: 2;
backface-visibility: hidden;
will-change: transform;
}
.fold-left {
clip-path: inset(0 50% 0 0);
transform-origin: 50% 50%;
}
.fold-right {
clip-path: inset(0 0 0 50%);
transform-origin: 50% 50%;
}
.fold-left.turning {
animation: foldAwayLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.fold-right.turning {
animation: foldAwayRight 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.icon-btn {
position: relative;
}
.icon-btn::after,
.nav-btn::after,
.bookmark-ribbon::after {
content: attr(aria-label);
position: absolute;
top: calc(100% + 10px);
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
padding: 5px 10px;
border-radius: 6px;
background: rgba(20, 20, 20, 0.9);
color: #fff;
font-size: 12px;
font-weight: 500;
letter-spacing: 0.01em;
opacity: 0;
pointer-events: none;
transition: opacity 0.15s ease;
z-index: 50;
}
#sidebarToggle::after {
left: 0;
transform: none;
}
#fullscreenToggle::after {
left: auto;
right: 0;
transform: none;
}
.bookmark-ribbon::after {
top: calc(100% + 4px);
left: auto;
right: 0;
transform: none;
}
.nav-btn::after {
top: auto;
bottom: calc(100% + 10px);
}
.nav-prev::after {
left: 0;
transform: none;
}
.nav-next::after {
left: auto;
right: 0;
transform: none;
}
@media (hover: hover) {
.icon-btn:hover::after,
.nav-btn:hover::after,
.bookmark-ribbon:hover::after {
opacity: 1;
transition-delay: 0.5s;
}
}
@media (max-width: 768px) {
.sidebar {
width: 78vw;
max-width: 280px;
}
.nav-btn {
display: none;
}
.stage {
padding: 24px 0;
}
.stage.has-fab {
padding-bottom: 24px;
}
.page-image {
border-radius: 0;
}
}
#app:fullscreen {
background: var(--clr-bg);
}
#app:fullscreen .stage {
padding: 40px;
}
.cta-fab {
position: fixed;
right: 20px;
bottom: 24px;
z-index: 25;
display: none;
align-items: center;
padding: 14px 22px;
border-radius: 999px;
background: var(--clr-accent);
color: #fff;
font-family: var(--font-heading);
font-weight: 700;
font-size: 14px;
letter-spacing: 0.01em;
text-decoration: none;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-fab.visible {
display: inline-flex;
}
.cta-fab:hover {
transform: translateY(-2px);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}
@media (max-width: 768px) {
.cta-fab {
right: 14px;
bottom: 16px;
padding: 12px 18px;
font-size: 13px;
}
}
#app:fullscreen .cta-fab {
right: 40px;
bottom: 40px;
}
.contact-fab {
position: fixed;
left: 20px;
bottom: 24px;
z-index: 25;
display: inline-flex;
align-items: center;
gap: 10px;
padding: 6px 20px 6px 6px;
border-radius: 999px;
background: var(--clr-surface);
border: 1px solid var(--clr-border);
color: var(--clr-text);
font-family: var(--font-heading);
font-weight: 700;
font-size: 14px;
letter-spacing: 0.01em;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-fab-icon {
flex: none;
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border-radius: 999px;
background: #2f8fef;
color: #fff;
}
.contact-fab:hover {
transform: translateY(-2px);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
@media (max-width: 768px) {
.contact-fab {
left: 14px;
bottom: 16px;
padding: 5px;
gap: 0;
}
.contact-fab-label {
display: none;
}
}
#app:fullscreen .contact-fab {
left: 40px;
bottom: 40px;
}
.toc-panel-title {
flex: 1;
font-size: 14px;
font-weight: 700;
color: var(--clr-text);
}
.toc-item {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 4px;
width: 100%;
padding: 10px 12px;
border-radius: 10px;
text-align: left;
font-size: 13px;
color: var(--clr-text);
transition: background-color 0.15s ease;
}
.toc-item:hover {
background: var(--clr-border);
}
.toc-item-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
width: 100%;
}
.toc-item .toc-item-page {
flex: none;
font-size: 12px;
color: var(--clr-muted);
}
.toc-item-caption {
margin: 0;
font-size: 11.5px;
line-height: 1.5;
color: var(--clr-muted);
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.toc-group {
display: grid;
gap: 2px;
}
.toc-parent-row {
display: flex;
align-items: stretch;
gap: 2px;
}
.toc-chevron {
flex: none;
width: 28px;
display: flex;
align-items: center;
justify-content: center;
color: var(--clr-muted);
transition: color 0.15s ease;
}
.toc-chevron:hover {
color: var(--clr-text);
}
.toc-chevron-v {
transform-box: fill-box;
transform-origin: center;
transition: transform 0.15s ease;
}
.toc-chevron[aria-expanded="true"] .toc-chevron-v {
transform: rotate(90deg);
}
.toc-item-main {
flex: 1;
min-width: 0;
}
.toc-children {
display: grid;
gap: 2px;
overflow: hidden;
}
.toc-children.collapsed {
display: none;
}
.toc-item-child {
padding-left: 34px;
}
.modal-overlay {
position: fixed;
inset: 0;
z-index: 60;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
background: rgba(0, 0, 0, 0.5);
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-overlay.open {
opacity: 1;
visibility: visible;
}
.modal {
width: 100%;
max-width: 460px;
max-height: min(86vh, 640px);
overflow-y: auto;
background: var(--clr-surface);
border: 1px solid var(--clr-border);
border-radius: var(--radius);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
transform: translateY(12px) scale(0.98);
transition: transform 0.2s ease;
}
.modal-overlay.open .modal {
transform: translateY(0) scale(1);
}
.modal-body {
padding: 24px;
}
.modal-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
margin-bottom: 18px;
}
.modal-head h2 {
margin: 0 0 4px;
font-family: var(--font-heading);
font-size: 18px;
font-weight: 700;
color: var(--clr-text);
}
.modal-head p {
margin: 0;
font-size: 13px;
color: var(--clr-muted);
}
.modal-close {
flex: none;
width: 30px;
height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
color: var(--clr-muted);
transition: background-color 0.15s ease, color 0.15s ease;
}
.modal-close:hover {
background: var(--clr-border);
color: var(--clr-text);
}
.contact-form {
display: grid;
gap: 14px;
}
.contact-form .field {
display: grid;
gap: 6px;
}
.contact-form .field.two {
grid-template-columns: 1fr 1fr;
display: grid;
gap: 14px;
}
.contact-form label {
font-size: 12.5px;
font-weight: 600;
color: var(--clr-text);
display: flex;
align-items: center;
gap: 6px;
}
.contact-form .req,
.contact-form .opt {
font-size: 10.5px;
font-weight: 700;
padding: 1px 6px;
border-radius: 999px;
}
.contact-form .req {
color: #fff;
background: var(--clr-accent);
}
.contact-form .opt {
color: var(--clr-muted);
background: var(--clr-border);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
width: 100%;
font: inherit;
font-size: 13.5px;
color: var(--clr-text);
background: var(--clr-bg);
border: 1px solid var(--clr-border);
border-radius: 8px;
padding: 9px 11px;
outline: none;
transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
border-color: var(--clr-accent);
}
.contact-form textarea {
min-height: 96px;
resize: vertical;
line-height: 1.5;
}
.contact-form .consent {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 12px;
font-weight: 400;
color: var(--clr-muted);
line-height: 1.5;
}
.contact-form .consent input {
margin-top: 3px;
flex: none;
}
.contact-form .hp {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
opacity: 0;
pointer-events: none;
}
.form-msg {
margin: 0;
font-size: 12.5px;
line-height: 1.5;
}
.form-msg:empty {
display: none;
}
.form-msg.err {
color: #e5484d;
}
.form-submit button {
width: 100%;
padding: 12px 20px;
border-radius: 999px;
background: var(--clr-accent);
color: #fff;
font-family: var(--font-heading);
font-weight: 700;
font-size: 14px;
letter-spacing: 0.01em;
transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.form-submit button:hover {
transform: translateY(-1px);
}
.form-submit button:disabled {
opacity: 0.6;
cursor: default;
transform: none;
}
.modal-success {
padding: 40px 24px;
text-align: center;
}
.modal-success .ok-ic {
width: 56px;
height: 56px;
margin: 0 auto 16px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: color-mix(in srgb, #1fae6b 16%, transparent);
color: #1fae6b;
}
.modal-success h3 {
margin: 0 0 8px;
font-family: var(--font-heading);
font-size: 17px;
font-weight: 700;
color: var(--clr-text);
outline: none;
}
.modal-success p {
margin: 0;
font-size: 13px;
color: var(--clr-muted);
line-height: 1.6;
}
@media (max-width: 480px) {
.contact-form .field.two {
grid-template-columns: 1fr;
}
}
.tour-layer {
position: fixed;
inset: 0;
z-index: 80;
display: none;
}
.tour-layer.on {
display: block;
}
.tour-spot {
position: absolute;
border-radius: 12px;
box-shadow: 0 0 0 200vmax rgba(8, 12, 20, 0.55);
transition:
top 0.38s cubic-bezier(0.4, 0, 0.2, 1),
left 0.38s cubic-bezier(0.4, 0, 0.2, 1),
width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-spot::after {
content: "";
position: absolute;
inset: -3px;
border-radius: 14px;
border: 2px solid var(--clr-accent);
box-shadow:
0 0 0 4px rgba(0, 113, 227, 0.35),
0 0 22px 4px rgba(0, 113, 227, 0.55);
box-shadow:
0 0 0 4px color-mix(in srgb, var(--clr-accent) 35%, transparent),
0 0 22px 4px color-mix(in srgb, var(--clr-accent) 55%, transparent);
animation: tourPulse 1.6s ease-in-out infinite;
}
@keyframes tourPulse {
0%,
100% {
box-shadow:
0 0 0 4px color-mix(in srgb, var(--clr-accent) 35%, transparent),
0 0 22px 4px color-mix(in srgb, var(--clr-accent) 55%, transparent);
}
50% {
box-shadow:
0 0 0 7px color-mix(in srgb, var(--clr-accent) 18%, transparent),
0 0 30px 8px color-mix(in srgb, var(--clr-accent) 40%, transparent);
}
}
.tour-tip {
position: absolute;
width: min(320px, calc(100% - 24px));
background: #ffffff;
border-radius: 16px;
padding: 16px 16px 14px;
box-shadow: 0 18px 48px -12px rgba(8, 12, 20, 0.5);
transition:
opacity 0.25s ease,
transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tour-tip.fade {
opacity: 0;
transform: translateY(6px);
}
.tour-tip h3 {
margin: 0 0 4px;
font-size: 15px;
font-weight: 700;
color: #1d1d1f;
display: flex;
align-items: center;
gap: 0.5em;
}
.tour-no {
flex: none;
width: 22px;
height: 22px;
border-radius: 7px;
background: #eef4fb;
background: color-mix(in srgb, var(--clr-accent) 12%, #ffffff);
color: var(--clr-accent);
display: grid;
place-items: center;
font-size: 12px;
font-weight: 700;
}
.tour-tip p {
margin: 0;
color: #6e6e73;
font-size: 13px;
line-height: 1.7;
}
.tour-foot {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-top: 12px;
}
.tour-dots {
display: flex;
gap: 5px;
}
.tour-dots i {
width: 6px;
height: 6px;
border-radius: 50%;
background: #d7dce4;
}
.tour-dots i.on {
width: 16px;
border-radius: 999px;
background: var(--clr-accent);
transition: width 0.25s;
}
.tour-acts {
display: flex;
align-items: center;
gap: 8px;
}
#tourSkip {
border: none;
background: none;
color: #9aa1ad;
font-size: 12.5px;
font-weight: 700;
cursor: pointer;
padding: 0.5em 0.4em;
font-family: inherit;
}
#tourNext {
border: none;
background: var(--clr-accent);
color: #ffffff;
font-size: 13px;
font-weight: 700;
cursor: pointer;
padding: 0.55em 1.3em;
border-radius: 999px;
font-family: inherit;
}
#tourNext:hover {
filter: brightness(1.08);
}
@media (prefers-reduced-motion: reduce) {
.tour-spot {
transition: none;
}
.tour-spot::after {
animation: none;
}
.tour-tip {
transition: none;
}
}