Search TMDB to pull movie or show info
HTML
CSS
/* Requires the Font Awesome kit script on the host page for the trailer/IMDb/Letterboxd icons. */
/* Inherits font-family from the host page — no font declarations here on purpose. */
.am-ticket {
--am-pad: 16px;
--am-poster-w: 164px;
--am-poster-h-mobile: 480px;
--am-bg: #000;
--am-fg: #fff;
--am-muted: 0.6;
--am-divider: rgba(255, 255, 255, 0.18);
display: flex;
align-items: stretch;
gap: var(--am-pad);
padding: var(--am-pad);
width: 100%;
background: var(--am-bg);
color: var(--am-fg);
box-sizing: border-box;
position: relative;
}
.am-ticket * {
box-sizing: border-box;
}
.am-ticket__notch--top, .am-ticket__notch--bottom {
position: absolute;
pointer-events: none;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.am-ticket__notch--top::before {
content: '';
position: absolute;
top: -12px;
left: -12px;
width: 24px;
height: 24px;
display: block;
background: white;
border-radius: 50%;
}
.am-ticket__notch--top::after {
content: '';
position: absolute;
top: -12px;
right: -12px;
width: 24px;
height: 24px;
display: block;
background: white;
border-radius: 50%;
}
.am-ticket__notch--bottom::before {
content: '';
position: absolute;
bottom: -12px;
left: -12px;
width: 24px;
height: 24px;
display: block;
background: white;
border-radius: 50%;
}
.am-ticket__notch--bottom::after {
content: '';
position: absolute;
bottom: -12px;
right: -12px;
width: 24px;
height: 24px;
display: block;
background: white;
border-radius: 50%;
}
.am-ticket__poster {
flex: 0 0 var(--am-poster-w);
width: var(--am-poster-w);
overflow: hidden;
background: #1a1a1a;
aspect-ratio: auto;
}
.am-ticket__poster img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.am-ticket__poster-fallback {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
aspect-ratio: 288 / 431;
}
.am-ticket__poster-fallback svg {
font-size: 56px;
color: rgba(255, 255, 255, 0.25);
}
.am-ticket__divider {
width: 1px; /* Thickness of your vertical line */
height: auto;
margin-top: -16px;
margin-bottom: -16px;
position: relative;
/* Creates a vertical repeating pattern */
background-image: linear-gradient(to bottom, #fff 60%, rgba(255,255,255,0) 0%);
background-position: left;
background-size: 100% 24px; /* 15px controls the total tile loop (dash + gap) */
background-repeat: repeat-y;
}
.am-ticket__divider::before {
content: '';
position: absolute;
top: -12px;
left: -12px;
width: 24px;
height: 24px;
display: block;
background: white;
border-radius: 50%;
}
.am-ticket__divider::after {
content: '';
position: absolute;
bottom: -12px;
left: -12px;
width: 24px;
height: 24px;
display: block;
background: white;
border-radius: 50%;
}
.am-ticket__block {
padding-bottom: 4px;
}
.am-ticket__content {
flex: 1 1 auto;
min-width: 0;
display: flex;
flex-direction: column;
justify-content: center;
gap: 16px;
padding: 4px 0;
position: relative;
}
.am-ticket__label {
margin: 0;
opacity: var(--am-muted) !important;
text-align: center;
}
.am-ticket__label small {
text-transform: uppercase !important;
color: var(--am-fg);
}
.am-ticket__value {
margin: 0;
font-weight: 600;
text-align: center;
}
.am-ticket__rule {
height: 1px;
background: var(--am-divider);
flex-shrink: 0;
}
.am-ticket__stats {
display: flex;
}
.am-ticket__stat {
flex: 1;
min-width: 0;
padding: 0 8px;
position: relative;
}
.am-ticket__stat + .am-ticket__stat::before {
content: "";
position: absolute;
left: 0;
top: 2px;
bottom: 2px;
width: 1px;
background: var(--am-divider);
}
.am-ticket__links {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
flex-shrink: 0;
padding-top: 4px;
padding-left: 20px;
padding-right: 20px;
}
.am-ticket__link-list {
display: flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}
.am-ticket__links_attribution {
font-size: 12px;
text-align: right;
opacity: 0.6;
line-height: 150%;
}
.am-ticket__link {
color: var(--am-fg) !important;
font-size: 32px;
opacity: var(--am-muted);
text-decoration: none;
line-height: 1;
}
.am-ticket__link:hover {
opacity: 1;
}
.am-ticket__link--disabled {
opacity: 0.3;
cursor: default;
}
.am-ticket__link svg {
display: block;
height: 28px;
width: auto;
}
.am-ticket__label--mobile {
display: none;
}
.am-ticket__footer {
display: flex;
justify-content: space-between;
align-items: center;
}
@media (max-width: 600px) {
.am-ticket {
flex-direction: column;
}
.am-ticket__poster {
flex-basis: auto;
width: 100%;
height: auto;
aspect-ratio: 288 / 431;
margin-bottom: 16px;
}
.am-ticket__divider {
/* Set your element height, width, padding, etc. */
height: 1px;
width: auto;
margin-left: -16px;
margin-right: -16px;
position: relative;
/* Create the horizontal dash pattern */
background-image: linear-gradient(to right, #FFF 60%, rgba(255, 255, 255, 0) 0%);
background-position: bottom;
background-size: 24px 1px; /* Control dash frequency and height here */
background-repeat: repeat-x;
}
.am-ticket__divider::before {
content: '';
position: absolute;
top: -12px;
left: -12px;
width: 24px;
bottom: inherit;
right: inherit;
height: 24px;
display: block;
background: white;
border-radius: 50%;
}
.am-ticket__divider::after {
content: '';
position: absolute;
top: -12px;
right: -12px;
bottom: inherit;
left: inherit;
width: 24px;
height: 24px;
display: block;
background: white;
border-radius: 50%;
}
.am-ticket__content {
padding-top: 16px;
padding-bottom: 16px;
}
.am-ticket__label--desktop {
display: none;
}
.am-ticket__label--mobile {
display: block;
}
.am-ticket__links {
flex-direction: column;
}
}
Search
Colors
You must select a movie.
You must select a movie.