.sheet,
.sticky,
.polaroid,
.slip,
.tape-label,
.stamp {
    transform: rotate(var(--tilt, 0deg));
}

.sheet {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: var(--sheet-pad);
    background: var(--paper);
    box-shadow: var(--sheet-shadow);
}

.sheet-white {
    background: var(--paper-white);
}

.sticky {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: var(--sticky-pad);
    box-shadow: var(--sticky-shadow);
}

.sticky-yellow {
    background: var(--yellow);
}

.sticky-pink {
    background: var(--pink);
}

.sticky-blue {
    background: var(--blue);
}

.sticky-yellow .sticky-meta,
.sticky-yellow .ink-soft {
    color: var(--yellow-ink);
}

.sticky-pink .sticky-meta,
.sticky-pink .ink-soft {
    color: var(--pink-ink);
}

.sticky-blue .sticky-meta,
.sticky-blue .ink-soft {
    color: var(--blue-ink);
}

.taped::before,
.taped-2::before,
.taped-2::after {
    content: '';
    position: absolute;
    top: calc(-1 * var(--tape-overlap));
    width: var(--tape-width);
    height: var(--tape-height);
    background: var(--tape);
}

.taped::before {
    left: calc(50% - var(--tape-width) / 2);
    transform: rotate(-3deg);
}

.taped-2::before {
    left: calc(-1 * var(--tape-overlap));
    transform: rotate(-8deg);
}

.taped-2::after {
    right: calc(-1 * var(--tape-overlap));
    transform: rotate(7deg);
}

.pinned::before,
.pinned::after {
    content: '';
    position: absolute;
    left: calc(50% - var(--pin-size) / 2);
    top: calc(-1 * var(--pin-overlap));
    width: var(--pin-size);
    height: var(--pin-size);
    border-radius: 50%;
}

.pinned::before {
    background: var(--red);
    box-shadow: var(--pin-shadow);
}

.pinned::after {
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.75) 0 3px, transparent 3.5px);
}

.tape-label {
    display: inline-grid;
    place-items: center;
    width: var(--tape-width);
    height: var(--tape-height);
    font-family: var(--mono);
    font-size: var(--mono-size);
    color: var(--ink);
    background: var(--tape);
}

.polaroid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 10px 12px;
    background: var(--photo-mat);
    box-shadow: var(--sticky-shadow);
}

.polaroid img {
    width: var(--polaroid-photo);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.polaroid figcaption {
    font-family: var(--hand);
    font-size: 22px;
    line-height: 24px;
    font-weight: 700;
    text-align: center;
}

.polaroids {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 6px 4px;
}

.stamp {
    display: inline-block;
    padding: 4px 16px;
    border: 3px solid var(--red);
    border-radius: 10px;
    font-family: var(--hand);
    font-size: 30px;
    line-height: 34px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--button-height);
    padding: 0 28px;
    border: 0;
    border-radius: 10px;
    font: 600 17px/22px var(--text);
    color: var(--white);
    text-decoration: none;
    background: var(--ink);
    cursor: pointer;
}

.btn-sm {
    height: var(--button-sm-height);
    padding: 0 20px;
    font-size: 15px;
    line-height: 20px;
}

.btn-wide {
    width: 100%;
}

.btn:disabled {
    background: var(--disabled);
    cursor: not-allowed;
}

.pen-underline {
    background: no-repeat left bottom / 100% 0.14em linear-gradient(var(--red), var(--red));
    padding-bottom: 0.04em;
}

.signature {
    font-size: 32px;
    line-height: 36px;
}

.answer-text {
    font-size: 18px;
    line-height: 27px;
    color: var(--ink);
}

.slip {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    background: var(--slip);
    box-shadow: var(--sticky-shadow);
}

.sign-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sign-line {
    display: flex;
    flex: 1;
    align-items: flex-end;
    gap: 8px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
}

.sign-line::after {
    content: '';
    flex: 1;
    max-width: 120px;
    height: 2px;
    margin-bottom: 4px;
    background: var(--ink-soft);
}

.checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink);
}

.checks li::before {
    content: '';
    flex: none;
    width: 22px;
    height: 14px;
    margin-top: 4px;
    border-left: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
    transform: rotate(-45deg) translate(2px, -2px);
}

.ink-icon {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.box {
    flex: none;
    width: 24px;
    height: 24px;
    border: 2.5px solid var(--ink);
    border-radius: 4px;
}

.mascot-peek {
    position: absolute;
    right: 0;
    top: calc(-1 * var(--mascot-visible));
    width: var(--mascot-width);
}

.logo {
    object-fit: cover;
}
