@font-face {
	font-family: 'FloranteatLauraRegular';
	src: url('/fonts/florlrg_-webfont.eot');
	src: url('/fonts/florlrg_-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/florlrg_-webfont.woff') format('woff'),
		url('/fonts/florlrg_-webfont.ttf') format('truetype'),
		url('/fonts/florlrg_-webfont.svg#FloranteatLauraRegular') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'ChanticleerRomanRegular';
	src: url('/fonts/chanticl-webfont.eot');
	src: url('/fonts/chanticl-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/chanticl-webfont.woff') format('woff'),
		url('/fonts/chanticl-webfont.ttf') format('truetype'),
		url('/fonts/chanticl-webfont.svg#ChanticleerRomanRegular') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'DutchInitialsnormal';
	src: url('/fonts/dutch_initials_normal-webfont.eot');
	src: url('/fonts/dutch_initials_normal-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/dutch_initials_normal-webfont.woff') format('woff'),
		url('/fonts/dutch_initials_normal-webfont.ttf') format('truetype'),
		url('/fonts/dutch_initials_normal-webfont.svg#DutchInitialsnormal') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'ImmortalRegular';
	src: url('/fonts/immortal-webfont.eot');
	src: url('/fonts/immortal-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/immortal-webfont.woff') format('woff'),
		url('/fonts/immortal-webfont.ttf') format('truetype'),
		url('/fonts/immortal-webfont.svg#ImmortalRegular') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'Berylium';
	src: url('/fonts/berylium-webfont.eot');
	src: url('/fonts/berylium-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/berylium-webfont.woff') format('woff'),
		url('/fonts/berylium-webfont.ttf') format('truetype'),
		url('/fonts/berylium-webfont.svg#Berylium') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'Caudex';
	src: url('/fonts/caudex-regular-webfont.eot');
	src: url('/fonts/caudex-regular-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/caudex-regular-webfont.woff') format('woff'),
		url('/fonts/caudex-regular-webfont.ttf') format('truetype'),
		url('/fonts/caudex-regular-webfont.svg#Caudex') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'IMFell';
	src: url('/fonts/feenrm28c-webfont.eot');
	src: url('/fonts/feenrm28c-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/feenrm28c-webfont.woff') format('woff'),
		url('/fonts/feenrm28c-webfont.ttf') format('truetype'),
		url('/fonts/feenrm28c-webfont.svg#IMFell') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'Metamorphous';
	src: url('/fonts/metamorphous-regular-webfont.eot');
	src: url('/fonts/metamorphous-regular-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/metamorphous-regular-webfont.woff') format('woff'),
		url('/fonts/metamorphous-regular-webfont.ttf') format('truetype'),
		url('/fonts/metamorphous-regular-webfont.svg#Metamorphous') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'Trykker';
	src: url('/fonts/trykker-regular-webfont.eot');
	src: url('/fonts/trykker-regular-webfont.eot?#iefix') format('embedded-opentype'),
		url('/fonts/trykker-regular-webfont.woff') format('woff'),
		url('/fonts/trykker-regular-webfont.ttf') format('truetype'),
		url('/fonts/trykker-regular-webfont.svg#Trykker') format('svg');
	font-weight: normal;
	font-style: normal;

}


.scroll {
	/* top, right, bottom, left */
	border-width: 54px 67px 67px 81px;
	border-style: solid;
	-webkit-border-image: url('/img/scroll.png') 90 67 112 81 repeat;
	border-image: url('/img/scroll.png') 90 67 112 81 fill repeat;
	/*
	-moz-border-image: url('/img/scroll.png') 90 67 112 81 fill repeat;
	-moz-border-image-slice: fill;
	-webkit-border-image-slice: fill;
	border-image-slice: fill;
	*/
	/*
	*/
}



body {
	/*
    font-family: 'ChanticleerRomanRegular';
    font-family: 'ImmortalRegular';

	 /*
    Caudex -- pleasantly gothic, easy to read
	 DutchInitialsNormal -- initials only
	 FloranteatLauraRegular -- EXTREME calligraphic
    IMFell -- kind of gritty? might be useful
	 ImmortalRegular - kind of wide, a bit hard to read, but cool looking, very "game"

	 ChanticleerRomanRegular - boring and narrow
    Metamorphous -- it's goth looking but not sure I like it.
    Berylium -- WAY too narrow
    Trykker -- too ordinary

    font-family: 'Berylium'; 
    font-family: 'Caudex';
    font-family: 'ChanticleerRomanRegular';
    font-family: 'DutchInitialsnormal';
    font-family: 'FloranteatLauraRegular';
    font-family: 'IMFell';
    font-family: 'ImmortalRegular';
    font-family: 'Metamorphous';
    font-family: 'Trykker';


	 */
	font-family: 'IMFell';
	/*
	background-image: url('/img/whitepaper.jpg');
	*/
	background-image: url('/img/woodgrain.jpg');
	/* only because I just read an article that said not to use black :p */
	color: #080808;
	margin: 0;
	padding: 0;
}

.callig {
	font-family: 'FloranteatLauraRegular';
}

.goth {
	font-family: 'Caudex';
}

.subdued {
	font-family: 'IMFell';
}

.storyfont {
	font-family: 'ChanticleerRomanRegular';
}

.error-page {
	max-width: 600px;
	margin: 60px auto;
	padding: 24px 32px;
	background-color: #ffffff;
	border: 1px solid #999;
	font-family: 'Caudex';
	color: #222222;
}

.error-page h1 {
	font-family: 'Caudex';
	margin-top: 0;
}

.error-page a {
	color: #1B27C4;
}

input {
	font-family: 'ImmortalRegular';
}

textarea {
	font-family: 'ImmortalRegular';
}

button {
	font-family: 'ImmortalRegular';
}

h1 {
	font-family: 'ImmortalRegular';
	margin-top: 18px;
	margin-bottom: 12px;
	font-size: 1.6em;
}

h2 {
	font-family: 'ImmortalRegular';
	margin-top: 12px;
	margin-bottom: 12px;
	font-size: 1.1em;
}

p {
	margin-top: 3px;
	margin-bottom: 3px;
	line-height: 120%;
}

.mb16 {
	margin-bottom: 16px;
}

.mt16 {
	margin-top: 16px;
}

.mb8 {
	margin-bottom: 8px;
}

.mb4 {
	margin-bottom: 4px;
}

.paragraphcontent {
	line-height: 1.2em;
	font-size: 1.2em;
}

.logo {
	font-size: 2.5em;
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 5px;
	padding-bottom: 0px;
	background-image: url('/img/whitepaper.jpg');
	display: inline-block;
	border: 2px solid black;
}

.logo img {
	height: 100px;
	margin-right: 3px;
}

/* nav stuff */

.navouter {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 28px;
	text-align: center;
	pointer-events: none;
	z-index: 2;
}

.navtop {
	pointer-events: auto;
	display: inline-block;
	background-image: url('/img/tile1.jpg');
	height: 28px;
	padding-left: 17px;
	padding-right: 17px;

	border-bottom: 1px solid #333333;
	border-right: 1px solid #333333;
	border-left: 1px solid #333333;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;

	opacity: 0.0;
	/*
	position: fixed;
	background-image: url('/img/tile1.jpg');
	height: 28px;
	left: 0;
	top: 0;
	width: 300px;
	padding-left: 20px;
	padding-right: 20px;
	border-bottom: 1px solid #333333;
	border-right: 1px solid #333333;
	border-left: 1px solid #333333;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	margin-left: -webkit-calc(50% - 150px);
	margin-left: -moz-calc(50% - 150px);
	opacity:0.0;
	text-align: justify;
	z-index: 2;
	*/
}

.navtop:hover {
	opacity: 1.0;
}

.navitem {
	display: inline-block;
	top: 4px;
	font-size: 15px;
	margin-top: 5px;
	margin-left: 3px;
	margin-right: 3px;
	/*
	top: 4px;
	font-size: 15px;
	margin-top: 5px;
	*/
}

#navshim {
	width: 100%;
	position: relative;
	display: inline-block;
	height: 0;
}

.navitem a {}

.alwaysvisible {
	opacity: 1.0;
}

.legal {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

.legalheading {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

.legalheading {
	font-family: Arial, Helvetica, sans-serif;
}

.legalquestion {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

.howto p {
	margin-bottom: 10px;
}

.howto table {
	margin-top: 16px;
	margin-bottom: 16px;
}

.howto table td {
	padding-left: 15px;
	padding-bottom: 10px;
}

.howto table td:first-child {
	padding-left: 10px;
	font-weight: bold;
}

.howto b {
	font-style: italic;
	font-weight: normal;
}

.howto .quote {
	margin-left: 36px;
	margin-right: 36px;
	margin-top: 12px;
	margin-bottom: 12px;
	font-weight: bold;
	font-size: 1.01em;
}

.deletebutton {
	height: 18px;
	width: 18px;
	margin: 2px;
	background-color: #771111;
	border-radius: 50%;
	cursor: pointer;
	display: inline-block;
	vertical-align: middle;
	margin-left: 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cline x1='5.5' y1='5.5' x2='12.5' y2='12.5' stroke='%23eee' stroke-width='2.5' stroke-linecap='round'/%3E%3Cline x1='12.5' y1='5.5' x2='5.5' y2='12.5' stroke='%23eee' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}


.deletelink {
	color: #900;
}

/* Styles a <button> as an inline text link (matches CTA anchors like "Create one now.") */
.textbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: -webkit-link;
	color: LinkText;
	text-decoration: underline;
	cursor: pointer;
}

.textbutton:hover:not(:disabled) {
	text-decoration: underline;
}

.textbutton:disabled {
	color: #888;
	text-decoration: none;
	cursor: default;
}

#dimmer {
	width: 120%;
	height: 10000px;
	background-color: black;
	opacity: 0;
	position: fixed;
	left: 0px;
	top: 0px;
	pointer-events: none;
}

.btt {
	text-align: right;
	margin-right: 30px;
}

.standin {
	margin-top: 12px;
	margin-bottom: 12px;
	margin-left: 56px;
	font-style: italic;
}

table.ambiguity {
	margin-left: 56px;
	font-style: italic;
}

table.ambiguity .left {
	border-right: 2px solid black;
	text-align: right;
	padding-right: 8px;
	padding-top: 4px;
	padding-bottom: 0px;
	padding-left: 15px;
}

table.ambiguity .right {
	text-align: left;
	padding-left: 8px;
	padding-top: 4px;
	padding-bottom: 0px;
	padding-right: 15px;
}

table.ambiguity th {
	border-bottom: 2px solid black;
}

.storycreatetyping {
	margin-left: 36px;
	margin-right: 36px;
	margin-top: 12px;
	margin-bottom: 12px;
	font-weight: bold;
	font-size: 1.05em;
	background-color: white;
	border: 5px solid CornflowerBlue;
	padding: 8px;
}

/* Gender toggle */
.gender-toggle-container {
	margin: 12px 0;
	text-align: center;
}

.gender-toggle {
	display: inline-flex;
	border: 1px solid #999;
	border-radius: 3px;
	overflow: hidden;
}

.gender-toggle-btn {
	padding: 4px 14px;
	border: none;
	background: #f5f5f5;
	cursor: pointer;
	font-size: 0.9em;
}

.gender-toggle-btn.active {
	background: #333;
	color: #fff;
}

.gender-toggle-left {
	border-right: 1px solid #999;
}

.generating-paragraph {
	color: #999;
	font-style: italic;
}

.gen-control {
	float: right;
	padding: 2px 8px;
	font-family: 'Caudex', serif;
	font-size: 0.85em;
	cursor: pointer;
	border: 1px solid #999;
	background: #f5f5f5;
	color: #666;
}

.gen-control:hover {
	background: #e0e0e0;
	border-color: #666;
}

/* Report link */
.report-categories,
.report-followup {
	margin: 16px 0;
}

.report-option {
	display: block;
	margin: 8px 0;
	cursor: pointer;
}

.report-option input {
	margin-right: 8px;
}

.report-followup {
	margin-left: 20px;
}

.report-details {
	margin: 16px 0;
}

.report-details textarea {
	width: 100%;
	max-width: 500px;
	padding: 6px;
	font-size: 1em;
}

.report-submit {
	padding: 6px 20px;
	font-size: 1em;
	cursor: pointer;
}

.report-submit:disabled {
	opacity: 0.5;
	cursor: default;
}

.report-error {
	color: #c00;
}

/* Admin page */
.admin-filters {
	margin-bottom: 16px;
}

.admin-filter-btn {
	margin-right: 8px;
	padding: 4px 12px;
	cursor: pointer;
	border: 1px solid #999;
	background: #f5f5f5;
}

.admin-filter-btn.active {
	background: #333;
	color: #fff;
	border-color: #333;
}

.admin-report {
	border: 1px solid #ccc;
	padding: 12px;
	margin-bottom: 12px;
	background: #fafafa;
}

.admin-report-header {
	margin-bottom: 6px;
}

.admin-report-type {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.8em;
	background: #eee;
	padding: 2px 6px;
	margin-right: 8px;
}

.admin-report-meta {
	font-size: 0.85em;
	color: #666;
}

.admin-report-reason {
	font-size: 0.9em;
	color: #555;
	margin-bottom: 6px;
}

.admin-report-snapshot {
	background: #fff;
	border: 1px solid #ddd;
	padding: 8px;
	margin: 6px 0;
	font-size: 0.9em;
	max-height: 200px;
	overflow-y: auto;
}

.admin-report-note {
	font-size: 0.85em;
	color: #666;
	font-style: italic;
}

.admin-report-actions {
	margin-top: 8px;
}

.admin-report-actions button {
	margin-right: 8px;
	padding: 4px 10px;
	cursor: pointer;
}

.admin-ban-btn {
	background: #c00;
	color: #fff;
	border: 1px solid #900;
}

/* Reusable modal dialog — parchment styling matching the map location popup. */
.dialog-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.dialog {
	background-image: url('/img/whitepaper.jpg');
	background-size: cover;
	border: 2px solid black;
	color: #000;
	font-family: 'IMFell', serif;
	font-size: 1.1em;
	max-width: 520px;
	width: 90%;
	padding: 16px 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dialog-title {
	font-family: 'ImmortalRegular', serif;
	font-size: 1.6em;
	margin: 0 0 8px;
}

.dialog-body ul {
	margin: 12px 0;
	padding-left: 20px;
}

.dialog-body li {
	margin-bottom: 8px;
}

.dialog-actions {
	margin-top: 16px;
	display: flex;
	gap: 8px;
}